Initial import (#716475).
parent
afd689ad57
commit
a53ea941be
@ -0,0 +1 @@
|
||||
/game-music-emu-0.5.5.tbz2
|
@ -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@redhat.com> 0.5.5-1
|
||||
- Initial release for Fedora 15
|
Loading…
Reference in new issue