Accepting request 69504 from multimedia:libs

- Update libgme-0.5.5-symbol_visibility.patch to not install
  headers for functions that are not exported.

 
- Added 32bit compatibility libraries
- Escaped macros in comments (fix for RPMLINT warning)

OBS-URL: https://build.opensuse.org/request/show/69504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgme?expand=0&rev=4
This commit is contained in:
Sascha Peilicke 2011-05-04 12:30:04 +00:00 committed by Git OBS Bridge
commit a5eb67f234
5 changed files with 49 additions and 15 deletions

View File

@ -19,18 +19,18 @@
%define soname 0
Name: libgme
Version: 0.5.5
Release: 1
Version: 0.5.5
Release: 0
License: LGPLv2.1+
Summary: Collection of video game music file emulators
Url: http://code.google.com/p/game-music-emu/
Group: System/Libraries
Source0: game-music-emu-%{version}.tbz2
# PATCH-FIX-UPSTREAM %{name}-0.5.5-LIB_SUFFIX.patch http://code.google.com/p/game-music-emu/issues/detail?id=8 reddwarf@opensuse.org -- Add LIB_SUFFIX support
# PATCH-FIX-UPSTREAM %%{name}-0.5.5-LIB_SUFFIX.patch http://code.google.com/p/game-music-emu/issues/detail?id=8 reddwarf@opensuse.org -- Add LIB_SUFFIX support
Patch0: %{name}-0.5.5-LIB_SUFFIX.patch
# PATCH-FIX-UPSTREAM %{name}-0.5.5-pkg_config.patch reddwarf@opensuse.org -- Add pkg-config file. From upstream SVN.
# PATCH-FIX-UPSTREAM %%{name}-0.5.5-pkg_config.patch reddwarf@opensuse.org -- Add pkg-config file. From upstream SVN.
Patch1: %{name}-0.5.5-pkg_config.patch
# PATCH-FIX-UPSTREAM %{name}-0.5.5-symbol_visibility.patch reddwarf@opensuse.org -- Don't export internal symbols. From upstream SVN.
# PATCH-FIX-UPSTREAM %%{name}-0.5.5-symbol_visibility.patch reddwarf@opensuse.org -- Don't export internal symbols. From upstream SVN.
Patch2: %{name}-0.5.5-symbol_visibility.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@ -50,8 +50,6 @@ the following formats and systems:
- VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
%package -n %{name}%{soname}
Summary: Collection of video game music file emulators
Group: System/Libraries
@ -69,7 +67,6 @@ the following formats and systems:
- VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
%package devel
License: LGPLv2.1+
Summary: Development libraries and headers for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libgme0

View File

@ -480,3 +480,30 @@ Index: CMakeLists.txt
# Shared library defined here
add_subdirectory(gme)
Index: gme/CMakeLists.txt
===================================================================
--- gme/CMakeLists.txt.orig
+++ gme/CMakeLists.txt
@@ -124,21 +124,7 @@ if (USE_GME_VGM)
endif()
# These headers are part of the generic gme interface.
-set (EXPORTED_HEADERS gme.h
- "${CMAKE_CURRENT_BINARY_DIR}/gme_types.h"
- blargg_config.h
- blargg_common.h
- blargg_source.h
- Music_Emu.h
- Blip_Buffer.h
- Classic_Emu.h
- Gme_File.h
- Data_Reader.h
- Dual_Resampler.h
- Effects_Buffer.h
- Fir_Resampler.h
- M3u_Playlist.h
- Multi_Buffer.h)
+set (EXPORTED_HEADERS gme.h)
# Run during cmake phase, so this is available during make
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/gme_types.h.in

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue May 3 20:22:22 UTC 2011 - reddwarf@opensuse.org
- Update libgme-0.5.5-symbol_visibility.patch to not install
headers for functions that are not exported.
-------------------------------------------------------------------
Sun May 1 17:35:27 UTC 2011 - toddrme2178@gmail.com
- Added 32bit compatibility libraries
- Escaped macros in comments (fix for RPMLINT warning)
-------------------------------------------------------------------
Tue Dec 14 07:54:59 UTC 2010 - reddwarf@opensuse.org

View File

@ -20,17 +20,17 @@
Name: libgme
Version: to_be_filled_by_service
Release: 1
Release: 0
License: LGPLv2.1+
Summary: Collection of video game music file emulators
Url: http://code.google.com/p/game-music-emu/
Group: System/Libraries
Source0: game-music-emu-%{version}.tbz2
# PATCH-FIX-UPSTREAM %{name}-0.5.5-LIB_SUFFIX.patch http://code.google.com/p/game-music-emu/issues/detail?id=8 reddwarf@opensuse.org -- Add LIB_SUFFIX support
# PATCH-FIX-UPSTREAM %%{name}-0.5.5-LIB_SUFFIX.patch http://code.google.com/p/game-music-emu/issues/detail?id=8 reddwarf@opensuse.org -- Add LIB_SUFFIX support
Patch0: %{name}-0.5.5-LIB_SUFFIX.patch
# PATCH-FIX-UPSTREAM %{name}-0.5.5-pkg_config.patch reddwarf@opensuse.org -- Add pkg-config file. From upstream SVN.
# PATCH-FIX-UPSTREAM %%{name}-0.5.5-pkg_config.patch reddwarf@opensuse.org -- Add pkg-config file. From upstream SVN.
Patch1: %{name}-0.5.5-pkg_config.patch
# PATCH-FIX-UPSTREAM %{name}-0.5.5-symbol_visibility.patch reddwarf@opensuse.org -- Don't export internal symbols. From upstream SVN.
# PATCH-FIX-UPSTREAM %%{name}-0.5.5-symbol_visibility.patch reddwarf@opensuse.org -- Don't export internal symbols. From upstream SVN.
Patch2: %{name}-0.5.5-symbol_visibility.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@ -50,8 +50,6 @@ the following formats and systems:
- VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
%package -n %{name}%{soname}
Summary: Collection of video game music file emulators
Group: System/Libraries
@ -69,7 +67,6 @@ the following formats and systems:
- VGM/VGZ: Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
%package devel
License: LGPLv2.1+
Summary: Development libraries and headers for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}