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