[game-music-emu/f16] Initial import (#716475).

Karel Volný kvolny at fedoraproject.org
Mon Aug 8 13:48:06 UTC 2011


commit 85d79234806b8fb5511d487d98c26a266a610fd0
Author: Karel Volný <kvolny at redhat.com>
Date:   Mon Aug 8 15:47:52 2011 +0200

    Initial import (#716475).

 .gitignore          |    1 +
 game-music-emu.spec |   88 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 90 insertions(+), 0 deletions(-)
---
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 <kvolny at redhat.com> 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


More information about the scm-commits mailing list