]> git.pld-linux.org Git - packages/perl-PerlIO-gzip.git/blame - perl-PerlIO-gzip.spec
- rebuild with perl 5.24.0
[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
20b305ce 12Release: 10
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
7ad81f14 18Patch0: config_usesfio.patch
455a2b6d 19URL: http://search.cpan.org/dist/PerlIO-gzip/
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25PerlIO::gzip provides a PerlIO layer that manipulates files in the
26format used by the gzip program. Compression and Decompression are
27implemented, but not together. If you attempt to open a file for
28reading and writing the open will fail.
29
30%description -l pl.UTF-8
31PerlIO::gzip dostarcza wartstwę PerlIO, która potrafi operować na
32plikach w formatach używanych przez program gzip.
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
7ad81f14 36%patch0 -p1
455a2b6d 37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41%{__make} \
42 CC="%{__cc}" \
43 OPTIMIZE="%{rpmcflags}"
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
59%{perl_vendorarch}/PerlIO/*.pm
60%dir %{perl_vendorarch}/auto/PerlIO/gzip
455a2b6d 61%attr(755,root,root) %{perl_vendorarch}/auto/PerlIO/gzip/*.so
62%{_mandir}/man3/*
This page took 0.069815 seconds and 4 git commands to generate.