Name: tapclean Version: 0.37 Release: 1%{?dist} Summary: Commodore tape preservation and restoration tool License: GPLv2 URL: https://sourceforge.net/projects/tapclean Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tgz BuildRequires: gcc %description TAPClean is a Commodore tape preservation / restoration tool. It will check, repair, and remaster Commodore 64 and VIC 20 TAP or DC2N DMP files (tape images). %prep %autosetup -n %{name} # Fix Makefile sed -i 's/$(CC)/$(CC) $(LDFLAGS)/' src/Makefile %build pushd src %set_build_flags %make_build CFLAGS+= LDFLAGS+= popd %install # Install binary install -d %{buildroot}%{_bindir} install -p -m 0755 src/%{name} %{buildroot}%{_bindir} %files %{_bindir}/%{name} %license LICENSE %doc HISTORY README TODO %changelog * Sat Dec 15 2018 Andrea Musuruane - 0.37-1 - First release