3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Locale::Msgcat - access the XPG4 message catalog functions
9 Summary(pl.UTF-8): Locale::Msgcat - dostęp do funkcji katalogów komunikatów XPG4
10 Name: perl-Locale-Msgcat
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Locale/%{pnam}-%{version}.tar.gz
17 # Source0-md5: 8dbfee7b81e94cf946c9f28ab0bc5291
18 URL: http://search.cpan.org/dist/Locale-Msgcat/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The Locale::Msgcat module allows access to the XPG4 message catalog
25 functions (catopen(3), catgets(3) and catclose(3)), which are
26 available on some systems.
28 %description -l pl.UTF-8
29 Moduł Locale::Msgcat oferuje dostęp do katalogu komunikatów XPG4
30 poprzez funkcje catopen(3), catgets(3) and catclose(3), dostępne na
34 %setup -q -n %{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 OPTIMIZE="%{rpmcflags}"
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %{perl_vendorarch}/Locale/*.pm
57 %dir %{perl_vendorarch}/auto/Locale/Msgcat
58 %attr(755,root,root) %{perl_vendorarch}/auto/Locale/Msgcat/*.so