Accepting request 350533 from home:pluskalm:branches:multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/350533 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libgme?expand=0&rev=12
This commit is contained in:
parent
2bfcc0c8ec
commit
7520ae6bb8
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Wed Dec 16 08:52:37 UTC 2015 - olaf@aepfle.de
|
||||||
|
|
||||||
|
24
libgme.spec
24
libgme.spec
@ -17,22 +17,21 @@
|
|||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define soname 0
|
||||||
|
|
||||||
Name: libgme
|
Name: libgme
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Collection of video game music file emulators
|
Summary: Collection of video game music file emulators
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://code.google.com/p/game-music-emu/
|
Url: https://bitbucket.org/mpyne/game-music-emu/wiki/Home
|
||||||
Source0: http://game-music-emu.googlecode.com/files/game-music-emu-%{version}.tar.bz2
|
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
|
# 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
|
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
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Game_Music_Emu is a collection of video game music file emulators that support
|
Game_Music_Emu is a collection of video game music file emulators that support
|
||||||
@ -48,7 +47,6 @@ the following formats and systems:
|
|||||||
- VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
|
- VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
|
||||||
|
|
||||||
%package -n libgme%{soname}
|
%package -n libgme%{soname}
|
||||||
|
|
||||||
Summary: Collection of video game music file emulators
|
Summary: Collection of video game music file emulators
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
@ -80,19 +78,11 @@ which use libgme.
|
|||||||
sed -i 's/\r$//' changes.txt design.txt gme.txt license.txt readme.txt
|
sed -i 's/\r$//' changes.txt design.txt gme.txt license.txt readme.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS='%{optflags}'
|
%cmake
|
||||||
export CXXFLAGS='%{optflags}'
|
make %{?_smp_mflags}
|
||||||
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
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
%cmake_install
|
||||||
%make_install
|
|
||||||
|
|
||||||
%post -n libgme%{soname} -p /sbin/ldconfig
|
%post -n libgme%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user