Summary: Chiptune tracker for making chiptune-like music on a modern computer. Name: protracker2 Version: 1.04 Release: 3%{?dist} License: GPL Group: Applications/Multimedia URL: https://16-bits.org/pt.php Source0: https://github.com/8bitbubsy/pt2-clone/archive/v%{version}.tar.gz#/pt2-clone-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc gcc-c++ BuildRequires: make BuildRequires: cmake BuildRequires: alsa-lib-devel BuildRequires: desktop-file-utils BuildRequires: SDL2-devel %description ProTracker2 is a chiptune tracker for making chiptune-like music on a modern computer. Obsoletes: protracker %prep %setup -qn pt2-clone-%{version} %build mkdir -p build cd build %cmake -DCMAKE_BUILD_TYPE=RELEASE .. make DESTDIR=%{buildroot} PREFIX=/usr %{?_smp_mflags} %install %{__rm} -rf %{buildroot} cd build make DESTDIR=%{buildroot} PREFIX=/usr install mv %{buildroot}/%{_bindir}/pt2-clone %{buildroot}/%{_bindir}/protracker2 cat > %{buildroot}/%{_bindir}/%{name}-jack < %{buildroot}/%{_bindir}/%{name}-pulse < %{buildroot}/%{_bindir}/%{name}-alsa <&/dev/null || : %postun update-desktop-database -q if [ $1 -eq 0 ]; then touch --no-create %{_datadir}/icons/%{name} >&/dev/null || : gtk-update-icon-cache %{_datadir}/icons/%{name} >&/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/%{name} &>/dev/null || : %files %defattr(-,root,root,-) %{_bindir}/* %{_datadir}/%{name}/* %{_datadir}/icons/* %changelog * Thu Jan 30 2020 Yann Collette - 1.04-2 - update to 1.04-2 * Fri Jan 24 2020 Yann Collette - 1.03-2 - update to 1.03-2 * Mon Jan 6 2020 Yann Collette - 1.02-2 - update to 1.02-2 * Sun Dec 29 2019 Yann Collette - 1.01-2 - update to 1.01-2. Rename protracker to protracker2 * Sat Aug 17 2019 Yann Collette 2.3r191-2 - update to revision 191 * Wed Jul 17 2019 Yann Collette 2.3r188-2 - update to revision 188 * Thu Mar 14 2019 Yann Collette 2.3r167-2 - Add pulse and jack script * Thu Mar 14 2019 Yann Collette 2.3r167-1 - Initial release of spec file