File gupnp-av.spec of Package gupnp-av

#
# spec file for package gupnp-av
#
# 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-av
Version:        0.10.1
Release:        1
License:        LGPL v2 or later
Summary:        Library to ease the handling and implementation of UPnP A/V profiles
Url:            http://www.gupnp.org/
Group:          Development/Libraries/C and C++
Source:         http://download.gnome.org/sources/gupnp-av/0.10/%{name}-%{version}.tar.bz2
BuildRequires:  gobject-introspection-devel
BuildRequires:  libgupnp-devel >= 0.17.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
GUPnP A/V is a small utility library that aims to ease the handling and
implementation of UPnP A/V profiles.

%package -n libgupnp-av-1_0-2
License:        LGPL v2 or later
Summary:        Library to ease the handling and implementation of UPnP A/V profiles
Group:          Development/Libraries/C and C++

%description -n libgupnp-av-1_0-2
GUPnP A/V is a small utility library that aims to ease the handling and
implementation of UPnP A/V profiles.

%package -n libgupnp-av-devel
License:        LGPL v2 or later
Summary:        Library to ease the handling and implementation of UPnP A/V profiles - Development Files
Group:          Development/Libraries/C and C++
Requires:       libgupnp-av-1_0-2 = %{version}
Requires:       libgupnp-devel

%description -n libgupnp-av-devel
GUPnP A/V is a small utility library that aims to ease the handling and
implementation of UPnP A/V profiles.

%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-av-1_0-2 -p /sbin/ldconfig

%postun -n libgupnp-av-1_0-2 -p /sbin/ldconfig

%files -n libgupnp-av-1_0-2
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/GUPnPAV-1.0.typelib

%files -n libgupnp-av-devel
%defattr(-,root,root)
%{_includedir}/%{name}-1.0
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/GUPnPAV-1.0.gir
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/%{name}

%changelog
openSUSE Build Service is sponsored by