%define upstream_name Sub-Install %define upstream_version 0.926 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Install subroutines into packages easily License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Sub/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::More) BuildArch: noarch %description This module makes it easy to install subroutines into packages without the unslightly mess of no strict or typeglobs lying about where just anyone can see them. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install %{makeinstall_std} %check %{__make} test %files %doc Changes LICENSE META.json META.yml MYMETA.yml README %{perl_vendorlib}/Sub %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.926.0-2.mga3 + Revision: 372890 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Mar 06 2012 jquelin <jquelin> 0.926.0-1.mga2 + Revision: 219707 - update to 0.926 * Wed Jan 19 2011 jquelin <jquelin> 0.925-3.mga1 + Revision: 24001 - cleaning spec file - imported package perl-Sub-Install