%define upstream_name Pod-Parser %define upstream_version 1.65 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Base class for parsing pod documents License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/Pod/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Basename) BuildRequires: perl(Test::More) >= 0.600.0 BuildArch: noarch %description *Pod::Find* provides a set of functions to locate POD files. Note that no function is exported by default to avoid pollution of your namespace, so be sure to specify them in the *use* statement if you need them: use Pod::Find qw(pod_find); From this version on the typical SCM (software configuration management) files/directories like RCS, CVS, SCCS, .svn are ignored. %prep %setup -q -n %{upstream_name}-%{upstream_version} find -type f -exec chmod -x {} + chmod +x scripts/* for F in ANNOUNCE CHANGES README TODO; do tr -d '\r' < "$F" > "${F}.unix" touch -r "$F" "${F}.unix" mv "${F}.unix" "$F" done %build %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %make_build %check %make_build test %install %make_install for i in %{buildroot}/%{_bindir}/*; do mv $i $i-%{upstream_version} ; done pushd %{buildroot}/%{_bindir} ln -s podselect-%{upstream_version} podselect popd %files %doc ANNOUNCE CHANGES META.json META.yml MYMETA.yml README TODO %{_bindir}/* %{_mandir}/man*/* %perl_vendorlib/* %changelog * Thu May 26 2022 tv <tv> 1.650.0-1.mga9 + Revision: 1860248 - update to 1.65 * Mon Mar 21 2022 umeabot <umeabot> 1.630.0-7.mga9 + Revision: 1813476 - Mageia 9 Mass Rebuild * Thu Oct 22 2020 joequant <joequant> 1.630.0-6.mga8 + Revision: 1637954 - add link to podselect * Wed Feb 12 2020 umeabot <umeabot> 1.630.0-5.mga8 + Revision: 1496711 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 1.630.0-4.mga7 + Revision: 1270591 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 1.630.0-3.mga6 + Revision: 1032319 - Rebuild for perl 5.22.2 * Thu Feb 18 2016 umeabot <umeabot> 1.630.0-2.mga6 + Revision: 967161 - Mageia 6 Mass Rebuild * Mon Jun 29 2015 sander85 <sander85> 1.630.0-1.mga6 + Revision: 848188 - update to 1.63 * Sun Oct 19 2014 umeabot <umeabot> 1.620.0-4.mga5 + Revision: 789286 - Rebuild to potentially add missing dependencies * Wed Oct 15 2014 umeabot <umeabot> 1.620.0-3.mga5 + Revision: 743907 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.620.0-2.mga5 + Revision: 686014 - Mageia 5 Mass Rebuild * Mon Feb 10 2014 jquelin <jquelin> 1.620.0-1.mga5 + Revision: 588010 - update to 1.62 * Sat Oct 19 2013 umeabot <umeabot> 1.610.0-2.mga4 + Revision: 526276 - Mageia 4 Mass Rebuild * Mon Jun 03 2013 jquelin <jquelin> 1.610.0-1.mga4 + Revision: 436454 - update to 1.61 * Wed Mar 27 2013 jquelin <jquelin> 1.510.0-4.mga3 + Revision: 405536 - perl 5.16.3 rebuild * Wed Mar 27 2013 jquelin <jquelin> 1.510.0-3.mga3 + Revision: 405520 - perl 5.16.3 rebuild * Sun Jan 13 2013 umeabot <umeabot> 1.510.0-2.mga3 + Revision: 371953 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Oct 01 2012 jquelin <jquelin> 1.510.0-1.mga3 + Revision: 301400 - imported package perl-Pod-Parser