From 80bba1c7ec9039ae2e35eb9cf5ddc85854bd5337 Mon Sep 17 00:00:00 2001 From: radek Date: Sun, 6 Jun 2004 13:07:59 +0000 Subject: - new Changed files: perl-Pod-Parser.spec -> 1.1 diff --git a/perl-Pod-Parser.spec b/perl-Pod-Parser.spec new file mode 100644 index 0000000..45a004b --- /dev/null +++ b/perl-Pod-Parser.spec @@ -0,0 +1,60 @@ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Pod +%define pnam Parser +Summary: Pod::Parser - base class for creating POD filters and translators +#Summary(pl): +Name: perl-Pod-Parser +Version: 1.28 +Release: 1 +# I'm not sure how to interpret the README... +License: Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}%{pnam}-%{version}.tar.gz +# Source0-md5: 82b26c8cef5ef2bea0d7bf0294682382 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +B is a base class for creating POD filters and translators. +It handles most of the effort involved with parsing the POD sections +from an input stream, leaving subclasses free to be concerned only with +performing the actual translation of text. + +B parses PODs, and makes method calls to handle the various +components of the POD. Subclasses of B override these methods +to translate the POD into whatever output format they desire. + +# %description -l pl +# TODO + +%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 TODO +%{perl_vendorlib}/Pod/*.pm +%{_mandir}/man?/* +%{_bindir}/* -- cgit v0.10.2