From 0cbbf1eb2e428c390859d9649d52eb20eca65dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Voln=C3=BD?= Date: Mon, 8 Aug 2011 15:29:15 +0200 Subject: [PATCH 01/11] Initial import (#716475). --- .gitignore | 1 + game-music-emu.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 90 insertions(+) create mode 100644 game-music-emu.spec diff --git a/.gitignore b/.gitignore index e69de29..0415fa7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/game-music-emu-0.5.5.tbz2 diff --git a/game-music-emu.spec b/game-music-emu.spec new file mode 100644 index 0000000..8dea204 --- /dev/null +++ b/game-music-emu.spec @@ -0,0 +1,88 @@ +Name: game-music-emu +Version: 0.5.5 +Release: 1%{?dist} +Summary: Video game music file emulation/playback library +License: LGPLv2+ +URL: http://code.google.com/p/game-music-emu/ +Source0: http://game-music-emu.googlecode.com/files/%{name}-%{version}.tbz2 + +BuildRequires: cmake +# needed to build the player +BuildRequires: SDL-devel + +%package devel +Summary: Development files for Game_Music_Emu +Requires: %{name}%{?_isa} = %{version} + +%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 +# fix install path on systems with lib64 +sed -i -e "s/DESTINATION lib/DESTINATION %{_lib}/" gme/CMakeLists.txt +# add install rule for the player +echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player/CMakeLists.txt + + +%build +%cmake +make %{?_smp_mflags} +# explicitly build the player as it has EXCLUDE_FROM_ALL set +make %{?_smp_mflags} gme_player + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +# explicitly install the player as it has EXCLUDE_FROM_ALL set +cd player +make install DESTDIR=%{buildroot} +cd .. + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%doc changes.txt license.txt readme.txt +%{_libdir}/libgme.so.* + +%files devel +%doc design.txt gme.txt +%{_libdir}/libgme.so +%{_includedir}/gme/ + +%files player +%{_bindir}/gme_player + + +%changelog +* Fri Jun 24 2011 Karel Volny 0.5.5-1 +- Initial release for Fedora 15 diff --git a/sources b/sources index e69de29..578d943 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +94459001a763fb76209a550a03b7949e game-music-emu-0.5.5.tbz2 From bb784678bb93d6b56b25180a0cd305fd6137a07f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 20:55:31 -0600 Subject: [PATCH 02/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- game-music-emu.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 8dea204..af34425 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,6 @@ Name: game-music-emu Version: 0.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ @@ -84,5 +84,8 @@ cd .. %changelog +* 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 From ead95f35b6586205a44213313ae15726dd9d7ad6 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 18 Jul 2012 22:49:30 -0500 Subject: [PATCH 03/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- game-music-emu.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index af34425..912f7d8 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,6 @@ Name: game-music-emu Version: 0.5.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ @@ -84,6 +84,9 @@ cd .. %changelog +* 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 From 48fc5e76697e509c4d7bab4bb32b7632ae771868 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 16:14:46 -0600 Subject: [PATCH 04/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- game-music-emu.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 912f7d8..6919247 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,6 @@ Name: game-music-emu Version: 0.5.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ @@ -84,6 +84,9 @@ cd .. %changelog +* 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 From 3389056d6cc8c78b7ad6b84b1efbc18eaaa7e8ed Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 07:21:27 -0500 Subject: [PATCH 05/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- game-music-emu.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 6919247..82f2278 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,6 @@ Name: game-music-emu Version: 0.5.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ @@ -84,6 +84,9 @@ cd .. %changelog +* 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 From 5e99b292ef77a4e3d3683a8ad0d9d5c38164cc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Voln=C3=BD?= Date: Thu, 22 Aug 2013 19:14:25 +0200 Subject: [PATCH 06/11] =?UTF-8?q?*=20Thu=20Aug=2022=202013=20Karel=20Voln?= =?UTF-8?q?=C3=BD=20=200.6.0-1=20-=20New=20release=20-?= =?UTF-8?q?=20See=20changes.txt=20for=20list=20of=20upstream=20changes=20-?= =?UTF-8?q?=20Adds=20pkgconfig=20file=20(+=20patch=20to=20correct=20path)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + game-music-emu.spec | 18 +++++++++++++----- gme-0.6.0-pc-lib-suffix.patch | 8 ++++++++ sources | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 gme-0.6.0-pc-lib-suffix.patch diff --git a/.gitignore b/.gitignore index 0415fa7..077eb70 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /game-music-emu-0.5.5.tbz2 +/game-music-emu-0.6.0.tar.bz2 diff --git a/game-music-emu.spec b/game-music-emu.spec index 82f2278..81305f0 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,10 +1,11 @@ Name: game-music-emu -Version: 0.5.5 -Release: 5%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ -Source0: http://game-music-emu.googlecode.com/files/%{name}-%{version}.tbz2 +Source0: http://game-music-emu.googlecode.com/files/%{name}-%{version}.tar.bz2 +Patch0: gme-0.6.0-pc-lib-suffix.patch BuildRequires: cmake # needed to build the player @@ -13,6 +14,7 @@ BuildRequires: SDL-devel %package devel Summary: Development files for Game_Music_Emu Requires: %{name}%{?_isa} = %{version} +Requires: pkgconfig %package player Summary: Demo player utilizing Game_Music_Emu @@ -42,8 +44,8 @@ This package contains the demo player for files supported by Game_Music_Emu. %prep %setup -q -# fix install path on systems with lib64 -sed -i -e "s/DESTINATION lib/DESTINATION %{_lib}/" gme/CMakeLists.txt +# fix libgme.pc install path +%patch0 # add install rule for the player echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player/CMakeLists.txt @@ -78,12 +80,18 @@ cd .. %doc design.txt gme.txt %{_libdir}/libgme.so %{_includedir}/gme/ +%{_libdir}/pkgconfig/libgme.pc %files player %{_bindir}/gme_player %changelog +* 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 diff --git a/gme-0.6.0-pc-lib-suffix.patch b/gme-0.6.0-pc-lib-suffix.patch new file mode 100644 index 0000000..5975312 --- /dev/null +++ b/gme-0.6.0-pc-lib-suffix.patch @@ -0,0 +1,8 @@ +--- gme/CMakeLists.txt~ 2012-05-27 22:48:53.000000000 +0200 ++++ gme/CMakeLists.txt 2013-08-22 19:03:39.175649327 +0200 +@@ -159,4 +159,4 @@ + ARCHIVE DESTINATION lib) # DLL platforms + + install(FILES ${EXPORTED_HEADERS} DESTINATION include/gme) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgme.pc DESTINATION lib/pkgconfig) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgme.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig) diff --git a/sources b/sources index 578d943..434ea6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -94459001a763fb76209a550a03b7949e game-music-emu-0.5.5.tbz2 +b98fafb737bc889dc65e7a8b94bd1bf5 game-music-emu-0.6.0.tar.bz2 From e212eb2e277982be8ee504fe8fee58bad10b985e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Voln=C3=BD?= Date: Thu, 22 Aug 2013 19:19:11 +0200 Subject: [PATCH 07/11] =?UTF-8?q?*=20Thu=20Aug=2022=202013=20Karel=20Voln?= =?UTF-8?q?=C3=BD=20=200.6.0-1=20-=20New=20release=20-?= =?UTF-8?q?=20See=20changes.txt=20for=20list=20of=20upstream=20changes=20-?= =?UTF-8?q?=20Adds=20pkgconfig=20file=20(+=20patch=20to=20correct=20path)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + game-music-emu.spec | 18 +++++++++++++----- gme-0.6.0-pc-lib-suffix.patch | 8 ++++++++ sources | 2 +- 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 gme-0.6.0-pc-lib-suffix.patch diff --git a/.gitignore b/.gitignore index 0415fa7..077eb70 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /game-music-emu-0.5.5.tbz2 +/game-music-emu-0.6.0.tar.bz2 diff --git a/game-music-emu.spec b/game-music-emu.spec index 82f2278..81305f0 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,10 +1,11 @@ Name: game-music-emu -Version: 0.5.5 -Release: 5%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ -Source0: http://game-music-emu.googlecode.com/files/%{name}-%{version}.tbz2 +Source0: http://game-music-emu.googlecode.com/files/%{name}-%{version}.tar.bz2 +Patch0: gme-0.6.0-pc-lib-suffix.patch BuildRequires: cmake # needed to build the player @@ -13,6 +14,7 @@ BuildRequires: SDL-devel %package devel Summary: Development files for Game_Music_Emu Requires: %{name}%{?_isa} = %{version} +Requires: pkgconfig %package player Summary: Demo player utilizing Game_Music_Emu @@ -42,8 +44,8 @@ This package contains the demo player for files supported by Game_Music_Emu. %prep %setup -q -# fix install path on systems with lib64 -sed -i -e "s/DESTINATION lib/DESTINATION %{_lib}/" gme/CMakeLists.txt +# fix libgme.pc install path +%patch0 # add install rule for the player echo -e "\ninstall(TARGETS gme_player RUNTIME DESTINATION %{_bindir})" >> player/CMakeLists.txt @@ -78,12 +80,18 @@ cd .. %doc design.txt gme.txt %{_libdir}/libgme.so %{_includedir}/gme/ +%{_libdir}/pkgconfig/libgme.pc %files player %{_bindir}/gme_player %changelog +* 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 diff --git a/gme-0.6.0-pc-lib-suffix.patch b/gme-0.6.0-pc-lib-suffix.patch new file mode 100644 index 0000000..5975312 --- /dev/null +++ b/gme-0.6.0-pc-lib-suffix.patch @@ -0,0 +1,8 @@ +--- gme/CMakeLists.txt~ 2012-05-27 22:48:53.000000000 +0200 ++++ gme/CMakeLists.txt 2013-08-22 19:03:39.175649327 +0200 +@@ -159,4 +159,4 @@ + ARCHIVE DESTINATION lib) # DLL platforms + + install(FILES ${EXPORTED_HEADERS} DESTINATION include/gme) +-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgme.pc DESTINATION lib/pkgconfig) ++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libgme.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig) diff --git a/sources b/sources index 578d943..434ea6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -94459001a763fb76209a550a03b7949e game-music-emu-0.5.5.tbz2 +b98fafb737bc889dc65e7a8b94bd1bf5 game-music-emu-0.6.0.tar.bz2 From 218b290ff24d0aa4470e56efc48997e1ba1267eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Voln=C3=BD?= Date: Fri, 13 Sep 2013 16:36:02 +0200 Subject: [PATCH 08/11] add virtual provides libgme (bug #1006881) --- game-music-emu.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 81305f0..3127372 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,7 @@ Name: game-music-emu +Provides: libgme Version: 0.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ @@ -87,6 +88,9 @@ cd .. %changelog +* 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 From cb1257e266bb91c657ce9e11fae008d7d514f192 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Voln=C3=BD?= Date: Fri, 20 Sep 2013 15:59:06 +0200 Subject: [PATCH 09/11] Adjust virtual provides according to further comments on bug#1006881 --- game-music-emu.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 3127372..5b8e73d 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,7 +1,7 @@ Name: game-music-emu -Provides: libgme Version: 0.6.0 -Release: 2%{?dist} +Release: 3%{?dist} +Provides: libgme%{?_isa} = %{version}-%{release} Summary: Video game music file emulation/playback library License: LGPLv2+ URL: http://code.google.com/p/game-music-emu/ @@ -14,6 +14,7 @@ BuildRequires: SDL-devel %package devel Summary: Development files for Game_Music_Emu +Provides: libgme-devel%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version} Requires: pkgconfig @@ -88,6 +89,9 @@ cd .. %changelog +* 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) From c15b360ea0492322c8299dbe77beae66b5fac431 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 08:18:09 -0500 Subject: [PATCH 10/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- game-music-emu.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 5b8e73d..1a6eb0b 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,6 @@ Name: game-music-emu Version: 0.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Provides: libgme%{?_isa} = %{version}-%{release} Summary: Video game music file emulation/playback library License: LGPLv2+ @@ -89,6 +89,9 @@ cd .. %changelog +* 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 From afc6322f16f9b9cca5e3b20912b29b388bb2ba62 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 13:38:05 +0000 Subject: [PATCH 11/11] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- game-music-emu.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game-music-emu.spec b/game-music-emu.spec index 1a6eb0b..97d85b5 100644 --- a/game-music-emu.spec +++ b/game-music-emu.spec @@ -1,6 +1,6 @@ Name: game-music-emu Version: 0.6.0 -Release: 4%{?dist} +Release: 5%{?dist} Provides: libgme%{?_isa} = %{version}-%{release} Summary: Video game music file emulation/playback library License: LGPLv2+ @@ -89,6 +89,9 @@ cd .. %changelog +* 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