From 979bee03026d5faff4891ae7632587e2bb037e81b9e0fecab4e1d891072c5232 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 23 Dec 2011 15:21:53 +0000 Subject: [PATCH] Accepting request 98038 from home:vuntz:branches:GNOME:Factory Split typelib subpackage OBS-URL: https://build.opensuse.org/request/show/98038 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp-dlna?expand=0&rev=21 --- gupnp-dlna.changes | 7 +++++++ gupnp-dlna.spec | 33 +++++++++++++++++++++------------ 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/gupnp-dlna.changes b/gupnp-dlna.changes index 954d0c2..9b41a3e 100644 --- a/gupnp-dlna.changes +++ b/gupnp-dlna.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Dec 23 10:42:30 UTC 2011 - vuntz@opensuse.org + +- Split typelib file into typelib-1_0-GUPnP-DLNA-1_0 subpackage. +- Add typelib-1_0-GUPnP-DLNA-1_0 Requires to libgupnp-dlna-devel + subpackage. + ------------------------------------------------------------------- Thu Oct 20 09:53:12 UTC 2011 - vuntz@opensuse.org diff --git a/gupnp-dlna.spec b/gupnp-dlna.spec index 7c1da94..1cadce3 100644 --- a/gupnp-dlna.spec +++ b/gupnp-dlna.spec @@ -15,15 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: gupnp-dlna Version: 0.6.4 -Release: 1 -License: LGPL-2.1+ +Release: 0 Summary: A collection of helpers for building DLNA applications -Url: http://www.gupnp.org/ +License: LGPL-2.1+ Group: Development/Libraries/C and C++ +Url: http://www.gupnp.org/ Source: http://download.gnome.org/sources/gupnp-dlna/0.6/%{name}-%{version}.tar.bz2 BuildRequires: gobject-introspection-devel BuildRequires: gstreamer-0_10-devel @@ -32,35 +30,43 @@ BuildRequires: libxml2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -GUPnP-dlna is a collection of helpers for building DLNA media sharing +GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. %package -n libgupnp-dlna-1_0-2 -License: LGPL-2.1+ Summary: A collection of helpers for building DLNA applications Group: Development/Libraries/C and C++ %description -n libgupnp-dlna-1_0-2 -GUPnP-dlna is a collection of helpers for building DLNA media sharing +GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. +%package -n typelib-1_0-GUPnP-DLNA-1_0 +Summary: A collection of helpers for building DLNA applications -- Introspection bindings +Group: Development/Libraries/C and C++ + +%description -n typelib-1_0-GUPnP-DLNA-1_0 +GUPnP-DLNA is a collection of helpers for building DLNA media sharing +applications using GUPnP. + +This package provides the GObject Introspection bindings for GUPnP-DLNA. + %package -n libgupnp-dlna-devel -License: LGPL-2.1+ Summary: A collection of helpers for building DLNA applications - Development Files Group: Development/Libraries/C and C++ Requires: libgupnp-dlna-1_0-2 = %{version} +Requires: typelib-1_0-GUPnP-DLNA-1_0 = %{version} %description -n libgupnp-dlna-devel -GUPnP-dlna is a collection of helpers for building DLNA media sharing +GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. %package -n gupnp-dlna-tools -License: LGPL-2.1+ Summary: A collection of helpers for building DLNA applications Group: Development/Tools/Other %description -n gupnp-dlna-tools -GUPnP-dlna is a collection of helpers for building DLNA media sharing +GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. %prep @@ -88,6 +94,9 @@ rm -rf %{buildroot} # This directory contains DLNA profiles, needed by the library %{_datadir}/%{name}/ %{_libdir}/lib*.so.2* + +%files -n typelib-1_0-GUPnP-DLNA-1_0 +%defattr(-,root,root) %{_libdir}/girepository-1.0/GUPnP-DLNA-1.0.typelib %files -n libgupnp-dlna-devel