perl-common-sense-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: perl-common-sense
  2. Summary: "Common sense" Perl defaults
  3. Version: 3.74
  4. Release: 1%{?_dist_release}
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz
  8. URL: http://search.cpan.org/dist/common-sense
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  13. # Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
  14. Obsoletes: %{name}-tests < %{version}-%{release}
  15. Provides: %{name}-tests = %{version}-%{release}
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. This module implements some sane defaults for Perl programs, as defined
  20. by two typical (or not so typical - use your common sense) specimens of
  21. Perl coders:
  22. use strict qw(vars subs);
  23. use feature qw(say state switch);
  24. no warnings;
  25. %prep
  26. %setup -q -n common-sense-%{version}
  27. %build
  28. perl Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install DESTDIR=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  34. find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
  35. %{_fixperms} %{buildroot}
  36. mv -f %{buildroot}%{perl_vendorarch}/* %{buildroot}%{perl_vendorlib}/
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc LICENSE Changes README t/
  44. %{perl_vendorlib}/common/
  45. %{_mandir}/man3/common::sense.3pm*
  46. %changelog
  47. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.74-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 3.4-2
  51. - build with Perl 5.16
  52. * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.4-1
  53. - initial build for Vine Linux
  54. * Sat Jan 21 2012 Paul Howarth <paul@city-fan.org> - 3.4-5
  55. - Obsolete/provide old -tests subpackage to support upgrades
  56. * Thu Jan 19 2012 Paul Howarth <paul@city-fan.org> - 3.4-4
  57. - Reinstate compatibility with older distributions like EL-5
  58. - Drop -tests subpackage (general lack of interest in this), but include
  59. them as documentation for the main package
  60. - Don't use macros for commands
  61. - Make %%files list more explicit
  62. - Use tabs
  63. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-3
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  65. * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.4-2
  66. - Perl mass rebuild
  67. * Sat May 07 2011 Iain Arnell <iarnell@gmail.com> - 3.4-1
  68. - Update to latest upstream version
  69. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  71. * Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 3.3-1
  72. - Update to latest upstream version
  73. - Clean up spec for modern rpmbuild
  74. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.0-3
  75. - Rebuild to fix problems with vendorarch/lib (#661697)
  76. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 3.0-2
  77. - Mass rebuild with perl-5.12.0
  78. * Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> - 3.0-1
  79. - Update by Fedora::App::MaintainerTools 0.006
  80. - PERL_INSTALL_ROOT => DESTDIR
  81. - Updating to latest GA CPAN version (3.0)
  82. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.0-3
  83. - Rebuild against perl 5.10.1
  84. * Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.0-2
  85. - Update summary (though now we deviate from upstream)
  86. * Mon Aug 31 2009 Chris Weyl <cweyl@alumni.drew.edu> - 1.0-1
  87. - Auto-update to 1.0 (by cpan-spec-update 0.01)
  88. * Fri Aug 21 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.04-0
  89. - Initial RPM packaging
  90. - Generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)