Upstream update.
- Reflect upstream having changed tarball name to Locale-gettext. - Rename binary package to perl-Locale-gettext. - Remove BR: per(Data::Dumper).
This commit is contained in:
parent
2bed308302
commit
2479dbdd61
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/gettext-1.06.tar.gz
|
||||
/Locale-gettext-1.07.tar.gz
|
||||
|
||||
@ -1,15 +1,18 @@
|
||||
# This package should be renamed into perl-Locale-gettext
|
||||
%global tarname Locale-gettext
|
||||
|
||||
Name: perl-gettext
|
||||
Version: 1.06
|
||||
Version: 1.07
|
||||
Release: 1%{?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
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/%{tarname}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: gettext
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: gettext
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
@ -19,17 +22,31 @@ BuildRequires: perl(POSIX)
|
||||
# Optional
|
||||
BuildRequires: perl(Encode)
|
||||
# Tests:
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Test)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
The gettext module permits access from perl to the gettext() family of
|
||||
The gettext module permits access from perl to the gettext() family of
|
||||
functions for retrieving message strings from databases constructed to
|
||||
internationalize software.
|
||||
|
||||
|
||||
%package -n perl-%{tarname}
|
||||
Summary: %{summary}
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
Obsoletes: perl-gettext < %{version}-%{release}
|
||||
Obsoletes: perl-gettext%{?_isa} < %{version}-%{release}
|
||||
Provides: perl-gettext = %{version}-%{release}
|
||||
Provides: perl-gettext%{?_isa} = %{version}-%{release}
|
||||
|
||||
|
||||
%description -n perl-%{tarname}
|
||||
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}
|
||||
%setup -q -n %{tarname}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
@ -47,7 +64,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
make test
|
||||
|
||||
|
||||
%files
|
||||
%files -n perl-%{tarname}
|
||||
%doc README
|
||||
%{perl_vendorarch}/auto/Locale
|
||||
%{perl_vendorarch}/Locale
|
||||
@ -55,6 +72,12 @@ make test
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 26 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-1
|
||||
- Upstream update.
|
||||
- Reflect upstream having changed tarball name to Locale-gettext.
|
||||
- Rename binary package to perl-Locale-gettext.
|
||||
- Remove BR: per(Data::Dumper).
|
||||
|
||||
* Thu Sep 24 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
|
||||
- Update to 1.06.
|
||||
- Remove Obsoletes: perl-Locale-gettext.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user