1 Summary: UPnP library based on GObject and libsoup
2 Summary(pl.UTF-8): Biblioteka UPnP oparta na bibliotekach GObject i libsoup
4 # note: 0.14.x is stable, 0.15.x unstable
9 #Source0Download: http://gupnp.org/download
10 Source0: http://gupnp.org/sites/all/files/sources/%{name}-%{version}.tar.gz
11 # Source0-md5: 47d0eb5997d4f08713dce6b2c4e47f80
12 URL: http://gupnp.org/
13 BuildRequires: autoconf >= 2.53
14 BuildRequires: automake >= 1:1.9
15 BuildRequires: dbus-glib-devel >= 0.76
16 BuildRequires: docbook-dtd412-xml
17 BuildRequires: docbook-dtd44-xml
18 BuildRequires: glib2-devel >= 1:2.18
19 BuildRequires: gobject-introspection-devel >= 0.6.4
20 BuildRequires: gssdp-devel >= 0.7.1
21 BuildRequires: gtk-doc >= 1.0
22 BuildRequires: libsoup-devel >= 2.4.1
23 BuildRequires: libtool >= 2:1.5
24 BuildRequires: libuuid-devel >= 1.36
25 BuildRequires: libxml2-devel >= 1:2.6.30
26 BuildRequires: pkgconfig
27 BuildRequires: rpm-pythonprov
28 Requires: dbus-glib >= 0.76
29 Requires: glib2 >= 1:2.18
30 Requires: gssdp >= 0.7.1
31 Requires: libsoup >= 2.4.1
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 GUPnP is an object-oriented open source framework for creating UPnP
36 devices and control points, written in C using GObject and libsoup.
37 The GUPnP API is intended to be easy to use, efficient and flexible.
39 %description -l pl.UTF-8
40 GUPnp to zorientowany obiektowo, mający otwarte źródła szkielet do
41 tworzenia urządzeń i punktów sterujących UPnP, napisany w C z użyciem
42 bibliotek GObject i libsoup. API GUPnp ma być łatwe w użyciu, wydajne
46 Summary: Header files for gupnp
47 Summary(pl.UTF-8): Pliki nagłówkowe gupnp
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: glib2-devel >= 1:2.18
51 Requires: gssdp-devel >= 0.7.1
52 Requires: libsoup-devel >= 2.4.1
53 Requires: libuuid-devel >= 1.36
54 Requires: libxml2-devel >= 1:2.6.30
57 This package contains header files for the Linux SDK for UPnP Devices
60 %description devel -l pl.UTF-8
61 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
62 programistycznego do urządzeń UPnP (gupnp).
65 Summary: Static gupnp libraries
66 Summary(pl.UTF-8): Statyczne biblioteki gupnp
67 Group: Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
71 Static gupnp libraries.
73 %description static -l pl.UTF-8
74 Statyczne biblioteki gupnp.
77 Summary: gupnp API documentation
78 Summary(pl.UTF-8): Dokumentacja API gupnp
80 Requires: gtk-doc-common
83 gupnp API documentation.
85 %description apidocs -l pl.UTF-8
86 Dokumentacja API gupnp.
99 --disable-silent-rules \
101 --with-html-dir=%{_gtkdocdir} \
102 --with-context-manager=network-manager
107 rm -rf $RPM_BUILD_ROOT
110 DESTDIR=$RPM_BUILD_ROOT
112 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
115 rm -rf $RPM_BUILD_ROOT
117 %post -p /sbin/ldconfig
118 %postun -p /sbin/ldconfig
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README
123 %attr(755,root,root) %{_bindir}/gupnp-binding-tool
124 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.*
125 %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.3
126 %{_libdir}/girepository-1.0/GUPnP-1.0.typelib
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so
131 %{_datadir}/gir-1.0/GUPnP-1.0.gir
132 %{_includedir}/gupnp-1.0
133 %{_pkgconfigdir}/gupnp-1.0.pc
136 %defattr(644,root,root,755)
137 %{_libdir}/libgupnp-1.0.a
140 %defattr(644,root,root,755)