f38
Petr Písař 9 years ago
parent 9a55f4dbd1
commit dbe9314ff4

1
.gitignore vendored

@ -1 +1,2 @@
/Lingua-Stem-Ru-0.01.tar.gz
/Lingua-Stem-Ru-0.02.tar.gz

@ -1,14 +1,26 @@
Name: perl-Lingua-Stem-Ru
Version: 0.01
Release: 15%{?dist}
Version: 0.02
Release: 1%{?dist}
Summary: Porter's stemming algorithm for Russian (KOI8-R only)
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Lingua-Stem-Ru/
Source0: http://www.cpan.org/authors/id/A/AL/ALGDR/Lingua-Stem-Ru-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/Lingua-Stem-Ru-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@ -20,27 +32,27 @@ returning the stemmed words.
%setup -q -n Lingua-Stem-Ru-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes output.txt README voc.txt
%license LICENSE
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Feb 03 2016 Petr Pisar <ppisar@redhat.com> - 0.02-1
- 0.02 bump
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

@ -1 +1 @@
b7b82495cc9f0b466b1b3cba0fd779a6 Lingua-Stem-Ru-0.01.tar.gz
8b1c19725c56123e14d1d38e3eacf505 Lingua-Stem-Ru-0.02.tar.gz

Loading…
Cancel
Save