# # spec file for package gupnp-dlna # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gupnp-dlna Version: 0.8.0 Release: 0 Summary: A collection of helpers for building DLNA applications License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://www.gupnp.org/ Source: http://download.gnome.org/sources/gupnp-dlna/0.8/%{name}-%{version}.tar.xz BuildRequires: gobject-introspection-devel BuildRequires: gstreamer-devel BuildRequires: gstreamer-plugins-base-devel BuildRequires: libxml2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. %package -n libgupnp-dlna-1_1-3 Summary: A collection of helpers for building DLNA applications Group: Development/Libraries/C and C++ %description -n libgupnp-dlna-1_1-3 GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. %package -n typelib-1_0-GUPnPDLNA-1_1 Summary: A collection of helpers for building DLNA applications -- Introspection bindings Group: Development/Libraries/C and C++ %description -n typelib-1_0-GUPnPDLNA-1_1 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 Summary: A collection of helpers for building DLNA applications - Development Files Group: Development/Libraries/C and C++ Requires: libgupnp-dlna-1_1-3 = %{version} Requires: typelib-1_0-GUPnPDLNA-1_1 = %{version} %description -n libgupnp-dlna-devel GUPnP-DLNA is a collection of helpers for building DLNA media sharing applications using GUPnP. %package -n gupnp-dlna-tools 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 applications using GUPnP. %prep %setup -q %build %configure \ --disable-static %__make %{?_smp_mflags} %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print %clean rm -rf %{buildroot} %post -n libgupnp-dlna-1_1-3 -p /sbin/ldconfig %postun -n libgupnp-dlna-1_1-3 -p /sbin/ldconfig %files -n libgupnp-dlna-1_1-3 %defattr(-,root,root) %doc AUTHORS COPYING README TODO # This directory contains DLNA profiles, needed by the library %{_datadir}/%{name}/ %{_libdir}/lib*.so.3* %files -n typelib-1_0-GUPnPDLNA-1_1 %defattr(-,root,root) %{_libdir}/girepository-1.0/GUPnPDLNA-1.1.typelib %files -n libgupnp-dlna-devel %defattr(-,root,root) %{_includedir}/%{name}-1.1/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/gupnp-dlna-1.1.pc %{_datadir}/gir-1.0/GUPnPDLNA-1.1.gir %doc %{_datadir}/gtk-doc/html/%{name}/ %files -n gupnp-dlna-tools %defattr(-,root,root) %{_bindir}/gupnp-dlna-info-1.1 %{_bindir}/gupnp-dlna-ls-profiles-1.1 %changelog