diff --git a/.cvsignore b/.cvsignore index e69de29..6bb0d8b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Module-ScanDeps-0.59.tar.gz diff --git a/perl-Module-ScanDeps.spec b/perl-Module-ScanDeps.spec new file mode 100644 index 0000000..a9ed75c --- /dev/null +++ b/perl-Module-ScanDeps.spec @@ -0,0 +1,73 @@ +Name: perl-Module-ScanDeps +Version: 0.59 +Release: 1%{?dist} +Summary: Recursively scan Perl code for dependencies + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Module-ScanDeps/ +Source0: http://www.cpan.org/authors/id/A/AU/AUTRIJUS/Module-ScanDeps-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +An application of Module::ScanDeps is to generate executables from scripts +that contains necessary modules; this module supports two such projects, +PAR and App::Packer. Please see their respective documentations on CPAN +for further information. + + +%prep +%setup -q -n Module-ScanDeps-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS Changes README +%{_bindir}/* +%{perl_vendorlib}/Module/ +%{_mandir}/man1/*.1* +%{_mandir}/man3/*.3pm* + + +%changelog +* Wed May 3 2006 Jose Pedro Oliveira - 0.59-1 +- Update to 0.59. + +* Thu Mar 16 2006 Jose Pedro Oliveira - 0.57-1 +- Update to 0.57. + +* Tue Feb 28 2006 Jose Pedro Oliveira - 0.56-1 +- Update to 0.56. + +* Tue Jan 10 2006 Jose Pedro Oliveira - 0.53-1 +- Update to 0.53. + +* Fri Sep 9 2005 Jose Pedro Oliveira - 0.51-1 +- Update to Fedora Extras Template. + +* Sat Jan 08 2005 Jose Pedro Oliveira - 0:0.51-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..7842daa 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6e20e368ff101d8bc8f31eaa2d81c264 Module-ScanDeps-0.59.tar.gz