%define upstream_name String-Diff %define upstream_version 0.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Simple diff to String License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/String/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Algorithm::Diff) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(YAML) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description String::Diff is the difference of a consecutive string is made. after general diff is done, the difference in the line is searchable. the mark of the addition and the deletion can be freely changed. the color is colored to the terminal with ANSI, using the HTML display it. after the line is divided, diff is taken when 'linebreak' option is specified. %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 README Changes %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Nov 29 2009 Jérôme Quelin <jquelin@mandriva.org> 0.40.0-1mdv2010.1 + Revision: 471072 - import perl-String-Diff * Sun Nov 29 2009 cpan2dist 0.04-1mdv - initial mdv release, generated with cpan2dist