%define name perl-MIME-Types %define realname MIME-Types %define version 1.001 %define release 1mdk Name: %{name} Summary: MIME Types module for perl Version: %{version} Release: %{release} License: GPL Group: Development/Perl URL: http://www.cpan.org Source: %{realname}-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-buildroot BuildPreReq: perl Buildarch: noarch %description MIME type module %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 make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{perl_vendorlib}/MIME/* %{_mandir}/*/* %changelog * Tue Jul 30 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.001-1mdk - 1.001 * Fri Mar 01 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.16-1mdk - 0.16 * Fri Jan 18 2002 François Pons <fpons@mandrakesoft.com> 0.14-1mdk - changed %%doc to use README and Changes instead of MANIFEST. - 0.14. * Thu Aug 23 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.06-1mdk - updated to 0.06 * Wed Jan 24 2001 David BAUDENS <baudens@mandrakesoft.com> 0.02-3mdk - Allow build on non %%ix86 architectures - Fix %%doc * Tue Sep 12 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.02-2mdk - fix files section * Tue Sep 12 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.02-1mdk - new in contribs