diff --git a/deco-archive-zoo.diff b/deco-archive-zoo.diff new file mode 100644 index 0000000..499b8eb --- /dev/null +++ b/deco-archive-zoo.diff @@ -0,0 +1,8 @@ +diff -rupN deco-archive-1.4.old/zoo/extract deco-archive-1.4/zoo/extract +--- deco-archive-1.4.old/zoo/extract 2009-01-18 08:04:29.000000000 -0500 ++++ deco-archive-1.4/zoo/extract 2009-04-04 21:08:44.000000000 -0400 +@@ -1,3 +1,3 @@ + #!/bin/sh + +-exec zoo x${Verbose-q} "$1" ++exec unzoo -x "$1" >/dev/null diff --git a/deco-archive.spec b/deco-archive.spec index 112bb86..97abd91 100644 --- a/deco-archive.spec +++ b/deco-archive.spec @@ -1,6 +1,6 @@ Name: deco-archive Version: 1.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extraction scripts for various archive formats for use of deco Group: Applications/Archiving License: GPLv3 @@ -12,6 +12,9 @@ Patch0: deco-archive-ape.diff # Use ffmpeg instead of non-free shorten decoder, which is not available # in Fedora Patch1: deco-archive-shn.diff +# Use unzoo instead of zoo to extract zoo archives. The latter is not available +# in Fedora +Patch2: deco-archive-zoo.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -26,6 +29,7 @@ formats to the deco file extraction framework. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build echo "Nothing to build." @@ -61,7 +65,7 @@ rm -rf %{buildroot} %define do_triggerun() ( [ $2 -gt 0 ] && [ $1 -gt 0 ] ) || (for i in %1; do ( rm -f %{_var}/lib/deco/$i || : ); done;) # Not handled (yet?): -# dpkg-deb (deb,udeb), zoo +# dpkg-deb (deb,udeb) %triggerin -- binutils %do_triggerin {a,ar} @@ -148,13 +152,21 @@ rm -rf %{buildroot} %triggerun -- unalz %do_triggerun alz +%triggerin -- unzoo +%do_triggerin zoo +%triggerun -- unzoo +%do_triggerun zoo + %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE CREDITS NEWS README %{_datadir}/%{name} %changelog -* Mon Jan 19 2009 Orcan Ogetbil 1.4 +* Sat Apr 04 2009 Orcan Ogetbil 1.4-2 +- Handle .zoo format with unzoo (if installed) + +* Mon Jan 19 2009 Orcan Ogetbil 1.4-1 - Version update. New extensions: gem and tbz2 - Handle .shn format (shorten) with ffmpeg (if installed) - Handle .alz format with unalz (if installed)