%define upstream_name Lingua-Ident %define upstream_version 1.7 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Statistical language identification License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Lingua/%{upstream_name}-%{upstream_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description This module implements a statistical language identifier. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check # parallel testing with %make doesn't work make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{_bindir}/* %{perl_vendorlib}/Lingua %{_mandir}/*/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 1.700.0-2.mga3 + Revision: 369016 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 1.700.0-1.mga1 + Revision: 22565 - cleaning spec file - imported package perl-Lingua-Ident