]> git.pld-linux.org Git - packages/perl-Package-Stash-XS.git/blame - perl-Package-Stash-XS.spec
- up to 0.29
[packages/perl-Package-Stash-XS.git] / perl-Package-Stash-XS.spec
CommitLineData
b496b17a
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Package
6%define pnam Stash-XS
7%include /usr/lib/rpm/macros.perl
8Summary: Package::Stash::XS - faster and more correct implementation of the Package::Stash API
9Summary(pl.UTF-8): Package::Stash::XS - szybsza i bardziej poprawna implementacja API Package::Stash
10Name: perl-Package-Stash-XS
1c6c055d
AM
11Version: 0.29
12Release: 1
b496b17a
JB
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
4005b16f 16Source0: http://www.cpan.org/modules/by-module/Package/Package-Stash-XS-%{version}.tar.gz
1c6c055d 17# Source0-md5: e5b58846a01aa39c36605e071c306dcc
b496b17a
JB
18URL: http://search.cpan.org/dist/Package-Stash-XS/
19BuildRequires: perl-ExtUtils-MakeMaker >= 6.31
20BuildRequires: perl-devel >= 1:5.8.1
21BuildRequires: rpm-perlprov >= 4.1-13
22%if %{with tests}
23BuildRequires: perl-Test-Fatal
24BuildRequires: perl-Test-Simple >= 0.88
25%endif
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This is a backend for Package::Stash, which provides the functionality
30in a way that's less buggy and much faster. It will be used by default
31if it's installed, and should be preferred in all environments with a
32compiler.
33
34%description -l pl.UTF-8
35Ten moduł jest backendem dla modułu Package::Stash, udostępniającym
36jego funkcjonalność w mniej błędny i szybszy sposób. Jest używany jako
37domyślny backend jeśli jest zainstalowany i powinien być preferowany
38we wszystkich środowiskach z kompilatorem.
39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make} \
47 CC="%{__cc}" \
48 OPTIMIZE="%{rpmcflags}"
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes README
64%dir %{perl_vendorarch}/Package
65%dir %{perl_vendorarch}/Package/Stash
66%{perl_vendorarch}/Package/Stash/XS.pm
67%dir %{perl_vendorarch}/auto/Package
68%dir %{perl_vendorarch}/auto/Package/Stash
69%dir %{perl_vendorarch}/auto/Package/Stash/XS
b496b17a
JB
70%attr(755,root,root) %{perl_vendorarch}/auto/Package/Stash/XS/XS.so
71%{_mandir}/man3/Package::Stash::XS.3pm*
This page took 0.205011 seconds and 4 git commands to generate.