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.18.x is stable, 0.19.x unstable
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/gupnp/0.18/%{name}-%{version}.tar.xz
10 # Source0-md5: cfee1920c67a1a11312599c1fadd4a67
11 URL: http://gupnp.org/
12 BuildRequires: autoconf >= 2.64
13 BuildRequires: automake >= 1:1.11
14 BuildRequires: docbook-dtd412-xml
15 BuildRequires: docbook-dtd44-xml
16 BuildRequires: glib2-devel >= 1:2.26.0
17 BuildRequires: gobject-introspection-devel >= 0.6.4
18 BuildRequires: gssdp-devel >= 0.12.0
19 BuildRequires: gtk-doc >= 1.0
20 BuildRequires: libsoup-devel >= 2.28.2
21 BuildRequires: libtool >= 2:2.2
22 BuildRequires: libuuid-devel >= 1.36
23 BuildRequires: libxml2-devel >= 1:2.6.30
24 BuildRequires: pkgconfig
25 BuildRequires: rpm-pythonprov
26 BuildRequires: tar >= 1:1.22
28 Requires: glib2 >= 1:2.26.0
29 Requires: gssdp >= 0.12.0
30 Requires: libsoup >= 2.28.2
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 GUPnP is an object-oriented open source framework for creating UPnP
35 devices and control points, written in C using GObject and libsoup.
36 The GUPnP API is intended to be easy to use, efficient and flexible.
38 %description -l pl.UTF-8
39 GUPnp to zorientowany obiektowo, mający otwarte źródła szkielet do
40 tworzenia urządzeń i punktów sterujących UPnP, napisany w C z użyciem
41 bibliotek GObject i libsoup. API GUPnp ma być łatwe w użyciu, wydajne
45 Summary: Header files for gupnp
46 Summary(pl.UTF-8): Pliki nagłówkowe gupnp
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: glib2-devel >= 1:2.26.0
50 Requires: gssdp-devel >= 0.12.0
51 Requires: libsoup-devel >= 2.28.2
52 Requires: libuuid-devel >= 1.36
53 Requires: libxml2-devel >= 1:2.6.30
56 This package contains header files for the Linux SDK for UPnP Devices
59 %description devel -l pl.UTF-8
60 Ten pakiet zawiera pliki nagłówkowe dla linuksowego pakietu
61 programistycznego do urządzeń UPnP (gupnp).
64 Summary: Static gupnp libraries
65 Summary(pl.UTF-8): Statyczne biblioteki gupnp
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
70 Static gupnp libraries.
72 %description static -l pl.UTF-8
73 Statyczne biblioteki gupnp.
76 Summary: gupnp API documentation
77 Summary(pl.UTF-8): Dokumentacja API gupnp
79 Requires: gtk-doc-common
82 gupnp API documentation.
84 %description apidocs -l pl.UTF-8
85 Dokumentacja API gupnp.
98 --disable-silent-rules \
100 --with-html-dir=%{_gtkdocdir} \
101 --with-context-manager=network-manager
106 rm -rf $RPM_BUILD_ROOT
109 DESTDIR=$RPM_BUILD_ROOT
111 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
114 rm -rf $RPM_BUILD_ROOT
116 %post -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README
122 %attr(755,root,root) %{_bindir}/gupnp-binding-tool
123 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so.*.*.*
124 %attr(755,root,root) %ghost %{_libdir}/libgupnp-1.0.so.4
125 %{_libdir}/girepository-1.0/GUPnP-1.0.typelib
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/libgupnp-1.0.so
130 %{_datadir}/gir-1.0/GUPnP-1.0.gir
131 %{_includedir}/gupnp-1.0
132 %{_pkgconfigdir}/gupnp-1.0.pc
135 %defattr(644,root,root,755)
136 %{_libdir}/libgupnp-1.0.a
139 %defattr(644,root,root,755)