perl-ExtUtils-CChecker-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Name: perl-ExtUtils-CChecker
  2. Version: 0.04
  3. Release: 2%{?_dist_release}
  4. Summary: Configure-time utilities for using C headers, libraries, or OS features
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/ExtUtils-CChecker/
  8. Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/ExtUtils-CChecker-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::CBuilder)
  12. BuildRequires: perl(Module::Build)
  13. BuildRequires: perl(Test::Exception)
  14. BuildRequires: perl(Test::More)
  15. BuildRequires: perl(Test::Pod) >= 1.00
  16. Requires: perl(ExtUtils::CBuilder)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. %description
  19. Often Perl modules are written to wrap functionality found in existing C
  20. headers, libraries, or to use OS-specific features. It is useful in the
  21. Build.PL or Makefile.PL file to check for the existence of these
  22. requirements before attempting to actually build the module.
  23. %prep
  24. %setup -q -n ExtUtils-CChecker-%{version}
  25. %build
  26. %{__perl} Build.PL installdirs=vendor
  27. ./Build
  28. %install
  29. rm -rf %{buildroot}
  30. ./Build install destdir=%{buildroot} create_packlist=0
  31. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  32. %{_fixperms} %{buildroot}/*
  33. %check
  34. ./Build test
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc Changes LICENSE README
  40. %{perl_vendorlib}/*
  41. %{_mandir}/man3/*
  42. %changelog
  43. * Mon Jun 30 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 0.04-2
  44. - build with Perl 5.16
  45. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
  46. - initial build for Vine Linux
  47. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-5
  48. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  49. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-4
  50. - Perl mass rebuild
  51. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  53. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-2
  54. - 661697 rebuild for fixing problems with vendorach/lib
  55. * Sun Aug 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.04-1
  56. - Update to 0.04
  57. * Tue Jun 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.03-2
  58. - rebuilt for perl
  59. * Mon Apr 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.03-1
  60. - Specfile autogenerated by cpanspec 1.78.