forked from pool/perl-IO-Compress
- version 2.027 new package,
hacking our way into a conflict with perl itself: bnc#617621 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Compress?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
IO-Compress-2.027.tar.gz
Normal file
3
IO-Compress-2.027.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8e187329460c5678b3d5d3717f0ec5bf893fedf8a36aeac7623833ce1ceeb141
|
||||||
|
size 212022
|
6
perl-IO-Compress.changes
Normal file
6
perl-IO-Compress.changes
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 25 22:21:31 UTC 2010 - jw@novell.com
|
||||||
|
|
||||||
|
- version 2.027 new package,
|
||||||
|
hacking our way into a conflict with perl itself: bnc#617621
|
||||||
|
|
77
perl-IO-Compress.spec
Normal file
77
perl-IO-Compress.spec
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
|
||||||
|
Name: perl-IO-Compress
|
||||||
|
Version: 2.027
|
||||||
|
Release: 0%{?dist}
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Compress-Zlib, IO-Compress-{Zlib,Bzip2,Base}
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-%{version}.tar.gz
|
||||||
|
Url: http://search.cpan.org/dist/IO-Compress
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Requires: perl = %(eval "`%{__perl} -V:version`"; echo $version)
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl(Compress::Raw::Bzip2) >= 2.027
|
||||||
|
BuildRequires: perl(Compress::Raw::Zlib) >= 2.027
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
This distribution provides a Perl interface to allow reading and writing of
|
||||||
|
compressed data created with the zlib and bzip2 libraries.
|
||||||
|
|
||||||
|
IO-Compress supports reading and writing of bzip2, RFC 1950, RFC
|
||||||
|
1951, RFC 1952 (i.e. gzip) and zip files/buffers.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n IO-Compress-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
if [ -f Build.PL ]; then
|
||||||
|
%{__perl} Build.PL --installdirs vendor
|
||||||
|
else
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
fi
|
||||||
|
if [ -f Build.PL ]; then
|
||||||
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
else
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
fi
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
if [ -f Build.PL ]; then
|
||||||
|
./Build pure_install --destdir %{buildroot}
|
||||||
|
else
|
||||||
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
|
fi
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_mandir}/man3/ %{buildroot}/usr/bin
|
||||||
|
touch %{buildroot}/%{_mandir}/man3/IO-Compress.3pm.gz
|
||||||
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
if [ -f Build.PL ]; then
|
||||||
|
./Build test
|
||||||
|
else
|
||||||
|
make test
|
||||||
|
fi
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README Changes
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man*/*.*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jun 26 2010 %{packager} 2.027-0
|
||||||
|
- initial SUSE packaging
|
||||||
|
- generated with cpan2dist (CPANPLUS::Dist::SUSE version 0.0.8)
|
||||||
|
|
Reference in New Issue
Block a user