diff --git a/.gitignore b/.gitignore index e69de29..d85e870 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +/game-music-emu-0.5.5.tbz2 +/game-music-emu-0.6.0.tar.bz2 +/game-music-emu-0.6.1.tar.bz2 +/game-music-emu-0.6.2.tar.xz diff --git a/game-music-emu.spec b/game-music-emu.spec new file mode 100644 index 0000000..32ee4e4 --- /dev/null +++ b/game-music-emu.spec @@ -0,0 +1,160 @@ +Name: game-music-emu +Version: 0.6.2 +Release: 3%{?dist} +Provides: libgme%{?_isa} = %{version}-%{release} +Summary: Video game music file emulation/playback library +License: LGPLv2+ +URL: https://bitbucket.org/mpyne/game-music-emu/wiki/Home +Source0: https://bitbucket.org/mpyne/game-music-emu/downloads/%{name}-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake +# needed to build the player +BuildRequires: SDL-devel + +%package devel +Summary: Development files for Game_Music_Emu +Provides: libgme-devel%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version} +Requires: pkgconfig + +%package player +Summary: Demo player utilizing Game_Music_Emu +License: MIT + + +%description +Game_Music_Emu is a collection of video game music file emulators that support +the following formats and systems: + + * AY ZX Spectrum/Amstrad CPC + * GBS Nintendo Game Boy + * GYM Sega Genesis/Mega Drive + * HES NEC TurboGrafx-16/PC Engine + * KSS MSX Home Computer/other Z80 systems (doesn't support FM sound) + * NSF/NSFE Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound) + * SAP Atari systems using POKEY sound chip + * SPC Super Nintendo/Super Famicom + * VGM/VGZ Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro + +%description devel +This package contains files needed to compile code which uses Game_Music_Emu. + +%description player +This package contains the demo player for files supported by Game_Music_Emu. + + +%prep +%setup -q +# add install rule for the player +echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player/CMakeLists.txt + + +%build +%cmake +%make_build +# explicitly build the player as it has EXCLUDE_FROM_ALL set +%make_build gme_player + + +%install +%make_install +# explicitly install the player as it has EXCLUDE_FROM_ALL set +cd player +%make_install +cd .. + + +%ldconfig_scriptlets + + +%files +%doc changes.txt readme.txt +%license license.txt +%{_libdir}/libgme.so.* + +%files devel +%doc design.txt gme.txt +%{_libdir}/libgme.so +%{_includedir}/gme/ +%{_libdir}/pkgconfig/libgme.pc + +%files player +%{_bindir}/gme_player + + +%changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Dec 18 2018 Karel Volný 0.6.2-1 +- New release 0.6.2 +- Fixes CVE-2017-17446 (rhbz#1524562) +- Update tarball url + +* Fri Jul 13 2018 Fedora Release Engineering - 0.6.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0.6.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Dec 15 2016 Karel Volný 0.6.1-1 +- New release 0.6.1 +- Fixes CVE-2016-9959 (security issues in SNES emulation) + https://scarybeastsecurity.blogspot.cz/2016/12/redux-compromising-linux-using-snes.html +- Updated URLs - project moved +- Dropped gme-0.6.0-pc-lib-suffix.patch (accepted upstream) + +* Wed Feb 03 2016 Fedora Release Engineering - 0.6.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.6.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 0.6.0-6 +- Rebuilt for GCC 5 C++11 ABI change + +* Sat Aug 16 2014 Fedora Release Engineering - 0.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Sep 20 2013 Karel Volný 0.6.0-3 +- Adjust virtual provides according to further comments on bug#1006881 + +* Fri Sep 13 2013 Karel Volný 0.6.0-2 +- Add virtual provides libgme (bug #1006881) + +* Thu Aug 22 2013 Karel Volný 0.6.0-1 +- New release +- See changes.txt for list of upstream changes +- Adds pkgconfig file (+ patch to correct path) + +* Sat Aug 03 2013 Fedora Release Engineering - 0.5.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 0.5.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.5.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 24 2011 Karel Volny 0.5.5-1 +- Initial release for Fedora 15 diff --git a/sources b/sources index e69de29..39e7955 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (game-music-emu-0.6.2.tar.xz) = 1808d28b54cbbd8dc5e3240eb27d2e546398fb62ab6577e59430a7543cfdaa06482f70b4750656b73a05f1c1bc0c0254db97d0940271ea2144724e1c44f5da10