Author: arekm Date: Thu Jan 8 12:36:30 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: perl-Test-HTTP-Server-Simple-StashWarnings.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Test-HTTP-Server-Simple-StashWarnings.spec diff -u /dev/null SPECS/perl-Test-HTTP-Server-Simple-StashWarnings.spec:1.1 --- /dev/null Thu Jan 8 13:36:30 2009 +++ SPECS/perl-Test-HTTP-Server-Simple-StashWarnings.spec Thu Jan 8 13:36:25 2009 @@ -0,0 +1,64 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Test +%define pnam HTTP-Server-Simple-StashWarnings +Summary: Test::HTTP-Server-Simple-StashWarnings Perl module - catch your forked server's warnings +Name: perl-Test-HTTP-Server-Simple-StashWarnings +Version: 0.03 +Release: 1 +# same as perl +# Source0-md5: 0a63b8f45217f05611717292b7ec02e5 +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +URL: http://search.cpan.org/dist/Test-HTTP-Server-Simple-StashWarnings/ +BuildRequires: perl-devel >= 1:5.8.7 +Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/%{pdir}-%{pnam}-%{version}.tar.gz +%if %{with tests} +%endif +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Test::HTTP-Server-Simple-StashWarnings - catch your forked server's +warnings. + +%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 +# %{perl_vendorlib}/Test/HTTP/Server/Simple/StashWarnings.pm +%{perl_vendorlib}/Test/HTTP +%{_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 2009/01/08 12:36:25 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
