gupnp-dlna/gupnp-dlna.spec

107 lines
3.2 KiB
RPMSpec

#
# 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.6.4
Release: 1
License: LGPL-2.1+
Summary: A collection of helpers for building DLNA applications
Url: http://www.gupnp.org/
Group: Development/Libraries/C and C++
Source: http://download.gnome.org/sources/gupnp-dlna/0.6/%{name}-%{version}.tar.bz2
BuildRequires: gobject-introspection-devel
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: 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
applications using GUPnP.
%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}
%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: 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
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*
%{_libdir}/girepository-1.0/GUPnP-DLNA-1.0.typelib
%files -n libgupnp-dlna-devel
%defattr(-,root,root)
%{_includedir}/%{name}-1.0/
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/gupnp-dlna-1.0.pc
%{_datadir}/gir-1.0/GUPnP-DLNA-1.0.gir
%doc %{_datadir}/gtk-doc/html/%{name}/
%files -n gupnp-dlna-tools
%defattr(-,root,root)
%{_bindir}/gupnp-dlna-info
%{_bindir}/gupnp-dlna-ls-profiles
%changelog