SPECS: pldcpan.spec (NEW) - package it, so one doesn't have to man...

glen glen at pld-linux.org
Wed Jul 6 06:56:03 CEST 2005


Author: glen                         Date: Wed Jul  6 04:56:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package it, so one doesn't have to manually think of it dependencies

---- Files affected:
SPECS:
   pldcpan.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pldcpan.spec
diff -u /dev/null SPECS/pldcpan.spec:1.1
--- /dev/null	Wed Jul  6 06:56:03 2005
+++ SPECS/pldcpan.spec	Wed Jul  6 06:55:58 2005
@@ -0,0 +1,43 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	PLD Linux script to create RPMS from CPAN modules
+Name:		pldcpan
+Version:	1.23
+Release:	0.1
+Epoch:		0
+License:	GPL
+Group:		Development/Languages/Perl
+Source0:	%{name}.pl
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pldcpan creates RPMs from CPAN archives, automating the locating, spec
+file creation.
+
+%prep
+%setup -q -c -T
+install %{SOURCE0} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install pldcpan.pl $RPM_BUILD_ROOT%{_bindir}/pldcpan
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/pldcpan
+
+%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  2005/07/06 04:55:58  glen
+- package it, so one doesn't have to manually think of it dependencies
+
================================================================



More information about the pld-cvs-commit mailing list