Name: milkytracker Version: 1.03.00 Release: 7%{?dist} Summary: Module tracker software for creating music License: GPLv3+ URL: http://www.milkytracker.org/ Source0: https://github.com/milkytracker/MilkyTracker/archive/v%{version}.tar.gz Patch0: milkytracker-1.03.00-c++11.patch BuildRequires: make BuildRequires: SDL2-devel BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: rtmidi-devel BuildRequires: zlib-devel BuildRequires: zziplib-devel BuildRequires: jack-audio-connection-kit-devel %description MilkyTracker is an application for creating music in the .MOD and .XM formats. Its goal is to be free replacement for the popular Fasttracker II software. %prep %setup -q -n MilkyTracker-%{version} %patch0 -p1 find . -regex '.*\.\(cpp\|h\|inl\)' -print0 | xargs -0 chmod 644 %build %{cmake} -DBUILD_SHARED_LIBS:BOOL=OFF %cmake_build %install rm -rf %{buildroot} cd %{_vpath_builddir} make install DESTDIR=%{buildroot} cd .. # move the documentation directory (version 1.01.00 started installing # it as MilkyTracker instead of milkytracker and we want to keep the # name in sync with the package name) mv -v %{buildroot}%{_docdir}/MilkyTracker %{buildroot}%{_pkgdocdir} # copy the icon mkdir -p %{buildroot}%{_datadir}/pixmaps cp -p resources/pictures/carton.png %{buildroot}%{_datadir}/pixmaps/milkytracker.png # copy the desktop file desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications/ resources/milkytracker.desktop # copy the appdata file install -v -D -m 644 resources/milkytracker.appdata %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.appdata.xml %files %{_bindir}/milkytracker %{_datadir}/applications/%{name}.desktop %{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/pixmaps/milkytracker.png %{_datadir}/%{name} %{_pkgdocdir} %changelog * Thu Jul 20 2023 Fedora Release Engineering - 1.03.00-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Apr 04 2023 Joonas Sarajärvi - 1.03.00-6 - Rebuild for rtmidi 5 * Mon Feb 27 2023 Joonas Sarajärvi - 1.03.00-5 - Rebuild with C++11, in order to be compatible with rtmidi-5.0.0 * Thu Jan 19 2023 Fedora Release Engineering - 1.03.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.03.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.03.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Oct 10 2021 Joonas Sarajärvi - 1.03.00-1 - New upstream release - MilkyTracker 1.03 * Thu Jul 22 2021 Fedora Release Engineering - 1.02.00-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.02.00-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Oct 26 2020 Joonas Sarajärvi - 1.02.00-9 - Fix #1864134 - FTBFS in Fedora rawhide/f33 * Sat Aug 01 2020 Fedora Release Engineering - 1.02.00-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.02.00-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.02.00-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Nov 24 2019 Joonas Sarajärvi - 1.02.00-5 - Add security fix for CVE-2019-14464 (rhbz 1771387 1771388) * Thu Jul 25 2019 Fedora Release Engineering - 1.02.00-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.02.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.02.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Feb 25 2018 Joonas Sarajärvi - 1.02.00-1 - New upstream version - Bug fixes - 99 channel MOD support * Sat Feb 17 2018 Joonas Sarajärvi - 1.01.00-1 - New upstream version - Add security fix for upstream issue 15 (rhbz 1545501 1545502) * Thu Feb 08 2018 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 01 2018 Joonas Sarajärvi - 1.0.0-5 - Install appdata.xml file supplied by upstream, BZ 1476514 * Thu Nov 02 2017 Joonas Sarajärvi - 1.0.0-4 - Rebuild for rtmidi 3.0.0 * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Mar 20 2017 Joonas Sarajärvi - 1.0.0-1 - New upstream release - Port to SDL 2 - Use system-wide zziplib - Resolves: rhbz#1434086 * Tue Feb 28 2017 Joonas Sarajärvi - 0.90.86-5 - Fix build error related to passing unsigned integer to abs() * Fri Feb 10 2017 Fedora Release Engineering - 0.90.86-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jun 28 2016 Joonas Sarajärvi - 0.90.86-3 - Rebuilt to make the package available after unretirement * Thu Feb 04 2016 Fedora Release Engineering - 0.90.86-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 30 2016 Joonas Sarajärvi - 0.90.86-1 - Updated to new upstream release - Use bundled copy of zziplib - Zip file support was fixed (bz #1270882) * Wed Jun 17 2015 Fedora Release Engineering - 0.90.85-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.90.85-10 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.90.85-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.90.85-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.90.85-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Toshio Kuratomi - 0.90.85-6 - Remove the --vendor flag from desktop-file-install https://fedorahosted.org/fesco/ticket/1077 * Thu Feb 14 2013 Fedora Release Engineering - 0.90.85-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Aug 03 2012 Joonas Sarajärvi - 0.90.85-4 - Fix build error from invalid C++ type conversions * Fri Jul 20 2012 Fedora Release Engineering - 0.90.85-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.90.85-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jun 08 2011 Joonas Sarajärvi - 0.90.85-1 - Update to upstream version 0.90.85 - Redo the build system tweaks to avoid using bundled zziplib - Fix integer type errors * Tue Feb 08 2011 Fedora Release Engineering - 0.90.80-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jul 25 2009 Fedora Release Engineering - 0.90.80-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.90.80-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri May 30 2008 Mamoru Tasaka - 0.90.80-3 - Use system-wide zziplib (zlib is not used directly) * Mon May 26 2008 Joonas Sarajärvi - 0.90.80-2 - Set Source0 to use macros for easier updating. - Removed the --without-jack configuration option. - Added -p to the cp command to preserve the timestamp. - Replaced /usr/share with a macro. - Added a line to prep to set correct permissions for source files extracted from the tarball. - Modified a Makefile.am to not compile the included static zlib library. * Sat May 3 2008 Joonas Sarajärvi - 0.90.80-1 - Initial RPM release.