perl-ExtUtils-AutoInstall-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Name: perl-ExtUtils-AutoInstall
  2. Version: 0.63
  3. Release: 2%{?_dist_release}
  4. Summary: Automatic install of dependencies via CPAN
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/ExtUtils-AutoInstall/
  8. Source: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz
  9. Patch0: eai.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  11. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  12. BuildArch: noarch
  13. BuildRequires: perl(CPANPLUS) >= 0.043
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Sort::Versions) >= 1.2
  16. BuildRequires: perl(LWP::Simple)
  17. BuildRequires: perl(CPAN)
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. ExtUtils::AutoInstall lets module writers specify a more sophisticated
  22. form of dependency information than the PREREQ_PM option offered by
  23. ExtUtils::MakeMaker.
  24. %prep
  25. %setup -q -n ExtUtils-AutoInstall-%{version}
  26. %patch0 -p1
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor --defaultdeps
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  34. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w %{buildroot}/*
  36. %clean
  37. rm -rf %{buildroot}
  38. %check
  39. make test
  40. %files
  41. %defattr(-,root,root,-)
  42. # For license text(s), see the perl package
  43. %doc Changes AUTHORS README TODO META.yml SIGNATURE
  44. %{perl_vendorlib}/ExtUtils
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.63-2
  48. - spec overhauled
  49. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 0.63-1
  50. - build with perl 5.12.3
  51. - apply new versioning policy
  52. * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.63-0vl1
  53. - new upstream release
  54. - changed Group to Development/Libraries
  55. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.61-0vl1
  56. - new upstream release
  57. - build on perl-5.8.6-0vl1
  58. * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.52-0vl1
  59. - first build for Vine Linux