[packages/perl-Sub-Quote] - new, separated from perl-Moo
qboosh
qboosh at pld-linux.org
Tue Oct 2 18:36:34 CEST 2018
commit 8b38c5aa7f518d0c2378e6cb433efdf230f7c405
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Oct 2 18:39:46 2018 +0200
- new, separated from perl-Moo
perl-Sub-Quote.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
---
diff --git a/perl-Sub-Quote.spec b/perl-Sub-Quote.spec
new file mode 100644
index 0000000..c83f3af
--- /dev/null
+++ b/perl-Sub-Quote.spec
@@ -0,0 +1,62 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Sub
+%define pnam Quote
+%include /usr/lib/rpm/macros.perl
+Summary: Sub::Quote - Efficient generation of subroutines via string eval
+Summary(pl.UTF-8): Sub::Quote - wydajne generowanie podprocedur poprzez ewaluację łańcuchów znaków
+Name: perl-Sub-Quote
+Version: 2.005001
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Sub/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 1b0f288ca8c60243f9bc29cfee4c4986
+URL: https://metacpan.org/release/Sub-Quote/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Test-Fatal >= 0.003
+BuildRequires: perl-Test-Simple >= 0.94
+%endif
+Conflicts: perl-Moo < 2.003000
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides performant ways to generate subroutines from
+strings.
+
+%description -l pl.UTF-8
+Ten pakiet udostępnia wydajne sposoby generowania podprocedur z
+łańcuchów znaków.
+
+%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 README
+%{perl_vendorlib}/Sub/Defer.pm
+%{perl_vendorlib}/Sub/Quote.pm
+%{_mandir}/man3/Sub::Defer.3pm*
+%{_mandir}/man3/Sub::Quote.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Sub-Quote.git/commitdiff/8b38c5aa7f518d0c2378e6cb433efdf230f7c405
More information about the pld-cvs-commit
mailing list