%define module Test-Simple %define version 0.47 %define release 2mdk %define pdir Test Summary: %{module} module for perl Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://search.cpan.org/search?dist=%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot Requires: perl , perl-base BuildRequires: perl-devel %description %{module} module for perl. Test::Simple provides basic utilities for writing tests, by Michael G Schwern <schwern@pobox.com>. %prep %setup -q -n %{module}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %install rm -rf $RPM_BUILD_ROOT make PREFIX=$RPM_BUILD_ROOT%{_prefix} install ################################################################## # obeying new rpm policy, using the "rm" workaround # # these conflicts with man-pages rm -rf %{buildroot}%{_mandir} ################################################################## %clean rm -rf $RPM_BUILD_ROOT %files %defattr(444,root,root,755) %doc Changes README %{perl_vendorlib}/Test/* #%{_mandir}/*/* %changelog * Sat Feb 01 2003 Lenny Cartier <lenny@mandrakesoft.com 0.47-2mdk - rebuild * Tue Nov 19 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.47-1mdk - new version - obeying new rpm policy, using the "rm" workaround * Wed Aug 21 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.46-2mdk - remove conflicting files * Wed Jul 31 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.46-1mdk - 0.46 * Mon Jun 17 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.44-1mdk - from Peter Chen <petechen@netilla.com> : - 0.44