Add gobject introspection
[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 BuildRequires:  gobject-introspection-devel
19 BuildRequires:  vala
20
21
22 %description
23 GSSDP implements resource discovery and announcement over SSDP and is part
24 of gUPnP.  GUPnP is an object-oriented open source framework for creating
25 UPnP devices and control points, written in C using GObject and libsoup.
26 The GUPnP API is intended to be easy to use, efficient and flexible. GSSDP
27 implements resource discovery and announcement over SSDP.
28
29 %package devel
30 Summary:    Development package for gssdp
31 Group:      Development/Libraries
32 Requires:   %{name} = %{version}-%{release}
33
34 %description devel
35 Development files for gssdp.
36
37 %prep
38 %setup -q -n %{name}-%{version}
39
40 %build
41 %configure --disable-static
42 make %{?jobs:-j%jobs}
43
44 %install
45 rm -rf %{buildroot}
46 %make_install
47
48 %post -p /sbin/ldconfig
49
50 %postun -p /sbin/ldconfig
51
52 %files
53 %defattr(-,root,root,-)
54 %doc AUTHORS COPYING
55 %{_libdir}/*.so.*
56
57 %files devel
58 %defattr(-,root,root,-)
59 %doc %{_datadir}/gtk-doc/html/gssdp
60 %{_libdir}/*.so
61 %{_libdir}/pkgconfig/gssdp-1.0.pc
62 %{_includedir}/gssdp-1.0
63 %{_libdir}/girepository-1.0/GSSDP-1.0.typelib
64 %{_datadir}/gir-1.0/GSSDP-1.0.gir
65 %{_datadir}/vala/vapi/gssdp-1.0.deps
66 %{_datadir}/vala/vapi/gssdp-1.0.vapi