8
0

Accepting request 54815 from home:jnweiger:perl

update to 0.28

OBS-URL: https://build.opensuse.org/request/show/54815
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Unpack?expand=0&rev=6
This commit is contained in:
Juergen Weigert
2010-12-05 21:51:12 +00:00
committed by Git OBS Bridge
parent 87598bdad2
commit 0ca4392d19
4 changed files with 27 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:373952c12e36a4925ffc8db635b1ac93a03cb39a167c85052bba1d1b942a2029
size 58523

3
File-Unpack-0.28.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fca750744a57c32afb6056c0bb7883e6869fe2c49fb98d8365c8fa9871337bb6
size 58594

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Dec 5 21:29:31 UTC 2010 - jw@novell.com
- added /usr/bin/unpack_file as a symlink
- 0.28 Look only at files and dirs, ignore special files.
Reading a pipe could block us endlessly.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:32:27 UTC 2010 - coolo@novell.com Wed Dec 1 13:32:27 UTC 2010 - coolo@novell.com
@@ -6,9 +14,9 @@ Wed Dec 1 13:32:27 UTC 2010 - coolo@novell.com
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 24 16:22:46 UTC 2010 - jw@novell.com Fri Sep 24 16:22:46 UTC 2010 - jw@novell.com
- 0.27 new feature in mime(): attempt full file access - 0.27 new feature in mime(): attempt full file access
not only if flm reports currupt, but also when it reports not only if flm reports currupt, but also when it reports
a/octet-stream. this helps to recognize a/x-iso9660-image a/octet-stream. This helps to recognize a/x-iso9660-image
Added .iso by including my old unpack_iso.pl as a helper. Added .iso by including my old unpack_iso.pl as a helper.
Added .lha Added .lha

View File

@@ -11,11 +11,11 @@
# norootforbuild # norootforbuild
Name: perl-File-Unpack Name: perl-File-Unpack
Version: 0.27 Version: 0.28
Release: 0%{?dist} Release: 0%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Summary: An aggressive bz2/gz/zip/tar/cpio/rpm/deb/cab/lzma/7z/rar/... archive unpacker, based on mime-types Summary: An aggressive archive file unpacker, based on mime-types
Source: http://search.cpan.org/CPAN/authors/id/J/JN/JNW/File-Unpack-%{version}.tar.bz2 Source: http://search.cpan.org/CPAN/authors/id/J/JN/JNW/File-Unpack-%{version}.tar.bz2
Url: http://search.cpan.org/dist/File-Unpack Url: http://search.cpan.org/dist/File-Unpack
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -36,7 +36,9 @@ BuildRequires: perl(File::Temp)
BuildRequires: perl(File::LibMagic) BuildRequires: perl(File::LibMagic)
BuildRequires: perl(File::MimeInfo::Magic) BuildRequires: perl(File::MimeInfo::Magic)
%if 0%{?suse_version} <= 1110
BuildRequires: perl-macros BuildRequires: perl-macros
%endif
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} > 1110
# SLES11 does does not have this: # SLES11 does does not have this:
BuildRequires: perl(Compress::Raw::Lzma) BuildRequires: perl(Compress::Raw::Lzma)
@@ -66,6 +68,7 @@ Requires: perl(File::MimeInfo::Magic)
Requires: perl(Compress::Raw::Lzma) Requires: perl(Compress::Raw::Lzma)
%endif %endif
Requires: perl(Compress::Raw::Bzip2) Requires: perl(Compress::Raw::Bzip2)
Requires: perl(Compress::Raw::Zlib)
# 2.024 is provided by perl-5.12.1 in 11.3 # 2.024 is provided by perl-5.12.1 in 11.3
Requires: perl(Compress::Raw::Zlib) >= 2.024 Requires: perl(Compress::Raw::Zlib) >= 2.024
Requires: perl(BSD::Resource) Requires: perl(BSD::Resource)
@@ -98,11 +101,13 @@ Requires: xz sharutils unrar
Requires: p7zip cabextract upx genisoimage Requires: p7zip cabextract upx genisoimage
%description %description
File::Unpack is an aggressive unpacker for archive files. We call it aggressive, File::Unpack is an unpacker for archive files
because it recursivly descends into any freshly unpacked file, if it appears to be an archive itself. (bz2/gz/zip/tar/cpio/rpm/deb/cab/lzma/7z/rar/...) based on mime-types. We call
It also uncompresses files where needed. The ultimate goal of File::Unpack is it aggressive, because it recursivly descends into any freshly unpacked
to extract as much readable text (ascii or any other encoding) as possible. file, if it appears to be an archive itself. It also uncompresses files where
Most of the known archive file formats are supported. It allows simple plugins to add more. needed. The ultimate goal of File::Unpack is to extract as much readable text
(ascii or any other encoding) as possible. Most of the known archive file
formats are supported. It allows simple plugins to add more.
@@ -130,6 +135,7 @@ fi
install -D file_unpack.pl $RPM_BUILD_ROOT/usr/bin/file_unpack install -D file_unpack.pl $RPM_BUILD_ROOT/usr/bin/file_unpack
install -d $RPM_BUILD_ROOT/usr/share/File-Unpack/helper/ install -d $RPM_BUILD_ROOT/usr/share/File-Unpack/helper/
install helper/* $RPM_BUILD_ROOT/usr/share/File-Unpack/helper/ install helper/* $RPM_BUILD_ROOT/usr/share/File-Unpack/helper/
ln -s /usr/bin/file_unpack $RPM_BUILD_ROOT/usr/bin/unpack_file
# FIXME: use ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 # FIXME: use ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
# maybe then we would not need to remove the .packlist files :-) # maybe then we would not need to remove the .packlist files :-)
@@ -160,6 +166,7 @@ fi
/usr/share/File-Unpack /usr/share/File-Unpack
/usr/share/File-Unpack/* /usr/share/File-Unpack/*
/usr/bin/file_unpack /usr/bin/file_unpack
/usr/bin/unpack_file
%changelog %changelog
* Tue Aug 24 2010 jw@suse.de * Tue Aug 24 2010 jw@suse.de