%define module Module-Install %define name perl-%{module} %define version 0.64 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Standalone, extensible Perl module installer License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Module/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif BuildRequires: perl(Module::ScanDeps) BuildRequires: perl(Module::CoreList) BuildRequires: perl(PAR::Dist) BuildRequires: perl(Archive::Tar) BuildRequires: perl(ExtUtils::ParseXS) BuildRequires: perl(YAML) BuildRequires: perl(Module::Build) BuildRequires: perl(File::Spec) BuildRequires: perl(Test::Harness) >= 2.03 BuildRequires: perl(Test::More) >= 0.42 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This module provides a drop-in replacement for ExtUtils::MakeMaker. For first-time users, Brian Ingerson's Creating Module Distributions with Module::Install in June 2003 issue of The Perl Journal (http://www.tpj.com/issues/) provides a gentle introduction to how this module works. %prep %setup -q -n %{module}-%{version} %build chmod 644 Changes find lib -type f | xargs chmod 644 %{__perl} Makefile.PL INSTALLDIRS=vendor <<FOO n FOO %make %check %__make test %install %{__rm} -rf %{buildroot} %makeinstall_std %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/Module %{perl_vendorlib}/inc/Module %{_mandir}/man3/* %changelog * Tue Sep 26 2006 Scott Karns <scottk@mandriva.org> 0.64-1mdv2007.0 - New version 0.64 * Fri Jun 16 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.63-1mdv2007.0 - New version 0.63 * Fri May 05 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.62-1mdk - New release 0.62 * Mon Apr 03 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.61-1mdk - 0.61 - rpmbuildupdate aware - drop patch, merged upstream * Sun Mar 12 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.60-1mdk - 0.60 * Tue Mar 07 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.59-1mdk - 0.59 * Thu Mar 02 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.57-1mdk - 0.57 * Mon Feb 13 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.56-1mdk - 0.56 * Tue Jan 31 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.55-1mdk - 0.55 - Rediff patch 0 - Fix perms * Fri Jan 13 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.54-1mdk - 0.54 * Tue Jan 10 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.52-1mdk - 0.52 * Thu Dec 29 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.50-1mdk - 0.50 * Fri Dec 16 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.45-1mdk - 0.45 * Tue Dec 13 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.43-1mdk - 0.43 * Mon Dec 12 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.42-1mdk - 0.42 * Wed Dec 07 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.40-1mdk - 0.40 - don't try to install CPANPLUS (patch 0) * Fri Dec 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.39-1mdk - Initial MDV package