]> git.pld-linux.org Git - packages/perl-Locale-gettext.git/blame - perl-Locale-gettext.spec
- tabs in preamble
[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
e44fb568 8Release: 1
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
3655e272 13URL: http://search.cpan.org/dist/gettext/
c0a403f6 14BuildRequires: perl-devel >= 1:5.8.0
bab00714 15BuildRequires: rpm-perlprov >= 4.1-13
ed4aca8b 16Obsoletes: perl-gettext
5782472e
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
82cb60fc 20Locale::gettext is a Perl 5 module quickly written to gain access to
ed4aca8b 21the C library functions for internatialization. They work just like
22the C versions.
5782472e 23
bbe837ae
JR
24%description -l pl.UTF-8
25Locale::gettext jest modułem Perla umożliwiającym dostęp do funkcji
26ułatwiających umiędzynarodowienie programów. Działają one tak samo
ed4aca8b 27jak ich wersje w C.
5782472e
JB
28
29%prep
30%setup -q -n %{pnam}-%{version}
31
32%build
bab00714 33%{__perl} Makefile.PL \
80afcb2c 34 INSTALLDIRS=vendor
fba3ea8b 35%{__make} \
02f32d58 36 OPTIMIZE="%{rpmcflags}" \
37 LDDLFLAGS="%{rpmcflags} -shared"
5782472e
JB
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
fba3ea8b 42%{__make} install \
43 DESTDIR=$RPM_BUILD_ROOT
5782472e
JB
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc README
bab00714 51%{perl_vendorarch}/Locale/*
52%dir %{perl_vendorarch}/auto/Locale/gettext
53%{perl_vendorarch}/auto/Locale/gettext/*.bs
54%attr(755,root,root) %{perl_vendorarch}/auto/Locale/gettext/*.so
5782472e 55%{_mandir}/man3/*
This page took 0.038708 seconds and 4 git commands to generate.