[packages/perl-strictures] - new

baggins baggins at pld-linux.org
Sat Jan 25 18:48:38 CET 2014


commit 01d474f09c07454db57ee87af9cb5e19006cb650
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jan 25 18:48:22 2014 +0100

    - new

 perl-strictures.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/perl-strictures.spec b/perl-strictures.spec
new file mode 100644
index 0000000..27a8bc1
--- /dev/null
+++ b/perl-strictures.spec
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	strictures
+%include	/usr/lib/rpm/macros.perl
+Summary:	Turn on strict and make all warnings fatal
+#Summary(pl.UTF-8):	
+Name:		perl-strictures
+Version:	1.005002
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/H/HA/HAARG/strictures-1.005002.tar.gz
+# Source0-md5:	3003ab606c221b0f125496ee186c9f1c
+URL:		http://search.cpan.org/dist/strictures/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Turn on strict and make all warnings fatal.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{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}/*.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-strictures.git/commitdiff/01d474f09c07454db57ee87af9cb5e19006cb650



More information about the pld-cvs-commit mailing list