source: projects/specs/trunk/p/perl-common-sense/perl-common-sense-vl.spec @ 8641

Revision 8641, 3.5 KB checked in by iwaim, 10 years ago (diff)

perl-common-sense 3.4-2

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