%define upstream_name AnnoCPAN-Perldoc-SyncDB %define upstream_version 0.11 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 7 Summary: Download the AnnoCPAN database License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/AnnoCPAN/%{upstream_name}-%{upstream_version}.tgz BuildRequires: perl(File::Spec) BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(Test::More) BuildArch: noarch %description This module provides a simple interface to mirror the the http://annocpan.org/ manpage content to a local machine. In conjunction with the the AnnoCPAN::Perldoc manpage module, this allows one to get all the benefits of the AnnoCPAN website in one's local 'perldoc' command. Recommended usage: 1) Install this module and AnnoCPAN::Perldoc, 2) set up a weekly process to run the 'syncannopod' command included in this distribution, 3) Put the following in your shell configuration: 'alias perldoc annopod'. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install %makeinstall_std %files %doc ChangeLog LICENSE README %{_mandir}/man1/* %{_mandir}/man3/* %perl_vendorlib/* /usr/bin/syncannopod %changelog * Sat Jun 18 2016 pterjan <pterjan> 0.110.0-7.mga6 + Revision: 1022497 - Rebuild for perl 5.22.2 * Fri Feb 05 2016 umeabot <umeabot> 0.110.0-6.mga6 + Revision: 938880 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.110.0-5.mga5 + Revision: 743060 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.110.0-4.mga5 + Revision: 683471 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.110.0-3.mga4 + Revision: 508995 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.110.0-2.mga3 + Revision: 362925 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Jan 23 2011 jquelin <jquelin> 0.110.0-1.mga1 + Revision: 33571 - mageia rebuild - imported package perl-AnnoCPAN-Perldoc-SyncDB