commit 21ecbb5b7c0f37908deb61fcf162fb7f0b91ff47 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Mon Aug 1 14:20:00 2011 +0200 Initial push. .gitignore | 1 + perl-Text-Patch.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..460eac0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Text-Patch-1.8.tar.gz diff --git a/perl-Text-Patch.spec b/perl-Text-Patch.spec new file mode 100644 index 0000000..d86fddd --- /dev/null +++ b/perl-Text-Patch.spec @@ -0,0 +1,50 @@ +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á <mmaslano@xxxxxxxxxx> 1.8-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..682e956 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ad5e453d5ba3b48afd8163114d0fee1c Text-Patch-1.8.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel