[packages/perl-List-SomeUtils] - new

qboosh qboosh at pld-linux.org
Mon Nov 28 22:15:39 CET 2016


commit 611ff8cc015e7c616e544b0d3ca34f4eaa7653c1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Nov 28 22:15:54 2016 +0100

    - new

 perl-List-SomeUtils.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
---
diff --git a/perl-List-SomeUtils.spec b/perl-List-SomeUtils.spec
new file mode 100644
index 0000000..94dd03d
--- /dev/null
+++ b/perl-List-SomeUtils.spec
@@ -0,0 +1,62 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	List
+%define		pnam	SomeUtils
+%include	/usr/lib/rpm/macros.perl
+Summary:	List::SomeUtils - Provide the stuff missing in List::Util
+Summary(pl.UTF-8):	List::SomeUtils - funkcje brakujące w List::Util
+Name:		perl-List-SomeUtils
+Version:	0.53
+Release:	1
+# same as perl 5
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/List/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	bde33a340a9644368ac2d47d2cac8bb5
+URL:		http://search.cpan.org/dist/List-SomeUtils/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Module-Implementation
+BuildRequires:	perl-Test-LeakTrace
+BuildRequires:	perl-Test-Simple >= 0.96
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+List::SomeUtils provides some trivial but commonly needed
+functionality on lists which is not going to go into List::Util.
+
+%description -l pl.UTF-8
+Moduł List::SomeUtils dostarcza kilka trywialnych, ale często
+potrzebnych funkcji operujących na listach, a nie dodawanych do
+List::Util.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?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
+%{perl_vendorlib}/List/SomeUtils.pm
+%{perl_vendorlib}/List/SomeUtils
+%{_mandir}/man3/List::SomeUtils*.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-List-SomeUtils.git/commitdiff/611ff8cc015e7c616e544b0d3ca34f4eaa7653c1



More information about the pld-cvs-commit mailing list