SPECS: perl-Test-Distribution.spec (NEW) - initial, 1.26 rel 0.1, ...

agaran agaran at pld-linux.org
Wed Jul 19 11:41:47 CEST 2006


Author: agaran                       Date: Wed Jul 19 09:41:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, 1.26 rel 0.1, builds here (may have missing deps)

---- Files affected:
SPECS:
   perl-Test-Distribution.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Test-Distribution.spec
diff -u /dev/null SPECS/perl-Test-Distribution.spec:1.1
--- /dev/null	Wed Jul 19 11:41:47 2006
+++ SPECS/perl-Test-Distribution.spec	Wed Jul 19 11:41:42 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	Test
+%define		pnam	Distribution
+Summary:	perl(Test::Distribution)
+Name:		perl-Test-Distribution
+Version:	1.26
+Release:	0.1
+# same as perl
+License:	GPLv1 or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	64dc13f51f60f6022bb8e628f1297957
+URL:		http://search.cpan.org/dist/%{pdir}-%{pnam}
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires:	perl-File-Find-Rule
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Test::Distribution - perform tests on all modules of a distribution
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	--installdirs=vendor 
+
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install \
+	--destdir=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Test/Distribution.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/19 09:41:42  agaran
+- initial, 1.26 rel 0.1, builds here (may have missing deps)
+
================================================================


More information about the pld-cvs-commit mailing list