source: projects/specs/trunk/p/perl-Package-Stash-XS/perl-Package-Stash-XS-vl.spec @ 5844

Revision 5844, 4.2 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Package-Stash-XS
2Version:        0.25
3Release:        1%{?_dist_release}
4Summary:        Faster and more correct implementation of the Package::Stash API
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/Package-Stash-XS/
8Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Package-Stash-XS-%{version}.tar.gz
9Patch0:         Package-Stash-XS-0.23-old-eumm.patch
10Patch1:         Package-Stash-XS-0.24-old-Test::More.patch
11Patch2:         Package-Stash-XS-0.24-no-Test::LeakTrace.patch
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
13BuildRequires:  perl >= 2:5.8.1
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(Pod::Coverage::TrustPod)
16BuildRequires:  perl(Test::EOL)
17BuildRequires:  perl(Test::Fatal)
18BuildRequires:  perl(Test::More)
19BuildRequires:  perl(Test::NoTabs)
20BuildRequires:  perl(Test::Pod)
21BuildRequires:  perl(Test::Pod::Coverage)
22BuildRequires:  perl(Test::LeakTrace) >= 0.11
23Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
24
25# Don't "provide" private Perl libs
26%{?perl_default_filter}
27
28%description
29This is a back-end for Package::Stash, which provides the functionality in a
30way that's less buggy and much faster. It will be used by default if it's
31installed, and should be preferred in all environments with a compiler.
32
33%prep
34%setup -q -n Package-Stash-XS-%{version}
35
36%build
37perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
38make %{?_smp_mflags}
39
40%install
41rm -rf %{buildroot}
42make pure_install DESTDIR=%{buildroot}
43find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
44find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
45find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
46%{_fixperms} %{buildroot}
47
48%check
49make test AUTHOR_TESTING=1 RELEASE_TESTING=1
50
51%clean
52rm -rf %{buildroot}
53
54%files
55%defattr(-,root,root,-)
56%doc Changes LICENSE README
57%{perl_vendorarch}/auto/Package/
58%{perl_vendorarch}/Package/
59%{_mandir}/man3/Package::Stash::XS.3pm*
60
61%changelog
62* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.25-1
63- initial build for Vine Linux
64
65* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 0.25-2
66- Use %%{_fixperms} macro instead of our own chmod incantation
67
68* Tue Sep  6 2011 Paul Howarth <paul@city-fan.org> - 0.25-1
69- Update to 0.25
70  - Invalid package names (for instance, Foo:Bar) are not allowed
71  - Invalid stash entry names (anything containing ::) are not allowed
72- Update patches to apply cleanly
73
74* Tue Aug  9 2011 Paul Howarth <paul@city-fan.org> - 0.23-1
75- Update to 0.23
76  - Fix the test for scalar values, again
77  - Disallow assigning globrefs to scalar glob slots (this doesn't actually
78    make any sense)
79- Update patches for old ExtUtils::MakeMaker and Test::More versions
80- perl(Pod::Coverage::TrustPod) now available in EPEL-4 too
81- Don't use macros for commands
82
83* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.22-2
84- Perl mass rebuild
85
86* Sat Mar  5 2011 Paul Howarth <paul@city-fan.org> - 0.22-1
87- Update to 0.22
88  - Make the namespace cache lazy and weak, in case the stash is deleted
89  - However, this doesn't work on 5.8, so disable the namespace caching
90    entirely there
91- Update patches to apply cleanly
92
93* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
94- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
95
96* Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 0.21-1
97- Update to 0.21
98  - Make the leak tests author-only, since some smokers run release tests
99  - Fix some XS forward compat stuff
100- Update patches to apply cleanly
101
102* Wed Jan 12 2011 Paul Howarth <paul@city-fan.org> - 0.20-1
103- Update to 0.20
104  - Lower perl prereq to 5.8.1
105  - Make the leak tests release-only
106- Update patches to apply cleanly
107- Drop no-Test::Requires patch, no longer needed
108- Drop buildreq perl(Test::Requires), no longer needed
109- Add patch to skip memory leak tests if we don't have Test::LeakTrace
110
111* Thu Jan  6 2011 Paul Howarth <paul@city-fan.org> - 0.19-1
112- Update to 0.19 (more correct validity test for scalars)
113- Update patch for old Test::More versions
114
115* Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-2
116- Sanitize spec for Fedora submission
117
118* Wed Nov 17 2010 Paul Howarth <paul@city-fan.org> - 0.17-1
119- Initial RPM build
Note: See TracBrowser for help on using the repository browser.