Name: perl-Text-Patch Version: 1.8 Release: 1%{?dist} Summary: Patches text with given patch License: GPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Text-Patch/ Source0: http://www.cpan.org/authors/id/C/CA/CADE/Text-Patch-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Diff) Requires: perl(Text::Diff) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Text::Patch combines source text with given diff (difference) data. Diff data is produced by Text::Diff module or by the standard diff utility (man diff, see -u option). %prep %setup -q -n Text-Patch-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %files %defattr(-,root,root,-) %doc ChangeLog COPYING README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Aug 01 2011 Marcela Mašláňová 1.8-1 - Specfile autogenerated by cpanspec 1.79.