]> git.pld-linux.org Git - packages/perl-Locale-Msgcat.git/blame - perl-Locale-Msgcat.spec
- rebuild with perl 5.26
[packages/perl-Locale-Msgcat.git] / perl-Locale-Msgcat.spec
CommitLineData
fac2adb5 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
ba002a10 5%include /usr/lib/rpm/macros.perl
e4237699 6%define pdir Locale
7%define pnam Msgcat
61335e00 8Summary: Locale::Msgcat - access the XPG4 message catalog functions
4910f9b1 9Summary(pl.UTF-8): Locale::Msgcat - dostęp do funkcji katalogów komunikatów XPG4
ba002a10 10Name: perl-Locale-Msgcat
11Version: 1.03
135efd9f 12Release: 17
b715f75f 13# same as perl
14License: GPL v1+ or Artistic
ba002a10 15Group: Development/Languages/Perl
16523a67 16Source0: http://www.cpan.org/modules/by-module/Locale/%{pnam}-%{version}.tar.gz
ae99c2bd 17# Source0-md5: 8dbfee7b81e94cf946c9f28ab0bc5291
16523a67 18URL: http://search.cpan.org/dist/Locale-Msgcat/
ea600723 19BuildRequires: perl-devel >= 1:5.8.0
b4d4e6fb 20BuildRequires: rpm-perlprov
cbf29165 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ba002a10 22
23%description
150e9c59 24The Locale::Msgcat module allows access to the XPG4 message catalog
6ca96b10 25functions (catopen(3), catgets(3) and catclose(3)), which are
69b5fa2c 26available on some systems.
ba002a10 27
74b66156
JR
28%description -l pl.UTF-8
29Moduł Locale::Msgcat oferuje dostęp do katalogu komunikatów XPG4
30poprzez funkcje catopen(3), catgets(3) and catclose(3), dostępne na
31niektórych systemach.
6d80457d 32
ba002a10 33%prep
32eb1300 34%setup -q -n %{pnam}-%{version}
ba002a10 35
36%build
69b5fa2c 37%{__perl} Makefile.PL \
b837831f 38 INSTALLDIRS=vendor
fac2adb5 39%{__make} \
031a9c33 40 CC="%{__cc}" \
fac2adb5 41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
ba002a10 44
ba002a10 45%install
46rm -rf $RPM_BUILD_ROOT
ba002a10 47
fac2adb5 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
ba002a10 50
32eb1300 51%clean
553f22f7 52rm -rf $RPM_BUILD_ROOT
53
32eb1300 54%files
ba002a10 55%defattr(644,root,root,755)
1ae5a69d 56%{perl_vendorarch}/Locale/*.pm
57%dir %{perl_vendorarch}/auto/Locale/Msgcat
1ae5a69d 58%attr(755,root,root) %{perl_vendorarch}/auto/Locale/Msgcat/*.so
This page took 0.211498 seconds and 4 git commands to generate.