SPECS: perl-IPC-Cmd.spec (NEW) - initial, Not Finished, Has Broken...

agaran agaran at pld-linux.org
Wed Jul 26 19:41:39 CEST 2006


Author: agaran                       Date: Wed Jul 26 17:41:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, Not Finished, Has Broken Deps, Work In Progress

---- Files affected:
SPECS:
   perl-IPC-Cmd.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-IPC-Cmd.spec
diff -u /dev/null SPECS/perl-IPC-Cmd.spec:1.1
--- /dev/null	Wed Jul 26 19:41:39 2006
+++ SPECS/perl-IPC-Cmd.spec	Wed Jul 26 19:41:34 2006
@@ -0,0 +1,74 @@
+# $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	IPC
+%define		pnam	Cmd
+Summary:	perl(IPC::Cmd)
+Name:		perl-IPC-Cmd
+Version:	0.24
+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:	9061bd187defad873432f91fa6de9f9b
+#Patch0:		%{name}
+# most of CPAN modules have generic URL (substitute pdir and pnam here)
+#URL:		http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+#BuildRequires:	-
+%if %{with autodeps} && %{with tests}
+BuildRequires:	perl-Params-Check
+#BuildRequires:	perl-
+%endif
+#Requires:	-
+#Provides:	-
+#Obsoletes:	-
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+#%define		_noautoreq	'perl(anything_fake_or_conditional)'
+
+%description
+#%description -l pl
+
+%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}/IPC/Cmd.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 17:41:34  agaran
+- initial, Not Finished, Has Broken Deps, Work In Progress
+
================================================================


More information about the pld-cvs-commit mailing list