Author: arekm Date: Fri Aug 8 23:22:46 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: perl-Carp-Assert-More.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Carp-Assert-More.spec diff -u /dev/null SPECS/perl-Carp-Assert-More.spec:1.1 --- /dev/null Sat Aug 9 01:22:46 2008 +++ SPECS/perl-Carp-Assert-More.spec Sat Aug 9 01:22:41 2008 @@ -0,0 +1,65 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Carp +%define pnam Assert-More +Summary: Carp::Assert::More - convenience wrappers around Carp::Assert +Name: perl-Carp-Assert +Version: 1.12 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: dbd6a0fcbff5f00d2e39b77322036d3f +URL: http://search.cpan.org/dist/Carp-Assert-More/ +BuildRequires: perl-devel >= 1:5.8.0 +%if %{with tests} +BuildRequires: perl-Pod-Tests >= 0.18 +BuildRequires: perl-Test-Simple >= 0.40 +%endif +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Carp::Assert::More is a set of wrappers around the Carp::Assert +functions to make the habit of writing assertions even easier. + +%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}/Carp/Assert/More.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/08/08 23:22:41 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
