SPECS: perl-Module-Load.spec (NEW) - initial, ver 0.10, rel 0.1, n...
agaran
agaran at pld-linux.org
Wed Jul 26 20:34:39 CEST 2006
Author: agaran Date: Wed Jul 26 18:34:39 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, ver 0.10, rel 0.1, no description yet, NFY, WIP
---- Files affected:
SPECS:
perl-Module-Load.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Module-Load.spec
diff -u /dev/null SPECS/perl-Module-Load.spec:1.1
--- /dev/null Wed Jul 26 20:34:39 2006
+++ SPECS/perl-Module-Load.spec Wed Jul 26 20:34:34 2006
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Module
+%define pnam Load
+Summary: perl(Module::Load)
+Name: perl-Module-Load
+Version: 0.10
+Release: 0.1
+# note if it is "same as perl"
+License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: ee40eb2fa3059381e43d1f14d414fe67
+URL: http://search.cpan.org/dist/Module-Load
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+#BuildRequires: perl-
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+perl(Module::Load)
+
+%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 README
+%{perl_vendorlib}/Module/Load.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 2006/07/26 18:34:34 agaran
+- initial, ver 0.10, rel 0.1, no description yet, NFY, WIP
+
================================================================
More information about the pld-cvs-commit
mailing list