%define debug_package %{nil} Name: unace Version: 2.5 Release: 2%{?dist} Summary: Unpacker for ACE archives License: Custom Recommends: (fileroller or engrampa) Enhances: mc BuildRequires: gcc Source: http://deb.debian.org/debian/pool/non-free/u/unace-nonfree/unace-nonfree_2.5.orig.tar.gz#/%name-%version.tar.gz Patch0: %{name}-01-only-unace.patch Patch1: %{name}-02-no-io_h.patch Patch2: %{name}-03-gcc-call.patch Patch3: %{name}-04-64bit.patch Patch4: %{name}-20-isatty.diff Patch5: %{name}-05-sformat.patch %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 touch baseace.mk unacedll.mk %build %make_build %install install -D -m 755 -t "$RPM_BUILD_ROOT"%{_bindir} unace %description A console utility to extract ACE archives. Can be integrated with some archive managers. %files %{_bindir}/unace %license licence