Update gssdp to 0.14.3 (e2f1b0d)
[profile/ivi/GSSDP.git] / packaging / GSSDP.spec
1
2 # Do NOT Edit the Auto-generated Part!
3 # Generated by: spectacle version 0.22
4
5 # >> macros
6 # << macros
7
8 Name:       gssdp
9 Summary:    GSSDP implements resource discovery and announcement over SSDP
10 Version:    0.14.3
11 Release:    1
12 Group:      System/Libraries
13 License:    LGPLv2+
14 URL:        http://www.gupnp.org
15 Source0:    http://download.gnome.org/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
16 Requires:   dbus
17 Requires:   libsoup
18 Requires(post): /sbin/ldconfig
19 Requires(postun): /sbin/ldconfig
20 BuildRequires:  pkgconfig(dbus-glib-1)
21 BuildRequires:  pkgconfig(glib-2.0)
22 BuildRequires:  pkgconfig(libxml-2.0)
23 BuildRequires:  pkgconfig(gconf-2.0)
24 BuildRequires:  pkgconfig(libsoup-2.4)
25
26
27 %description
28 GSSDP implements resource discovery and announcement over SSDP and is part
29 of gUPnP.  GUPnP is an object-oriented open source framework for creating
30 UPnP devices and control points, written in C using GObject and libsoup.
31 The GUPnP API is intended to be easy to use, efficient and flexible. GSSDP
32 implements resource discovery and announcement over SSDP.
33
34
35
36 %package devel
37 Summary:    Development package for gssdp
38 Group:      Development/Libraries
39 Requires:   %{name} = %{version}-%{release}
40
41 %description devel
42 Development files for gssdp.
43
44
45 %prep
46 %setup -q -n %{name}-%{version}
47
48 # >> setup
49 # << setup
50
51 %build
52 # >> build pre
53 # << build pre
54
55 %configure --disable-static
56 make %{?jobs:-j%jobs}
57
58 # >> build post
59 # << build post
60 %install
61 rm -rf %{buildroot}
62 # >> install pre
63 # << install pre
64 %make_install
65
66 # >> install post
67 # << install post
68
69
70
71 %post -p /sbin/ldconfig
72
73 %postun -p /sbin/ldconfig
74
75
76
77
78
79 %files
80 %defattr(-,root,root,-)
81 # >> files
82 %doc AUTHORS COPYING
83 %{_libdir}/*.so.*
84 # << files
85
86
87 %files devel
88 %defattr(-,root,root,-)
89 # >> files devel
90 %doc %{_datadir}/gtk-doc/html/gssdp
91 %{_libdir}/*.so
92 %{_libdir}/pkgconfig/gssdp-1.0.pc
93 %{_includedir}/gssdp-1.0
94 # << files devel
95
96