SPECS: perl-Sub-Install.spec (NEW) - initial, 0.924, rel 1, builds...
agaran
agaran at pld-linux.org
Sun May 27 02:18:52 CEST 2007
Author: agaran Date: Sun May 27 00:18:52 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, 0.924, rel 1, builds here
---- Files affected:
SPECS:
perl-Sub-Install.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Sub-Install.spec
diff -u /dev/null SPECS/perl-Sub-Install.spec:1.1
--- /dev/null Sun May 27 02:18:52 2007
+++ SPECS/perl-Sub-Install.spec Sun May 27 02:18:47 2007
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Sub
+%define pnam Install
+Summary: Sub::Install - install subroutines into packages easily
+#Summary(pl):
+Name: perl-Sub-Install
+Version: 0.924
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: eae66cb5cbd2064ae02b3aeacf6338e4
+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 makes it easy to install subroutines into packages without
+the unslightly mess of no strict or typeglobs lying about where just
+anyone can see them.
+
+
+
+# %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}/Sub/*.pm
+#%%{perl_vendorlib}/Sub/Install
+%{_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 2007/05/27 00:18:47 agaran
+- initial, 0.924, rel 1, builds here
+
================================================================
More information about the pld-cvs-commit
mailing list