%define upstream_name Getopt-Std-Strict %define upstream_version 1.01 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: No summary found License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Getopt/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Std) BuildRequires: perl(Test::Simple) BuildArch: noarch %description Getopt::Std is nice but it could be even easier to use. This is how I would like Getopt::Std to behave. Two main concepts are strengthened here, on top of Getopt::Std. 1) Variables are created even under use strict 2) Your option specs are passed at compile time. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.10.0-2.mga3 + Revision: 367743 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Dec 07 2011 kharec <kharec> 1.10.0-1.mga2 + Revision: 178265 - imported package perl-Getopt-Std-Strict