* Thu Aug 22 2013 Karel Volný <kvolny@redhat.com> 0.6.0-1

- New release
- See changes.txt for list of upstream changes
- Adds pkgconfig file (+ patch to correct path)
epel9
Karel Volný 12 years ago
parent 3389056d6c
commit 5e99b292ef

1
.gitignore vendored

@ -1 +1,2 @@
/game-music-emu-0.5.5.tbz2
/game-music-emu-0.6.0.tar.bz2

@ -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ý <kvolny@redhat.com> 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 <rel-eng@lists.fedoraproject.org> - 0.5.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

@ -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)

@ -1 +1 @@
94459001a763fb76209a550a03b7949e game-music-emu-0.5.5.tbz2
b98fafb737bc889dc65e7a8b94bd1bf5 game-music-emu-0.6.0.tar.bz2

Loading…
Cancel
Save