# Global variables for github repository %global commit0 69bd7f0e360db370bf982b4c8e16b371cc8aabfe %global gittag0 v1.02.00 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) Name: milkytracker Version: 1.02.00 Release: 1%{?dist} Summary: Module tracker software for creating music Group: Applications/Multimedia License: GPLv3+ URL: https://github.com/milkytracker/MilkyTracker Source0: https://github.com/milkytracker/MilkyTracker/archive/%{commit0}.tar.gz#/MilkyTracker-%{shortcommit0}.tar.gz Source1: %{name}.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc gcc-c++ BuildRequires: SDL2-devel BuildRequires: SDL2-static BuildRequires: desktop-file-utils BuildRequires: rtmidi-devel BuildRequires: zlib-devel BuildRequires: alsa-lib-devel BuildRequires: jack-audio-connection-kit-devel BuildRequires: cmake Provides: bundled(zziplib) = 0.13.47 %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 -qn MilkyTracker-%{commit0} %build %cmake -DCMAKE_BUILD_TYPE=RELEASE . make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} # 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 \ %if 0%{?fedora} && 0%{?fedora} < 19 --vendor fedora \ %endif --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README.md ChangeLog.md %{_bindir}/milkytracker %{_datadir}/applications/* %{_datadir}/pixmaps/milkytracker.png %{_datadir}/milkytracker/songs/* %{_datadir}/doc/MilkyTracker/* %changelog * Mon Oct 15 2018 Yann Collette 1.02.00 - Update for Fedora 29 * Sun May 13 2018 Yann Collette 1.02.00 * 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.