perl-ExtUtils-AutoInstall-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Summary: Automatic install of dependencies via CPAN
  2. Name: perl-ExtUtils-AutoInstall
  3. Version: 0.63
  4. Release: 0vl1
  5. License: Artistic
  6. Group: Development/Libraries
  7. Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/ExtUtils-AutoInstall-%{version}.tar.gz
  8. URL: http://www.cpan.org/dist/ExtUtils-AutoInstall/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl >= 5.8.0, perl-version >= 0.28
  11. Requires: perl >= 5.8.0, perl-version >= 0.28
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. BuildArch: noarch
  15. %description
  16. This is the README file for ExtUtils::AutoInstall, a module to
  17. let Makefile.PL automatically install dependencies via CPAN or
  18. CPANPLUS.
  19. %prep
  20. %setup -q -n ExtUtils-AutoInstall-%{version}
  21. %build
  22. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor << _OPT_
  23. n
  24. _OPT_
  25. make
  26. %install
  27. rm -rf %{buildroot}
  28. mkdir -p %{buildroot}%{_prefix}
  29. make DESTDIR=%{buildroot} install
  30. rm -f %{buildroot}%{perl_vendorarch}/perllocal.pod
  31. rm -f %{buildroot}%{perl_vendorarch}/auto/ExtUtils/AutoInstall/.packlist
  32. find %{buildroot}%{_prefix} -type f -print |
  33. sed "s@^%{buildroot}@@g" |
  34. grep -v perllocal.pod |
  35. grep -v ^%{_mandir} > %{name}.files
  36. if [ "$(cat %{name}.files)X" = "X" ] ; then
  37. echo "ERROR: EMPTY FILE LIST"
  38. exit -1
  39. fi
  40. perllocalfile=`find %{buildroot} -name perllocal.pod`
  41. echo "mv $perllocalfile ."
  42. mv $perllocalfile .
  43. %clean
  44. rm -rf %{buildroot}
  45. %check
  46. make test
  47. %files -f %{name}.files
  48. %defattr(-,root,root)
  49. %doc AUTHORS Changes META.yml README SIGNATURE TODO perllocal.pod
  50. %{_mandir}/*/*
  51. %dir %{perl_vendorlib}/ExtUtils
  52. %changelog
  53. * Fri Feb 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.63-0vl1
  54. - new upstream release
  55. - changed Group to Development/Libraries
  56. * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.61-0vl1
  57. - new upstream release
  58. - build on perl-5.8.6-0vl1
  59. * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.52-0vl1
  60. - first build for Vine Linux