%define pkg_name Pod-LaTeX %define pkg_version 0.58 %define rpm_pkg_version 0.58 %define rpm_pkg_release 1.n0i.4 Summary: Converts pod to latex with Pod::Parser Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Epoch: 0 Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/T/TJ/TJENNESS/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test)} %{!?_without_test:BuildRequires: perl(Pod::Find)} %{!?_without_test:BuildRequires: perl(Pod::ParseUtils)} %{!?_without_test:BuildRequires: perl(Pod::Parser)} %{!?_without_test:BuildRequires: perl(Pod::Select)} %description "Pod::LaTeX" is a module to convert documentation in the Pod format into Latex. The pod2latex command uses this module for translation. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files -b -m} %doc ChangeLog README %changelog * Tue May 22 2007 Marius Feraru - 0:0.58-1.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 0.58 * Fri Apr 30 2004 Marius Feraru 0:0.57-1.n0i.3 - rebuild (perl 5.8.4) * Sat Mar 20 2004 Marius Feraru 0:0.57-1.n0i.1 - version 0.57 - spec file (re?)created using N0i::CPAN::RPMizer/2004032001