# Tag: MIDI, FM, Tracker # Type: Standalone # Category: Audio, Synthesizer, Sequencer # Global variables for github repository %global commit0 0b96ba56379eb179423e9dcbec31a08bf0326c9f %global gittag0 master %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: protrekkr Version: 1.0.0 Release: 4%{?dist} Summary: A jack tracker License: GPLv2+ URL: https://github.com/falkTX/protrekkr Vendor: Audinux Distribution: Audinux Source0: https://github.com/falkTX/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz Source1: protrekkr-makefile.linux Patch0: protrekkr-0001-set-config-file-paths.patch BuildRequires: gcc gcc-c++ make BuildRequires: alsa-lib-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: SDL-devel BuildRequires: zlib-devel BuildRequires: desktop-file-utils %description A jack tracker %prep %autosetup -p1 -n %{name}-%{commit0} cp %SOURCE1 makefile.linux sed -i -e "12,14d" src/extralibs/sdl_draw/makefile.linux sed -i -e "s/FLAGS = -O2/FLAGS = \$(CXXFLAGS)/g" src/extralibs/sdl_draw/makefile.linux sed -i -e "s/-Wno-format -O3/-Wno-format -O3 -fPIC/g" src/extralibs/tinyxml/Makefile %build %set_build_flags export CFLAGS=`echo -fPIC $CFLAGS | sed -e "s/-Werror=format-security//g"` export CXXFLAGS=`echo -fPIC $CXXFLAGS | sed -e "s/-Werror=format-security//g"` cd src/extralibs/sdl_draw %make_build -f makefile.linux cd ../../.. %make_build -f makefile.linux %install install -m 755 -d %{buildroot}/%{_datadir}/applications/ cat > %{buildroot}/%{_datadir}/applications/%{name}.desktop < - 1.0.0-4 - fix hangs due to tinyxml * Fri Oct 23 2020 Yann Collette - 1.0.0-3 - fix debug build * Mon Aug 31 2020 Yann Collette - 1.0.0-2 - update to master - remove internal zlib dependency + cleanup * Mon Oct 15 2018 Yann Collette - 1.0.0-1 - update for Fedora 29 * Sat Jun 06 2015 Yann Collette - 1.0.0-1 - Initial build