3 Summary: Locale::gettext Perl module - message handling functions
4 Summary(pl.UTF-8): Moduł Perla Locale::gettext - funkcje do obsługi komunikatów
5 Name: perl-Locale-gettext
8 License: GPL or Artistic
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/Locale/%{pnam}-%{version}.tar.gz
11 # Source0-md5: bc652758af65c24500f1d06a77415019
12 URL: http://search.cpan.org/dist/gettext/
13 BuildRequires: perl-devel >= 1:5.8.0
14 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRequires: rpmbuild(macros) >= 1.745
16 Obsoletes: perl-gettext
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Locale::gettext is a Perl 5 module quickly written to gain access to
21 the C library functions for internatialization. They work just like
24 %description -l pl.UTF-8
25 Locale::gettext jest modułem Perla umożliwiającym dostęp do funkcji
26 ułatwiających umiędzynarodowienie programów. Działają one tak samo
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
37 OPTIMIZE="%{rpmcflags}" \
38 LDDLFLAGS="%{rpmcflags} -shared"
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{perl_vendorarch}/Locale/gettext.pm
53 %dir %{perl_vendorarch}/auto/Locale/gettext
54 %attr(755,root,root) %{perl_vendorarch}/auto/Locale/gettext/gettext.so
55 %{_mandir}/man3/Locale::gettext.3pm*