%define upstream_name Text-Quoted %define upstream_version 2.06 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl module to extract the structure of a quoted mail message 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(Text::Autoformat) BuildArch: noarch %description Text::Quoted examines the structure of some text which may contain multiple different levels of quoting, and turns the text into a nested data structure. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -rf $RPM_BUILD_ROOT/%{perl_vendorarch} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README META.yml %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 2.60.0-2.mga3 + Revision: 374138 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Jan 21 2011 jquelin <jquelin> 2.60.0-1.mga1 + Revision: 29208 - mageia rebuild - imported package perl-Text-Quoted