commit 256ebfa93edf62514843eb3b3e634974df492d67 Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> Date: Fri Jan 18 14:09:39 2013 +0800 Initial package for Fedora This was submitted on Fri Jan 18 2013: https://bugzilla.redhat.com/show_bug.cgi?id=901387#c0 perl-Text-Affixes.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 insertions(+), 0 deletions(-) --- diff --git a/perl-Text-Affixes.spec b/perl-Text-Affixes.spec new file mode 100644 index 0000000..bba6ba6 --- /dev/null +++ b/perl-Text-Affixes.spec @@ -0,0 +1,53 @@ +Name: perl-Text-Affixes +Summary: Prefixes and suffixes analysis of text +Version: 0.07 +Release: 1%{?dist} +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Text-Affixes/ +Source0: http://www.cpan.org/authors/id/C/CO/COG/Text-Affixes-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Provides methods for prefixes and suffixes analysis of text. + + +%prep +%setup -q -n Text-Affixes-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + + +%check +make test + + +%files +%doc Changes README +%{_mandir}/man3/Text::Affixes.3pm* +%{perl_vendorlib}/Text +%{perl_vendorlib}/auto/Text + + +%changelog +* Fri Jan 18 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 0.07-1 +- Initial package for Fedora, with help from cpanspec. -- 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