SPECS: perl-Test-LongString.spec (NEW) - initial

arekm arekm at pld-linux.org
Tue Feb 26 14:31:13 CET 2008


Author: arekm                        Date: Tue Feb 26 13:31:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: SPECS/perl-Test-LongString.spec
diff -u /dev/null SPECS/perl-Test-LongString.spec:1.1
--- /dev/null	Tue Feb 26 14:31:13 2008
+++ SPECS/perl-Test-LongString.spec	Tue Feb 26 14:31:08 2008
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Test
+%define	pnam	LongString
+Summary:	Test::LongString - tests strings for equality, with more helpful failures
+Name:		perl-Test-LongString
+Version:	0.11
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+Source0:	http://www.cpan.org/modules/by-authors/id/R/RG/RGARCIA/Test-LongString-%{version}.tar.gz
+# Source0-md5:	860635425e63c5f15261418f25cf106f
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tests strings for equality, with more helpful failures.
+
+%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}/Test/*.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  2008-02-26 13:31:08  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list