[packages/perl-List-MoreUtils-XS] - new, split from perl-List-MoreUtils since 0.417

qboosh qboosh at pld-linux.org
Tue Oct 2 20:39:31 CEST 2018


commit 7684be3a836ddf7f8860d6af09ccca29ac8a520a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Oct 2 20:42:43 2018 +0200

    - new, split from perl-List-MoreUtils since 0.417

 perl-List-MoreUtils-XS.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/perl-List-MoreUtils-XS.spec b/perl-List-MoreUtils-XS.spec
new file mode 100644
index 0000000..814a88d
--- /dev/null
+++ b/perl-List-MoreUtils-XS.spec
@@ -0,0 +1,71 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	List
+%define		pnam	MoreUtils-XS
+%include	/usr/lib/rpm/macros.perl
+Summary:	List::MoreUtils::XS - Provide compiled List::MoreUtils functions
+Summary(pl.UTF-8):	List::MoreUtils::XS - skompilowane funkcje List::MoreUtils
+Name:		perl-List-MoreUtils-XS
+Version:	0.428
+Release:	1
+# for code before 0.417: same as perl 5.8.4 or later
+License:	Apache v2.0 (code since 0.417), GPL v1+ or Artistic (older code)
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	79939a9c2deb83ea2fa7fcbd3ad9c5c9
+URL:		https://metacpan.org/release/List-MoreUtils-XS
+BuildRequires:	perl-devel >= 1:5.8.1
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Storable
+BuildRequires:	perl-Test-Simple >= 0.96
+%endif
+Conflicts:	perl-List-MoreUtils < 0.417
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+List::MoreUtils::XS is a backend for List::MoreUtils. Even if it's
+possible (because of user wishes) to have it practically independent
+from List::MoreUtils, it technically depend on List::MoreUtils. Since
+it's only a backend, the API is not public and can change without any
+warning.
+
+%description -l pl.UTF-8
+List::MoreUtils::XS to backend dla List::MoreUtils. Nawet jeśli jest
+możliwe (ze względu na życzenia użytkownika) zainstalowanie tego
+modułu niezależnie od List::MoreUtils, technicznie zależy on od
+List::MoreUtils. Ponieważ jest to tylko backend, API nie jest
+publiczne i może się zmienić bez ostrzeżenia.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README.md
+%dir %{perl_vendorarch}/List/MoreUtils
+%{perl_vendorarch}/List/MoreUtils/XS.pm
+%dir %{perl_vendorarch}/auto/List/MoreUtils
+%dir %{perl_vendorarch}/auto/List/MoreUtils/XS
+%attr(755,root,root) %{perl_vendorarch}/auto/List/MoreUtils/XS/XS.so
+%{_mandir}/man3/List::MoreUtils::XS.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-List-MoreUtils-XS.git/commitdiff/7684be3a836ddf7f8860d6af09ccca29ac8a520a



More information about the pld-cvs-commit mailing list