perl-libintl-perl/perl-libintl-perl.spec

91 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-libintl-perl (Version 1.16)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-libintl-perl
Requires: gettext-runtime >= 0.12.2
Url: http://search.cpan.org/~guido/libintl-perl
License: LGPL v2.1 or later
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
AutoReqProv: on
Summary: Internationalization Library for Perl
Version: 1.16
Release: 60
Source: libintl-perl-%{version}.tar.bz2
Source1: libintl-perl-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
make
%check
make test
# ---------------------------------------------------------------------------
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc FAQ NEWS README TODO ChangeLog THANKS
%dir %{perl_vendorlib}/Locale
%dir %{perl_vendorlib}/Locale/Recode
%dir %{perl_vendorarch}/auto/Locale
%{perl_vendorlib}/Locale/Messages.pm
%{perl_vendorlib}/Locale/Recode.pm
%{perl_vendorlib}/Locale/RecodeData.pm
%{perl_vendorlib}/Locale/TextDomain.pm
%{perl_vendorlib}/Locale/gettext_pp.pm
%{perl_vendorlib}/Locale/gettext_xs.pm
%{perl_vendorlib}/Locale/gettext_xs.pod
%{perl_vendorlib}/Locale/Recode
%{perl_vendorlib}/Locale/RecodeData
%{perl_vendorarch}/auto/Locale/gettext_xs
%{perl_vendorarch}/auto/libintl-perl
%doc %{_mandir}/man3/*.3pm.gz
%doc sample
/var/adm/perl-modules/%{name}
%changelog
* Sun Nov 25 2007 ro@suse.de
- adapt requires to gettext rename (gettext-runtime)
* Fri Nov 09 2007 pth@suse.de
- Initial package, needed by gettext testsuite