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

zbyniu zbyniu at pld-linux.org
Wed Jan 25 10:39:19 CET 2012


Author: zbyniu                       Date: Wed Jan 25 09:39:19 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/perl-Module-Util/perl-Module-Util.spec
diff -u /dev/null packages/perl-Module-Util/perl-Module-Util.spec:1.1
--- /dev/null	Wed Jan 25 10:39:19 2012
+++ packages/perl-Module-Util/perl-Module-Util.spec	Wed Jan 25 10:39:14 2012
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Module
+%define		pnam	Util
+%include	/usr/lib/rpm/macros.perl
+Summary:	Module::Util - Module name tools and transformations
+#Summary(pl.UTF-8):	
+Name:		perl-Module-Util
+Version:	1.07
+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:	d9e5d48b7f1aee18582fab57f27cccfa
+# generic URL, check or change before uncommenting
+#URL:		http://search.cpan.org/dist/Module-Util/
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a few useful functions for manipulating module
+names. Its main aim is to centralise some of the functions commonly
+used by modules that manipulate other modules in some way, like
+converting module names to relative paths.
+
+# %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
+%attr(755,root,root) %{_bindir}/pm_which
+%{_mandir}/man1/pm_which.1p*
+%{_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/25 09:39:14  zbyniu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list