perl-ExtUtils-AutoInstall-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: perl-ExtUtils-AutoInstall
  2. Version: 0.63
  3. Release: 3%{?_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}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(CPANPLUS) >= 0.043
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(Sort::Versions) >= 1.2
  15. BuildRequires: perl(LWP::Simple)
  16. BuildRequires: perl(CPAN)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  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. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.63-3
  48. - rebuilt with perl 5.16.3
  49. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.63-2
  50. - spec overhauled
  51. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 0.63-1
  52. - build with perl 5.12.3
  53. - apply new versioning policy
  54. * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.63-0vl1
  55. - new upstream release
  56. - changed Group to Development/Libraries
  57. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.61-0vl1
  58. - new upstream release
  59. - build on perl-5.8.6-0vl1
  60. * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.52-0vl1
  61. - first build for Vine Linux