%define upstream_name Inline-Files %define upstream_version 0.68 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Multiple virtual files after __END__ License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Inline/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(Test) BuildArch: noarch %description Inline::Files generalizes the notion of the '__DATA__' marker and the associated '<DATA>' filehandle, to an arbitrary number of markers and associated filehandles. When you add the line: use Inline::Files; %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.json META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.680.0-2.mga3 + Revision: 368744 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Dec 07 2011 kharec <kharec> 0.680.0-1.mga2 + Revision: 178161 - imported package perl-Inline-Files