diff --git a/libgme.changes b/libgme.changes index c65a85d..c51bc45 100644 --- a/libgme.changes +++ b/libgme.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Dec 23 13:09:47 UTC 2015 - mpluskal@suse.com + +- Mention baselibs.conf as source +- Use cmake macros +- Cleanup spec file with spec-cleaner +- Update project url and download location + +------------------------------------------------------------------- +Wed Dec 16 08:52:37 UTC 2015 - olaf@aepfle.de + +- Add BuildRoot: for SLE_11 + ------------------------------------------------------------------- Sun Mar 17 09:26:23 UTC 2013 - reddwarf@opensuse.org diff --git a/libgme.spec b/libgme.spec index c78888d..c830bc2 100644 --- a/libgme.spec +++ b/libgme.spec @@ -1,7 +1,7 @@ # # spec file for package libgme # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,21 +17,21 @@ %define soname 0 - Name: libgme Version: 0.6.0 Release: 0 Summary: Collection of video game music file emulators License: LGPL-2.1+ Group: System/Libraries -Url: http://code.google.com/p/game-music-emu/ -Source0: http://game-music-emu.googlecode.com/files/game-music-emu-%{version}.tar.bz2 +Url: https://bitbucket.org/mpyne/game-music-emu/wiki/Home +Source0: https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-%{version}.tar.bz2 +Source1: baselibs.conf # PATCH-FIX-UPSTREAM libgme-0.6.0-pkgconfig_path.patch http://code.google.com/p/game-music-emu/issues/detail?id=19 reddwarf@opensuse.org -- Fix .pc installation path Patch0: libgme-0.6.0-pkgconfig_path.patch -# See http://code.google.com/p/game-music-emu/issues/detail?id=19 for the overflow/underflow warnings BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Game_Music_Emu is a collection of video game music file emulators that support @@ -47,7 +47,6 @@ the following formats and systems: - VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro %package -n libgme%{soname} - Summary: Collection of video game music file emulators Group: System/Libraries @@ -79,19 +78,11 @@ which use libgme. sed -i 's/\r$//' changes.txt design.txt gme.txt license.txt readme.txt %build -export CFLAGS='%{optflags}' -export CXXFLAGS='%{optflags}' -mkdir build -cd build -cmake -DCMAKE_SKIP_RPATH=1 \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DLIB_SUFFIX=$(echo %{_lib} | cut -b4-) \ - -DCMAKE_BUILD_TYPE=Release .. -make %{?_smp_mflags} VERBOSE=1 +%cmake +make %{?_smp_mflags} %install -cd build -%make_install +%cmake_install %post -n libgme%{soname} -p /sbin/ldconfig