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