perl-Lingua-EN-Inflect-1.89-3.src.rpmepel9
parent
5f2144c326
commit
800b9b137d
@ -0,0 +1 @@
|
|||||||
|
Lingua-EN-Inflect-1.89.tar.gz
|
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-Lingua-EN-Inflect
|
||||||
|
Version: 1.89
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Convert singular to plural, select "a" or "an"
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: GPL or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/Lingua-EN-Inflect/
|
||||||
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Lingua-EN-Inflect-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl >= 1:5.6.1
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Lingua-EN-Inflect-%{version}
|
||||||
|
chmod -x Changes README lib/Lingua/EN/Inflect.pm
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/Lingua/
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 29 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.89-3
|
||||||
|
- chmod -x files that don't need to be executable (hooray upstream)
|
||||||
|
- own Lingua directory correctly
|
||||||
|
|
||||||
|
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.89-2
|
||||||
|
- cleanups
|
||||||
|
|
||||||
|
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.89-1
|
||||||
|
- Initial package for Fedora Extras
|
Loading…
Reference in new issue