%define upstream_name Data-Section %define upstream_version 0.101621 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: read multiple hunks of data out of your DATA section License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Data/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(MRO::Compat) >= 0.90.0 BuildRequires: perl(Sub::Exporter) >= 0.979.0 BuildRequires: perl(Test::More) >= 0.960.0 BuildArch: noarch %description Data::Section provides an easy way to access multiple named chunks of line-oriented data in your module's DATA section. It was written to allow modules to store their own templates, but probably has other uses. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes LICENSE META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.101.621-2.mga3 + Revision: 365428 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jun 15 2011 jquelin <jquelin> 0.101.621-1.mga2 + Revision: 106583 - update to 0.101621 * Thu Jan 20 2011 jquelin <jquelin> 0.101.620-1.mga1 + Revision: 26076 - mageia rebuild - imported package perl-Data-Section