Update to gupnp-av-0.12.4
[profile/ivi/GUPnP-AV.git] / packaging / GUPnP-AV.spec
1 Name:       gupnp-av
2 Summary:    GUPnP-AV is a collection of helpers for building UPnP AV applications
3 Version:    0.12.4
4 Release:    0
5 Group:      System/Libraries
6 License:    LGPLv2+
7 URL:        http://www.gupnp.org/
8 Source0:    http://download.gnome.org/sources/%{name}/0.12/%{name}-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
11 BuildRequires:  pkgconfig(gupnp-1.0)
12 BuildRequires:  pkgconfig(glib-2.0)
13 BuildRequires:  pkgconfig(gobject-2.0)
14 BuildRequires:  pkgconfig(libxml-2.0)
15
16
17 %description
18 GUPnP is an object-oriented open source framework for creating UPnP
19 devices and control points, written in C using GObject and libsoup.
20 The GUPnP API is intended to be easy to use, efficient and flexible.
21
22 GUPnP-AV is a collection of helpers for building AV (audio/video)
23 applications using GUPnP.
24
25 %package devel
26 Summary:    Development package for gupnp-av
27 Group:      Development/Libraries
28 Requires:   %{name} = %{version}-%{release}
29
30 %description devel
31 Files for development with gupnp-av.
32
33
34 %prep
35 %setup -q -n %{name}-%{version}
36
37 %build
38 %configure --disable-static
39 make %{?jobs:-j%jobs}
40
41 %install
42 rm -rf %{buildroot}
43 %make_install
44
45 rm -rf  $RPM_BUILD_ROOT%{_datadir}/gtk-doc
46
47 %post -p /sbin/ldconfig
48
49 %postun -p /sbin/ldconfig
50
51 %files
52 %defattr(-,root,root,-)
53 %doc AUTHORS COPYING README
54 %{_libdir}/*.so.*
55 %{_datadir}/gupnp-av/*.xsd
56
57 %files devel
58 %defattr(-,root,root,-)
59 %{_includedir}/gupnp-av-1.0/libgupnp-av
60 %{_libdir}/*.so
61 %{_libdir}/pkgconfig/gupnp-av-1.0.pc