package created by autospec [release 0.21-1mamba;Sun Feb 20 2011]
This commit is contained in:
parent
a361221664
commit
d84bc117ed
@ -1,2 +1,5 @@
|
|||||||
# perl-Locale-PO
|
# perl-Locale-PO
|
||||||
|
|
||||||
|
This module simplifies management of GNU gettext .po files and is an alternative to using emacs po-mode. It
|
||||||
|
provides an object-oriented interface in which each entry in a .po file is a Locale::PO object.
|
||||||
|
|
||||||
|
52
perl-Locale-PO.spec
Normal file
52
perl-Locale-PO.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Locale-PO
|
||||||
|
Version: 0.21
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Locale::PO - Perl module for manipulating .po entries from GNU gettext
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: gil <puntogil@libero.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/K/KE/KEN/Locale-PO-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(File::Slurp)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module simplifies management of GNU gettext .po files and is an alternative to using emacs po-mode. It
|
||||||
|
provides an object-oriented interface in which each entry in a .po file is a Locale::PO object.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Locale-PO-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*.3pm.gz
|
||||||
|
%doc Changes README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Feb 20 2011 gil <puntogil@libero.it> 0.21-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user