Update gupnp to 0.20.3 (161969f)
[profile/ivi/GUPnP.git] / packaging / GUPnP.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:       gupnp
9 Summary:    GUPnP is an framework for creating UPnP devices & control points
10 Version:    0.20.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.20/%{name}-%{version}.tar.bz2
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
18 BuildRequires:  pkgconfig(glib-2.0)
19 BuildRequires:  pkgconfig(gio-2.0)
20 BuildRequires:  pkgconfig(gmodule-2.0)
21 BuildRequires:  pkgconfig(gssdp-1.0)
22 BuildRequires:  pkgconfig(libsoup-2.4)
23 BuildRequires:  pkgconfig(libxml-2.0)
24 BuildRequires:  pkgconfig(uuid)
25
26
27 %description
28 GUPnP is an object-oriented open source framework for creating UPnP 
29 devices and control points, written in C using GObject and libsoup. 
30 The GUPnP API is intended to be easy to use, efficient and flexible.
31
32
33
34 %package devel
35 Summary:    Development package for gupnp
36 Group:      Development/Libraries
37 Requires:   %{name} = %{version}-%{release}
38
39 %description devel
40 Files for development with gupnp.
41
42
43 %prep
44 %setup -q -n %{name}-%{version}
45
46 # >> setup
47 # << setup
48
49 %build
50 # >> build pre
51 # << build pre
52
53 %configure --disable-static
54 make %{?jobs:-j%jobs}
55
56 # >> build post
57 # << build post
58 %install
59 rm -rf %{buildroot}
60 # >> install pre
61 # << install pre
62 %make_install
63
64 # >> install post
65 rm -rf  $RPM_BUILD_ROOT%{_datadir}/gtk-doc
66 # << install post
67
68
69
70 %post -p /sbin/ldconfig
71
72 %postun -p /sbin/ldconfig
73
74
75
76
77
78 %files
79 %defattr(-,root,root,-)
80 # >> files
81 %doc AUTHORS COPYING README
82 %{_libdir}/*.so.*
83 # << files
84
85
86 %files devel
87 %defattr(-,root,root,-)
88 # >> files devel
89 %{_libdir}/pkgconfig/gupnp-1.0.pc
90 %{_libdir}/*.so
91 %{_includedir}/gupnp-1.0
92 %{_bindir}/gupnp-binding-tool
93 # << files devel
94
95