# # spec file for package gupnp-dlna # # Copyright (c) 2011 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.4.2 Release: 9 License: LGPLv2.1+ Summary: A collection of helpers for building DLNA applications Url: http://www.gupnp.org/ Group: Development/Libraries/C and C++ Source: %{name}-%{version}.tar.bz2 BuildRequires: gstreamer-0_10-devel BuildRequires: gstreamer-0_10-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_0-2 License: LGPLv2.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 applications using GUPnP. %package -n libgupnp-dlna-devel License: LGPLv2.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} %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 License: LGPLv2.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 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_0-2 -p /sbin/ldconfig %postun -n libgupnp-dlna-1_0-2 -p /sbin/ldconfig %files -n libgupnp-dlna-1_0-2 %defattr(-,root,root) %doc AUTHORS COPYING README TODO # This directory contains DLNA profiles, needed by the library %{_datadir}/%{name}/ %{_libdir}/lib*.so.2* %files -n libgupnp-dlna-devel %defattr(-,root,root) %{_includedir}/%{name}-1.0/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/gupnp-dlna-1.0.pc %doc %{_datadir}/gtk-doc/html/%{name}/ %files -n gupnp-dlna-tools %defattr(-,root,root) %{_bindir}/gupnp-dlna-info %{_bindir}/gupnp-dlna-ls-profiles %changelog