%define upstream_name podlators %define upstream_version 2.5.0 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 License: GPL or Artistic Group: Development/Perl Summary: Convert POD data to formatted ASCII text Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Net/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Encode) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.800.0 BuildRequires: perl(Pod::Simple) >= 3.60.0 BuildArch: noarch %description Pod::Man is a module to convert documentation in the POD format (the preferred language for documenting Perl) into *roff input using the man macro set. The resulting *roff code is suitable for display on a terminal using the nroff(1) manpage, normally via the man(1) manpage, or printing using the troff(1) manpage. It is conventionally invoked using the driver script *pod2man*, but it can also be used directly. As a derived class from Pod::Simple, Pod::Man supports the same methods and interfaces. See the Pod::Simple manpage for all the details. new() can take options, in the form of key/value pairs that control the behavior of the parser. See below for details. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std for i in %{buildroot}/%{_bindir}/*; do mv $i $i-%{upstream_version}; done %files %doc ChangeLog META.yml MYMETA.yml NOTES README THANKS TODO VERSION %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man3/* %perl_vendorlib/* %changelog * Wed Mar 27 2013 jquelin <jquelin> 2.5.0-3.mga3 + Revision: 405533 - perl 5.16.3 rebuild * Sun Jan 13 2013 umeabot <umeabot> 2.5.0-2.mga3 + Revision: 375538 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 2.5.0-1.mga3 + Revision: 341878 - update to 2.5.0 * Wed Nov 07 2012 jquelin <jquelin> 2.4.2-3.mga3 + Revision: 315564 - perl 5.16.2 rebuild * Mon Sep 17 2012 jquelin <jquelin> 2.4.2-2.mga3 + Revision: 295343 - perl 5.16.1 rebuild * Mon Jun 11 2012 jquelin <jquelin> 2.4.2-1.mga3 + Revision: 259728 - update to 2.4.2 - imported package perl-podlators * Mon Nov 29 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.0-1mdv2011.0 + Revision: 602981 - new version * Sun Aug 08 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.3.1-1mdv2011.0 + Revision: 567734 - new version * Wed Dec 30 2009 Jérôme Quelin <jquelin@mandriva.org> 2.3.0-1mdv2011.0 + Revision: 483879 - update to 2.3.0 * Mon Dec 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.2.2-1mdv2010.1 + Revision: 474534 - spec cleanup + Jérôme Quelin <jquelin@mandriva.org> - import perl-podlators * Wed May 06 2009 cpan2dist 2.2.2-1mdv - initial mdv release, generated with cpan2dist