blob: f4be386f2f47586f0e61c72666636150ff77080c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
Name: gssdp
Summary: GSSDP implements resource discovery and announcement over SSDP
Version: 0.14.4
Release: 1
Group: System/Libraries
License: LGPL-2.0+
URL: http://www.gupnp.org
Source0: http://download.gnome.org/sources/%{name}/0.14/%{name}-%{version}.tar.xz
Requires: dbus
Requires: libsoup
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
#BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(libsoup-2.4)
%define intro no
%description
GSSDP implements resource discovery and announcement over SSDP and is part
of gUPnP. GUPnP is an object-oriented open source framework for creating
UPnP devices and control points, written in C using GObject and libsoup.
The GUPnP API is intended to be easy to use, efficient and flexible. GSSDP
implements resource discovery and announcement over SSDP.
%package devel
Summary: Development package for gssdp
Group: Development/Libraries
LICENSE: LGPL-2.0+
Requires: %{name} = %{version}-%{release}
%description devel
Development files for gssdp.
%prep
%setup -q -n %{name}-%{version}
%build
# Note that enabling-intro only adds additional files in devel package.
# There is no different in the main binary package.
%configure --prefix=/usr --enable-introspection=%{intro} --enable-gtk-doc-html=no
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
rm -rf %{buildroot}/usr/share/gtk-doc
%clean
rm -rf %{buildroot}
%post
%postun
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%doc
%{_libdir}/*.so.*
%license COPYING
%files devel
%defattr(-,root,root,-)
/usr/include/gssdp-1.0/*
#%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
|