forked from pool/perl-PerlIO-gzip
65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
![]() |
%define modname PerlIO-gzip
|
||
|
Name: perl-%{modname}
|
||
|
Version: 0.17
|
||
|
Release: 4
|
||
|
Summary: Perl extension to provide a PerlIO layer to gzip/gunzip
|
||
|
Requires: perl = %{perl_version}
|
||
|
BuildRequires: perl
|
||
|
License: GPL/Artistic
|
||
|
Group: Development/Libraries/Perl
|
||
|
Source: %{modname}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
||
|
%description
|
||
|
PerlIO::gzip provides a PerlIO layer that manipulates files in the format used
|
||
|
by the gzip program.
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Nicholas Clark <nick@talking.bollo.cx>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{modname}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
make
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
rm -rf %{buildroot}
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc README Changes
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{perl_vendorarch}/PerlIO/gzip.pm
|
||
|
%{perl_vendorarch}/auto/PerlIO/gzip
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
|
||
|
* Tue Jun 20 2006 - James Oakley <jfunk@funktronics.ca> - 0.17-4
|
||
|
- Build under buildservice
|
||
|
|
||
|
* Fri Nov 11 2005 - James Oakley <jfunk@funktronics.ca> - 0.17-ft.3
|
||
|
- Build for SL10
|
||
|
|
||
|
* Thu May 12 2005 - James Oakley <jfunk@funktronics.ca> - 0.17-ft.2
|
||
|
- Build for SL93
|
||
|
|
||
|
* Fri Nov 19 2004 - James Oakley <jfunk@funktronics.ca> - 0.17-ft.1
|
||
|
- Update
|
||
|
- Build for SL92
|
||
|
|
||
|
* Tue May 11 2004 - James Oakley <jfunk@funktronics.ca> - 0.15-2
|
||
|
- Build for SL91
|
||
|
|
||
|
* Mon Dec 01 2003 - James Oakley <jfunk@funktronics.ca> - 0.15-1
|
||
|
- Initial release
|