%define name perl-WebFetch %define realname WebFetch %define version 0.10 %define release 4mdk Name: %{name} Summary: Perl module to download and save information from the Web Version: %{version} Release: %{release} License: GPL Group: Development/Perl URL: http://www.cpan.org Source: %{realname}-%{version}.tar.bz2 Requires: perl-Locale-Codes >= 1.02, perl-Date-Calc >= 4.3, perl-XML-Parser >= 2.29 Buildroot: %{_tmppath}/%{name}-buildroot Buildarch: noarch %description WebFetch is a Perl module to download and save information from the Web, and to display on the Web. It will download from sites such as CNet, CNN, Freshmeat, Slashdot, LinuxToday, Yahoo, and more. It can even export your site's news for other sites to include in their web pages. %prep -q rm -rf $RPM_BUILD_ROOT %setup -n %{realname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install rm -rf $RPM_BUILD_ROOT make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes MANIFEST TODO README %{perl_vendorlib}/WebFetch* %{perl_vendorlib}/auto/WebFetch %_mandir/*/* %changelog * Wed Aug 08 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.10-4mdk - rebuild * Thu Aug 23 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.10-3mdk - rebuild * Tue Sep 12 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.10-2mdk - macros * Tue Jun 13 2000 Vincent Danen <vdanen@linux-mandrake.com> 0.10-1mdk - initial specfile - bzip sources