%define upstream_name Text-Glob %define upstream_version 0.09 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Match globbing patterns against text License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Module::Build) >= 0.360.0 BuildRequires: perl(Test::More) BuildArch: noarch %description Text::Glob implements glob(3) style matching that can be used to match against text, rather than fetching names from a filesystem. If you want to do full file globbing use the File::Glob module instead. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf %{buildroot} %makeinstall_std %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes META.yml %{perl_vendorlib}/Text %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.90.0-2.mga3 + Revision: 374075 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Feb 26 2011 jquelin <jquelin> 0.90.0-1.mga1 + Revision: 60390 - update to 0.09 * Sat Jan 22 2011 jquelin <jquelin> 0.80.0-1.mga1 + Revision: 31318 - mageia rebuild - imported package perl-Text-Glob