]> git.pld-linux.org Git - packages/perl-Locale-gettext.git/blame - perl-Locale-gettext.spec
- release 7
[packages/perl-Locale-gettext.git] / perl-Locale-gettext.spec
CommitLineData
5782472e 1%include /usr/lib/rpm/macros.perl
7c0afdf0 2%define pdir Locale
3%define pnam gettext
3655e272 4Summary: Locale::gettext Perl module - message handling functions
ff5f6ab3 5Summary(pl.UTF-8): Moduł Perla Locale::gettext - funkcje do obsługi komunikatów
5782472e 6Name: perl-Locale-gettext
cb770c7f 7Version: 1.05
27b1c1b8 8Release: 7
82cb60fc 9License: GPL or Artistic
5782472e 10Group: Development/Languages/Perl
54e9130e 11Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
cb770c7f 12# Source0-md5: f3d3f474a1458f37174c410dfef61a46
7ba62022 13Patch0: perl510.patch
3655e272 14URL: http://search.cpan.org/dist/gettext/
c0a403f6 15BuildRequires: perl-devel >= 1:5.8.0
bab00714 16BuildRequires: rpm-perlprov >= 4.1-13
ed4aca8b 17Obsoletes: perl-gettext
5782472e
JB
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
82cb60fc 21Locale::gettext is a Perl 5 module quickly written to gain access to
ed4aca8b 22the C library functions for internatialization. They work just like
23the C versions.
5782472e 24
bbe837ae
JR
25%description -l pl.UTF-8
26Locale::gettext jest modułem Perla umożliwiającym dostęp do funkcji
27ułatwiających umiędzynarodowienie programów. Działają one tak samo
ed4aca8b 28jak ich wersje w C.
5782472e
JB
29
30%prep
31%setup -q -n %{pnam}-%{version}
7ba62022 32%patch0 -p1
5782472e
JB
33
34%build
bab00714 35%{__perl} Makefile.PL \
80afcb2c 36 INSTALLDIRS=vendor
fba3ea8b 37%{__make} \
97e7727d 38 CC="%{__cc}" \
02f32d58 39 OPTIMIZE="%{rpmcflags}" \
40 LDDLFLAGS="%{rpmcflags} -shared"
5782472e
JB
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
fba3ea8b 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
5782472e
JB
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc README
bab00714 54%{perl_vendorarch}/Locale/*
55%dir %{perl_vendorarch}/auto/Locale/gettext
56%{perl_vendorarch}/auto/Locale/gettext/*.bs
57%attr(755,root,root) %{perl_vendorarch}/auto/Locale/gettext/*.so
5782472e 58%{_mandir}/man3/*
This page took 0.039433 seconds and 4 git commands to generate.