File libdmapsharing.spec of Package libdmapsharing

#
# spec file for package libdmapsharing
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# 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:           libdmapsharing
Version:        2.9.15
Release:        0
Summary:        Library implementing the DMAP family of protocols
License:        LGPL-2.1+
Group:          System/Libraries
Url:            http://www.flyn.org/projects/libdmapsharing/
Source:         http://flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(avahi-glib)
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires:  pkgconfig(libsoup-2.4)

%description
Libdmapsharing is a library you may use to access, share and control the
playback of media content using DMAP (DAAP, DPAP & DACP). Libdmapsharing
also detects audio AirPlay services; coupled with the AirPlay support
in PulseAudio or GStreamer, this can allow an application to stream audio
to an AirPlay device. The DMAP family of protocols are used by products
such as Apple iTunes, Apple iPhoto, and the Roku SoundBridge family to
share media such as music and photos.

%package -n libdmapsharing-3_0-2
Summary:        Library implementing the DMAP family of protocols
Group:          System/Libraries

%description -n libdmapsharing-3_0-2
Libdmapsharing is a library you may use to access, share and control the
playback of media content using DMAP (DAAP, DPAP & DACP). Libdmapsharing
also detects audio AirPlay services; coupled with the AirPlay support
in PulseAudio or GStreamer, this can allow an application to stream audio
to an AirPlay device. The DMAP family of protocols are used by products
such as Apple iTunes, Apple iPhoto, and the Roku SoundBridge family to
share media such as music and photos.

%package devel
Summary:        Library implementing the DMAP family of protocols - Development Files
Group:          Development/Languages/C and C++
Requires:       libdmapsharing-3_0-2 = %{version}

%description devel
Libdmapsharing is a library you may use to access, share and control the
playback of media content using DMAP (DAAP, DPAP & DACP). Libdmapsharing
also detects audio AirPlay services; coupled with the AirPlay support
in PulseAudio or GStreamer, this can allow an application to stream audio
to an AirPlay device. The DMAP family of protocols are used by products
such as Apple iTunes, Apple iPhoto, and the Roku SoundBridge family to
share media such as music and photos.

This package contains development files for libdmapsharing.

%prep
%setup -q

%build
%configure
%__make %{?_smp_mflags}

%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

%post -n libdmapsharing-3_0-2 -p /sbin/ldconfig

%postun -n libdmapsharing-3_0-2 -p /sbin/ldconfig

%files -n libdmapsharing-3_0-2
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING README
%{_libdir}/libdmapsharing-3.0.so.2*

%files devel
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/libdmapsharing-3.0/
%{_includedir}/libdmapsharing-3.0/
%{_libdir}/libdmapsharing-3.0.so
%{_libdir}/pkgconfig/libdmapsharing-3.0.pc

%changelog