]> git.pld-linux.org Git - packages/perl-PerlIO-gzip.git/blame - perl-PerlIO-gzip.spec
- rebuild for perl 5.20
[packages/perl-PerlIO-gzip.git] / perl-PerlIO-gzip.spec
CommitLineData
455a2b6d 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4224bca1
ER
4
5%define pdir PerlIO
6%define pnam gzip
455a2b6d 7%include /usr/lib/rpm/macros.perl
455a2b6d 8Summary: PerlIO::gzip - Perl extension to provide a PerlIO layer to gzip/gunzip
9Summary(pl.UTF-8): PerlIO::gzip - rozszerzenie perla dostarczające warstwę PerlIO do operacji gzip/gunzip
10Name: perl-PerlIO-gzip
11Version: 0.18
9f9ac1ce 12Release: 5
455a2b6d 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 933fdf283a0d2739f7630420569e3b24
18URL: http://search.cpan.org/dist/PerlIO-gzip/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24PerlIO::gzip provides a PerlIO layer that manipulates files in the
25format used by the gzip program. Compression and Decompression are
26implemented, but not together. If you attempt to open a file for
27reading and writing the open will fail.
28
29%description -l pl.UTF-8
30PerlIO::gzip dostarcza wartstwę PerlIO, która potrafi operować na
31plikach w formatach używanych przez program gzip.
32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39%{__make} \
40 CC="%{__cc}" \
41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} pure_install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Changes README
57%{perl_vendorarch}/PerlIO/*.pm
58%dir %{perl_vendorarch}/auto/PerlIO/gzip
59%{perl_vendorarch}/auto/PerlIO/gzip/*.bs
60%attr(755,root,root) %{perl_vendorarch}/auto/PerlIO/gzip/*.so
61%{_mandir}/man3/*
This page took 0.112302 seconds and 4 git commands to generate.