]> git.pld-linux.org Git - packages/perl-List-MoreUtils-XS.git/blame - perl-List-MoreUtils-XS.spec
- updated URL
[packages/perl-List-MoreUtils-XS.git] / perl-List-MoreUtils-XS.spec
CommitLineData
7684be3a
JB
1#
2# Conditional build:
1016f9f4 3%bcond_without tests # unit tests
7684be3a
JB
4#
5%define pdir List
6%define pnam MoreUtils-XS
7684be3a
JB
7Summary: List::MoreUtils::XS - Provide compiled List::MoreUtils functions
8Summary(pl.UTF-8): List::MoreUtils::XS - skompilowane funkcje List::MoreUtils
9Name: perl-List-MoreUtils-XS
241d9ab2 10Version: 0.430
65dc5827 11Release: 4
7684be3a
JB
12# for code before 0.417: same as perl 5.8.4 or later
13License: Apache v2.0 (code since 0.417), GPL v1+ or Artistic (older code)
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
241d9ab2 16# Source0-md5: e77113e55b046906aecfb4ddb4f0c662
1016f9f4 17URL: https://metacpan.org/dist/List-MoreUtils-XS
7684be3a
JB
18BuildRequires: perl-devel >= 1:5.8.1
19BuildRequires: rpm-perlprov >= 4.1-13
241d9ab2 20BuildRequires: rpmbuild(macros) >= 1.745
7684be3a
JB
21%if %{with tests}
22BuildRequires: perl-Storable
23BuildRequires: perl-Test-Simple >= 0.96
24%endif
25Conflicts: perl-List-MoreUtils < 0.417
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29List::MoreUtils::XS is a backend for List::MoreUtils. Even if it's
30possible (because of user wishes) to have it practically independent
31from List::MoreUtils, it technically depend on List::MoreUtils. Since
32it's only a backend, the API is not public and can change without any
33warning.
34
35%description -l pl.UTF-8
36List::MoreUtils::XS to backend dla List::MoreUtils. Nawet jeśli jest
37możliwe (ze względu na życzenia użytkownika) zainstalowanie tego
38modułu niezależnie od List::MoreUtils, technicznie zależy on od
39List::MoreUtils. Ponieważ jest to tylko backend, API nie jest
40publiczne i może się zmienić bez ostrzeżenia.
41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48%{__make} \
49 CC="%{__cc}" \
50 OPTIMIZE="%{rpmcflags}"
51
52%{?with_tests:%{__make} test}
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} pure_install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc Changes README.md
66%dir %{perl_vendorarch}/List/MoreUtils
67%{perl_vendorarch}/List/MoreUtils/XS.pm
68%dir %{perl_vendorarch}/auto/List/MoreUtils
69%dir %{perl_vendorarch}/auto/List/MoreUtils/XS
70%attr(755,root,root) %{perl_vendorarch}/auto/List/MoreUtils/XS/XS.so
71%{_mandir}/man3/List::MoreUtils::XS.3pm*
This page took 0.205877 seconds and 4 git commands to generate.