Author: hawk Date: Tue Nov 13 11:45:30 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial spec for PLD
---- Files affected: SPECS: perl-Pod-Tests.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Pod-Tests.spec diff -u /dev/null SPECS/perl-Pod-Tests.spec:1.1 --- /dev/null Tue Nov 13 12:45:30 2007 +++ SPECS/perl-Pod-Tests.spec Tue Nov 13 12:45:25 2007 @@ -0,0 +1,65 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Pod +%define pnam Tests +Summary: Pod::Tests - Extracts embedded tests and code examples from POD +Name: perl-Pod-Simple +Version: 0.18 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Pod/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: dab7e41c23a1c01fa3e96f6237781dda +URL: http://search.cpan.org/dist/Pod-Simple/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 3.0.3-16 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _noautoreq 'perl(overload()' + +%description +This is a specialized POD viewer to extract embedded tests and code +examples from POD. It doesn't do much more than that. pod2test does +the useful work. + +%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 README +%attr(755,root,root) %{_bindir}/pod2test +%{perl_vendorlib}/Pod/Tests.pm +%{_mandir}/man[13]/* + +%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 2007-11-13 11:45:25 hawk +- initial spec for PLD + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
