SPECS: perl-Package-Generator.spec (NEW) - initial, builds here, r...
agaran
agaran at pld-linux.org
Tue Jan 8 20:07:39 CET 2008
Author: agaran Date: Tue Jan 8 19:07:39 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, builds here, rel 1
---- Files affected:
SPECS:
perl-Package-Generator.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Package-Generator.spec
diff -u /dev/null SPECS/perl-Package-Generator.spec:1.1
--- /dev/null Tue Jan 8 20:07:39 2008
+++ SPECS/perl-Package-Generator.spec Tue Jan 8 20:07:34 2008
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Package
+%define pnam Generator
+Summary: Package::Generator - generate new packages quickly and easily
+#Summary(pl):
+Name: perl-Package-Generator
+Version: 0.100
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/R/RJ/RJBS/Package-Generator-0.100.tar.gz
+# Source0-md5: 201e8aec3f37b879bd01abd5ad22fe5e
+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 lets you quickly and easily construct new packages. It gives them
+unused names and sets up their package data, if provided.
+
+
+# %description -l pl
+# 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} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Package/*.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 2008-01-08 19:07:34 agaran
+- initial, builds here, rel 1
+
================================================================
More information about the pld-cvs-commit
mailing list