Accepting request 142732 from 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... (forwarded request 142517 from elvigia) OBS-URL: https://build.opensuse.org/request/show/142732 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmms?expand=0&rev=7
This commit is contained in:
commit
8238b8381a
12
libmms-pkgconfig.patch
Normal file
12
libmms-pkgconfig.patch
Normal 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}
|
@ -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
|
Mon Mar 5 14:00:05 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
10
libmms.spec
10
libmms.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmms
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,12 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define soname 0
|
||||||
|
|
||||||
Name: libmms
|
Name: libmms
|
||||||
Version: 0.6.2
|
Version: 0.6.2
|
||||||
Release: 0
|
Release: 0
|
||||||
License: LGPL-2.1+
|
|
||||||
# NOTE: there are files from the xine project with GPL headers in the source,
|
# 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
|
# but these were re-licensed to LGPLv2+ with the explicit permission of all
|
||||||
# contributors.
|
# contributors.
|
||||||
@ -28,14 +28,16 @@ License: LGPL-2.1+
|
|||||||
# libmms-relicensing-1.txt and libmms-relicensing-2.txt
|
# libmms-relicensing-1.txt and libmms-relicensing-2.txt
|
||||||
|
|
||||||
Summary: MMS stream protocol library
|
Summary: MMS stream protocol library
|
||||||
Url: http://www.sf.net/projects/%{name}
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Url: http://www.sf.net/projects/%{name}
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: libmms-relicensing-1.txt
|
Source1: libmms-relicensing-1.txt
|
||||||
Source2: libmms-relicensing-2.txt
|
Source2: libmms-relicensing-2.txt
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
Patch0: libmms-pkgconfig.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
|
LibMMS is a common library for parsing mms:// and mmsh:// type network streams.
|
||||||
@ -57,12 +59,14 @@ all.
|
|||||||
Summary: Libmms development files
|
Summary: Libmms development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{soname} = %{version}
|
||||||
|
Requires: glibc-devel
|
||||||
|
|
||||||
%description -n %{name}-devel
|
%description -n %{name}-devel
|
||||||
Headers and libraries to program against %{name}
|
Headers and libraries to program against %{name}
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
|
Loading…
Reference in New Issue
Block a user