%define upstream_name Algorithm-Diff-Apply %define upstream_version 0.2.3 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 12 Summary: Apply one or more Algorithm::Diff diffs License: Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Algorithm/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl(Algorithm::Diff) Buildarch: noarch %description This module contains subroutines for applying diffs generated by Algorithm::Diff to a target array in the hope of regenerating a new array incorporating all the changes described in the diffs into a new merged array. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor %make %make test %install %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_mandir}/*/* %{perl_vendorlib}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.2.3-12.mga3 + Revision: 362850 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 0.2.3-11.mga1 + Revision: 21997 - cleaning spec file - imported package perl-Algorithm-Diff-Apply