packages: perl-Module-Runtime/perl-Module-Runtime.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Mon Jan 23 22:54:52 CET 2012


Author: zbyniu                       Date: Mon Jan 23 21:54:52 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/perl-Module-Runtime:
   perl-Module-Runtime.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Module-Runtime/perl-Module-Runtime.spec
diff -u /dev/null packages/perl-Module-Runtime/perl-Module-Runtime.spec:1.1
--- /dev/null	Mon Jan 23 22:54:52 2012
+++ packages/perl-Module-Runtime/perl-Module-Runtime.spec	Mon Jan 23 22:54:47 2012
@@ -0,0 +1,70 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Module
+%define		pnam	Runtime
+%include	/usr/lib/rpm/macros.perl
+Summary:	Module::Runtime - runtime module handling
+#Summary(pl.UTF-8):	
+Name:		perl-Module-Runtime
+Version:	0.011
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	d0d2ab338c5bb2769a8f7db200cfdb2b
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/Module-Runtime/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Params::Classify)
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The functions exported by this module deal with runtime handling of
+Perl modules, which are normally handled at compile time.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Module/*.pm
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/01/23 21:54:47  zbyniu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list