%define pkg_name Text-Diff %define pkg_version 0.35 %define rpm_pkg_version 0.35 %define rpm_pkg_release 3.n0i.7 Summary: Perform diffs on files and record sets Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/R/RB/RBS/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Algorithm::Diff)} %description "diff()" provides a basic set of services akin to the GNU "diff" utility. It is not anywhere near as feature complete as GNU "diff", but it is better integrated with Perl and available on all platforms. It is often faster than shelling out to a system's "diff" executable for small files, and generally slower on larger files. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes %changelog * Tue May 22 2007 Marius Feraru - 0.35-3.n0i.7 - mass rebuild * Sat Jul 23 2005 Marius Feraru 0.35-2.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.35-1.n0i.5 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:0.35-1.n0i.4 - automatic rebuild (perl 5.8.6) * Tue May 04 2004 Marius Feraru 0:0.35-1.n0i.3 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Thu Jan 22 2004 Marius FERARU 0:0.35-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Thu Jan 01 2004 Marius FERARU 0:0.35-0.n0i.1 - version 0.35 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001