perl-Module-Runtime-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # This file is licensed under the terms of GNU GPLv2+.
  2. Name: perl-Module-Runtime
  3. Version: 0.013
  4. Release: 1%{?_dist_release}
  5. Summary: Runtime module handling
  6. License: GPL+ or Artistic
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Module-Runtime/
  9. Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz
  10. BuildArch: noarch
  11. BuildRequires: perl(Module::Build)
  12. # Tests:
  13. BuildRequires: perl(Test::More)
  14. # Optional tests:
  15. BuildRequires: perl(Test::Pod) >= 1.00
  16. BuildRequires: perl(Test::Pod::Coverage)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. %description
  19. The functions exported by this module deal with runtime handling of Perl
  20. modules, which are normally handled at compile time.
  21. %prep
  22. %setup -q -n Module-Runtime-%{version}
  23. %build
  24. %{__perl} Build.PL installdirs=vendor
  25. ./Build
  26. %install
  27. rm -rf %{buildroot}
  28. ./Build install destdir=%{buildroot} create_packlist=0
  29. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  30. %{_fixperms} %{buildroot}/*
  31. %check
  32. ./Build test
  33. %clean
  34. rm -rf %{buildroot}
  35. %files
  36. %doc Changes README
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.013-1
  41. - initial build for Vine Linux
  42. * Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 0.013-1
  43. - 0.013 bump
  44. * Mon Feb 13 2012 Petr Pisar <ppisar@redhat.com> - 0.012-1
  45. - 0.012 bump
  46. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  48. * Tue Oct 25 2011 Petr Pisar <ppisar@redhat.com> - 0.011-1
  49. - 0.011 bump
  50. * Fri Oct 07 2011 Petr Pisar <ppisar@redhat.com> - 0.010-1
  51. - 0.010 bump
  52. * Wed Oct 05 2011 Petr Pisar <ppisar@redhat.com> - 0.009-1
  53. - 0.009 bump
  54. - Remove defattr now
  55. * Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.008-2
  56. - Perl mass rebuild
  57. * Mon Jul 11 2011 Petr Pisar <ppisar@redhat.com> 0.008-1
  58. - Specfile autogenerated by cpanspec 1.78.
  59. - Remove BuildRoot and defattr