Name: unzoo Version: 4.4 Release: 31%{?dist} Summary: ZOO archive extractor License: Public Domain URL: http://archives.math.utk.edu/software/multi-platform/gap/util/unzoo.c Source0: http://archives.math.utk.edu/software/multi-platform/gap/util/unzoo.c Patch0: unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch Patch1: unzoo-directory-points-backward.patch Patch2: unzoo-warning-fixes.patch BuildRequires: gcc %description 'unzoo' is a zoo archive extractor. A zoo archive is a file that contains several files, called its members, usually in compressed form to save space. 'unzoo' can list all or selected members or extract all or selected members, i.e., uncompress them and write them to files. It cannot add new members or delete members. For this you need the zoo archiver, called 'zoo', written by Rahul Dhesi. %prep %setup -Tc -n %{name}-%{version} cp -a %{SOURCE0} . cat %{SOURCE0} | sed -e '/SYNTAX/,/\*\//!d' | cut -c5- > unzoo.txt %patch0 -p1 -b .strncpy %patch1 -p1 -b .revdir %patch2 -p1 -b .warnings %build gcc %{optflags} -o unzoo -DSYS_IS_UNIX unzoo.c %install rm -rf %{buildroot} # Install binaries install -Dpm 755 unzoo %{buildroot}%{_bindir}/unzoo %files %{_bindir}/unzoo %doc unzoo.txt %changelog * Sat Jul 23 2022 Fedora Release Engineering - 4.4-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 4.4-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 4.4-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 4.4-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 4.4-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 4.4-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 4.4-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 4.4-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 4.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 4.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 4.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 4.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 4.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 4.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 4.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Mar 30 2015 John W. Linville - 4.4-16 - Replace strcpy/strcat with strncpy/strncat to avoid some buffer overflows - Check for backward-pointing directory entries to avoid endless looping - Fix _most_ of the compiler warnings * Mon Aug 18 2014 Fedora Release Engineering - 4.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 4.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 4.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 4.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sun Jul 22 2012 Fedora Release Engineering - 4.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 4.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 4.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jul 26 2009 Fedora Release Engineering - 4.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Mar 26 2009 John W. Linville - 4.4-4 - Copy source to build directory so it is included in debuginfo * Thu Mar 26 2009 John W. Linville - 4.4-3 - Use setup macro in prep phase (cleaner spec, generates debuginfo) - Add release info in changelog * Wed Mar 25 2009 John W. Linville - 4.4-2 - Revise in accordance with new package review comments * Mon Mar 23 2009 John W. Linville - 4.4-1 - Initial release for Fedora