# # spec file for package arc # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: arc Version: 5.21q Release: 6.19 Summary: Archiving tool for arc achives License: GPL-2.0-only URL: https://github.com/ani6al/arc Source: https://github.com/ani6al/arc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: arc-5.21p-directory-traversel.patch Patch1: arc-5.21p-fix-arcdie.patch Patch2: arc-5.21p-hdrv1-read-fix.patch Patch3: https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/arc/files/arc-5.21p-fno-common.patch # /usr/bin/arc binary name conflicts Conflicts: arcanist %description This package allows you to unpack *.arc file %prep %autosetup -p1 %build %make_build OPT="%{optflags}" %install install -Dpm 0755 arc \ %{buildroot}%{_bindir}/arc install -Dpm 0755 marc \ %{buildroot}%{_bindir}/marc install -Dpm 0644 arc.1 \ %{buildroot}%{_mandir}/man1/arc.1 %files %doc Arc521.doc Arcinfo Readme %license LICENSE %{_bindir}/arc %{_bindir}/marc %{_mandir}/man1/arc.1%{?ext_man} %changelog * Mon Jun 8 2020 Cristian Rodríguez - arc-5.21p-fno-common.patch: from Gentoo, fixe FTBS with recent GCC versions. * Fri Jan 17 2020 Martin Pluskal - Cleanup package * Wed Dec 25 2019 John Vandenberg - Add Conflicts: arcanist * Thu Oct 17 2019 Richard Brown - Remove obsolete Groups tag (fate#326485) * Tue Jan 8 2019 Karol Babioch - Make use of license %%macro - Applied spec-cleaner - Added patches: * arc-5.21p-directory-traversel.patch: Fixes a directory traversal vulnerability (CVE-2015-9275 bsc#1121032) * arc-5.21p-fix-arcdie.patch: Fixed a crash on 64 bit machines when arcdie gets called with more than 1 variable argument * arc-5.21p-hdrv1-read-fix.patch: Fixed version 1 arc header reading * Tue Jan 30 2018 mpluskal@suse.com - Switch to github source - Update to version 5.21q * Tue Nov 28 2017 mpluskal@suse.com - Initial changelog entry for version 5.21p (imported from home:AndreasSchwab)