SHA256
1
0
forked from pool/libmms

Accepting request 142517 from home:elvigia:branches:multimedia:libs

- libmms-pkgconfig.patch: DO not inject bogus build
  dependencies via pkgconfig files, in this case glib2 which
  will pull pcre and so on...

OBS-URL: https://build.opensuse.org/request/show/142517
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmms?expand=0&rev=8
This commit is contained in:
Cristian Rodríguez 2012-11-25 01:51:01 +00:00 committed by Git OBS Bridge
parent e5ba26e86d
commit 72674f0fd7
3 changed files with 26 additions and 3 deletions

12
libmms-pkgconfig.patch Normal file
View File

@ -0,0 +1,12 @@
--- pkgconfig/libmms.pc.in.orig
+++ pkgconfig/libmms.pc.in
@@ -5,7 +5,8 @@ includedir=@includedir@/
Name: libmms
Description: Library implementing the MMS protocol
-Requires: glib-2.0
+# glib usage is private only for static linking
+#Requires.private: glib-2.0
Version: @VERSION@
Libs: -L${libdir} -lmms -lm
Cflags: -I${includedir}

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 22 18:40:37 UTC 2012 - crrodriguez@opensuse.org
- libmms-pkgconfig.patch: DO not inject bogus build
dependencies via pkgconfig files, in this case glib2 which
will pull pcre and so on...
-------------------------------------------------------------------
Mon Mar 5 14:00:05 UTC 2012 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libmms
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,12 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 0
Name: libmms
Version: 0.6.2
Release: 0
License: LGPL-2.1+
# NOTE: there are files from the xine project with GPL headers in the source,
# but these were re-licensed to LGPLv2+ with the explicit permission of all
# contributors.
@ -28,14 +28,16 @@ License: LGPL-2.1+
# libmms-relicensing-1.txt and libmms-relicensing-2.txt
Summary: MMS stream protocol library
Url: http://www.sf.net/projects/%{name}
License: LGPL-2.1+
Group: System/Libraries
Url: http://www.sf.net/projects/%{name}
Source0: %{name}-%{version}.tar.bz2
Source1: libmms-relicensing-1.txt
Source2: libmms-relicensing-2.txt
Source3: baselibs.conf
BuildRequires: pkg-config
BuildRequires: pkgconfig(glib-2.0)
Patch0: libmms-pkgconfig.patch
%description
LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
@ -57,12 +59,14 @@ all.
Summary: Libmms development files
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}
Requires: glibc-devel
%description -n %{name}-devel
Headers and libraries to program against %{name}
%prep
%setup -q
%patch0
%build
%configure --disable-static