%define upstream_name Pod-Constants %define upstream_version 0.16 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Pod::Constants - Include constants from POD License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SAMV/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch %description Pod::Constants allows you to extract data from your POD at run-time, meaning you can do things like declare constants in POD and not have to update two places at once every time you make a change. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Pod/Constants.pm %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.160.0-2.mga3 + Revision: 371900 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.160.0-1.mga1 + Revision: 26856 - mageia rebuild - imported package perl-Pod-Constants