You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Lingua-EN-Tagger/perl-Lingua-EN-Tagger.spec

119 lines
4.1 KiB

15 years ago
Name: perl-Lingua-EN-Tagger
13 years ago
Version: 0.23
11 years ago
Release: 7%{?dist}
15 years ago
Summary: Part-of-speech tagger for English natural language processing
License: GPLv3
Group: Development/Libraries
URL: http://search.cpan.org/dist/Lingua-EN-Tagger/
Source0: http://www.cpan.org/authors/id/A/AC/ACOBURN/Lingua-EN-Tagger-%{version}.tar.gz
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) >= 0.84
13 years ago
BuildRequires: perl(HTML::Tagset) >= 3.20
15 years ago
BuildRequires: perl(HTML::TokeParser) >= 3.45
BuildRequires: perl(Lingua::Stem) >= 0.81
BuildRequires: perl(Memoize) >= 1.01
BuildRequires: perl(Memoize::ExpireLRU) >= 0.55
BuildRequires: perl(Storable) >= 2.10
BuildRequires: perl(Test::More)
Requires: perl(HTML::TokeParser) >= 3.45
Requires: perl(Lingua::Stem) >= 0.81
Requires: perl(Memoize::ExpireLRU) >= 0.55
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# despite being arch-dependent, there are no binaries
# so avoid empty debug package
%global debug_package %{nil}
15 years ago
%{?perl_default_filter}
%description
The module is a probability based, corpus-trained tagger that assigns POS
tags to English text based on a lookup dictionary and a set of probability
values. The tagger assigns appropriate tags based on conditional
probabilities - it examines the preceding tag to determine the appropriate
tag for the current word. Unknown words are classified according to word
morphology or can be set to be treated as nouns or other parts of speech.
%prep
%setup -q -n Lingua-EN-Tagger-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=%{perl_vendorarch}
15 years ago
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
15 years ago
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%{perl_vendorarch}/*
15 years ago
%{_mandir}/man3/*
%changelog
11 years ago
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.23-7
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
* Thu Jul 25 2013 Petr Pisar <ppisar@redhat.com> - 0.23-3
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
13 years ago
* Sat Oct 20 2012 Iain Arnell <iarnell@gmail.com> 0.23-1
- update to latest upstream version
13 years ago
* Sat Jul 21 2012 Iain Arnell <iarnell@gmail.com> 0.20-1
- update to latest upstream version
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.19-2
- Perl 5.16 rebuild
13 years ago
* Sat Jun 09 2012 Iain Arnell <iarnell@gmail.com> 0.19-1
- update to latest upstream version
13 years ago
* Sun May 13 2012 Iain Arnell <iarnell@gmail.com> 0.18-1
- update to latest upstream version
- clean up spec for modern rpmbuild
13 years ago
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
14 years ago
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.16-6
- Perl mass rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Nov 04 2010 Iain Arnell <iarnell@gmail.com> 0.16-4
- avoid empty debug package
* Wed Nov 03 2010 Iain Arnell <iarnell@gmail.com> 0.16-3
- force architecture dependent installation (installed lexicons are
arch-dependent)
15 years ago
* Thu Sep 30 2010 Iain Arnell <iarnell@gmail.com> 0.16-2
- license is GPLv3
- tweak buildrequires
* Mon Aug 16 2010 Iain Arnell <iarnell@epo.org> 0.16-1
- Specfile autogenerated by cpanspec 1.78.