diff --git a/perl-Text-Affixes.spec b/perl-Text-Affixes.spec new file mode 100644 index 0000000..2ce3e2b --- /dev/null +++ b/perl-Text-Affixes.spec @@ -0,0 +1,63 @@ +Name: perl-Text-Affixes +Summary: Prefixes and suffixes analysis of text +Version: 0.07 +Release: 3%{?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(AutoLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 + +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 DESTDIR=%{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 +* Thu Jan 24 2013 Mathieu Bridon - 0.07-3 +- Use DESTDIR instead of PERL_INSTALL_ROOT in the install section. + +* Tue Jan 22 2013 Mathieu Bridon - 0.07-2 +- Add missing build requirements. +- Replace usage of the %%{__perl} macro by the plain perl command. +- Explicitly specify the minimum versions for requirements. + +* Fri Jan 18 2013 Mathieu Bridon - 0.07-1 +- Initial package for Fedora, with help from cpanspec.