[packages/perl-Import-Into] - new

baggins baggins at pld-linux.org
Sat Jan 25 18:55:49 CET 2014


commit 08a89da66cb35415ca493a026c1ee7e34ef50984
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jan 25 18:55:34 2014 +0100

    - new

 perl-Import-Into.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
---
diff --git a/perl-Import-Into.spec b/perl-Import-Into.spec
new file mode 100644
index 0000000..d7eccca
--- /dev/null
+++ b/perl-Import-Into.spec
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Import
+%define		pnam	Into
+%include	/usr/lib/rpm/macros.perl
+Summary:	Import::Into - import packages into other packages
+#Summary(pl.UTF-8):	
+Name:		perl-Import-Into
+Version:	1.002000
+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/Import-Into-1.002000.tar.gz
+# Source0-md5:	6c51779d26d665d9858a71117d52e8a5
+URL:		http://search.cpan.org/dist/Import-Into/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Writing exporters is a pain. Some use Exporter, some use
+Sub::Exporter, some use Moose::Exporter, some use Exporter::Declare
+... and some things are pragmas.
+
+Exporting on someone else's behalf is harder.  The exporters don't
+provide a consistent API for this, and pragmas need to have their
+import method called directly, since they effect the current unit
+of compilation.
+
+Import::Into provides global methods to make this painless.
+
+# %description -l pl.UTF-8
+# TODO
+
+%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
+%dir %{perl_vendorlib}/Import
+%{perl_vendorlib}/Import/*.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Import-Into.git/commitdiff/08a89da66cb35415ca493a026c1ee7e34ef50984



More information about the pld-cvs-commit mailing list