auto-import perl-gettext-1.05-5 on branch devel from
perl-gettext-1.05-5.src.rpm
This commit is contained in:
parent
c945dc4711
commit
db12c30e19
@ -0,0 +1 @@
|
||||
gettext-1.05.tar.gz
|
||||
75
perl-gettext.spec
Normal file
75
perl-gettext.spec
Normal file
@ -0,0 +1,75 @@
|
||||
Name: perl-gettext
|
||||
Version: 1.05
|
||||
Release: 5%{?dist}
|
||||
Summary: Interface to gettext family of functions
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/gettext/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gettext
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
Obsoletes: perl-Locale-gettext
|
||||
|
||||
%description
|
||||
The gettext module permits access from perl to the gettext() family of
|
||||
functions for retrieving message strings from databases constructed to
|
||||
internationalize software.
|
||||
|
||||
%prep
|
||||
%setup -q -n gettext-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%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 f -name '*.bs' -a -size 0 -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 README
|
||||
%{perl_vendorarch}/auto/Locale
|
||||
%{perl_vendorarch}/Locale
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Oct 01 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-5
|
||||
- FE import.
|
||||
- Add Obsoletes: perl-Locale-gettext.
|
||||
|
||||
* Tue Oct 01 2005 Ralf Corsepius <rc040203@freenet.de> - 1.05-4
|
||||
- Rename package to perl-gettext.
|
||||
- Remove "Require: perl".
|
||||
|
||||
* Mon Aug 20 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-3
|
||||
- Add Provides: perl-gettext (RH bugzilla PR 165885).
|
||||
|
||||
* Tue Aug 09 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-2
|
||||
- Add BuildRequires: gettext.
|
||||
|
||||
* Sun Aug 07 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-1
|
||||
- FE submission.
|
||||
|
||||
* Thu Aug 04 2005 Ralf Corsepius <ralf@links2linux.de> - 1.05-0
|
||||
- Initial rpm.
|
||||
Loading…
Reference in New Issue
Block a user