2007-11-22 03:42:02 +00:00
|
|
|
#
|
2009-12-04 08:38:56 +00:00
|
|
|
# spec file for package perl-libintl-perl (Version 1.20)
|
2007-11-22 03:42:02 +00:00
|
|
|
#
|
2010-01-09 10:52:20 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-11-22 03:42:02 +00:00
|
|
|
#
|
2009-06-18 15:07:51 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-11-22 03:42:02 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:07:51 +00:00
|
|
|
|
2007-11-22 03:42:02 +00:00
|
|
|
Name: perl-libintl-perl
|
2007-11-25 11:08:24 +00:00
|
|
|
Requires: gettext-runtime >= 0.12.2
|
2007-11-22 03:42:02 +00:00
|
|
|
Url: http://search.cpan.org/~guido/libintl-perl
|
2009-12-04 08:38:56 +00:00
|
|
|
License: LGPLv2.1+
|
2007-11-22 03:42:02 +00:00
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
AutoReqProv: on
|
|
|
|
Summary: Internationalization Library for Perl
|
2009-12-04 08:38:56 +00:00
|
|
|
Version: 1.20
|
2010-10-19 11:15:23 +00:00
|
|
|
Release: 7
|
2007-11-22 03:42:02 +00:00
|
|
|
Source: libintl-perl-%{version}.tar.bz2
|
|
|
|
Source1: libintl-perl-rpmlintrc
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:39:36 +00:00
|
|
|
%{perl_requires}
|
2010-10-19 08:46:25 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:39:36 +00:00
|
|
|
BuildRequires: perl-macros
|
2007-11-22 03:42:02 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is an internationalization library for Perl that aims to be
|
|
|
|
compatible with the Uniforum message translations system as implemented
|
|
|
|
for example in GNU gettext.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Guido Flohr <guido@imperia.net
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libintl-perl-%{version}
|
|
|
|
chmod -x lib/Locale/{gettext_pp,TextDomain,Messages}.pm
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
2010-01-09 10:52:20 +00:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-11-22 03:42:02 +00:00
|
|
|
|
|
|
|
%check
|
2009-07-29 15:08:04 +00:00
|
|
|
%ifarch %arm
|
|
|
|
# This test blocks the qemu-arm and the worker gets stalled. Needs more attention.
|
|
|
|
rm ./tests/04find_domain_bug.t
|
|
|
|
%endif
|
2007-11-22 03:42:02 +00:00
|
|
|
make test
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %buildroot
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc FAQ NEWS README TODO ChangeLog THANKS
|
2009-12-04 08:38:56 +00:00
|
|
|
%{perl_vendorlib}/Locale
|
|
|
|
%{perl_vendorarch}/auto/Locale
|
2007-11-22 03:42:02 +00:00
|
|
|
%{perl_vendorarch}/auto/libintl-perl
|
|
|
|
%doc %{_mandir}/man3/*.3pm.gz
|
|
|
|
%doc sample
|
2007-11-25 11:08:24 +00:00
|
|
|
|
2007-11-22 03:42:02 +00:00
|
|
|
%changelog
|