1 Summary: A GTK+ client and libraries for SPICE remote desktop servers
2 Summary(pl.UTF-8): Klient i biblioteki GTK+ dla serwerów zdalnych pulpitów SPICE
7 Group: X11/Applications
8 Source0: http://spice-space.org/download/gtk/%{name}-%{version}.tar.bz2
9 # Source0-md5: a47ca51ef4bb27cab35ddbfb9e6c0fff
10 Patch0: %{name}-sh.patch
11 URL: http://spice-space.org/
12 BuildRequires: autoconf >= 2.57
13 BuildRequires: automake
14 BuildRequires: cairo-devel >= 1.2.0
15 BuildRequires: celt051-devel >= 0.5.1.1
16 BuildRequires: cyrus-sasl-devel >= 2.0
17 BuildRequires: gettext-devel >= 0.17
18 BuildRequires: gobject-introspection-devel >= 0.9.4
19 BuildRequires: glib2-devel >= 1:2.22
20 BuildRequires: gtk-doc >= 1.14
21 BuildRequires: gtk+2-devel >= 2:2.18.0
22 BuildRequires: gtk+3-devel >= 3.0
23 BuildRequires: intltool >= 0.40.0
24 BuildRequires: libcacard-devel >= 0.1.2
25 BuildRequires: libjpeg-devel
26 BuildRequires: libstdc++-devel
27 BuildRequires: libtool >= 2:2.0
28 BuildRequires: openssl-devel
29 BuildRequires: perl-Text-CSV
30 BuildRequires: perl-base >= 1:5.8.1
31 BuildRequires: pixman-devel >= 0.17.7
32 BuildRequires: pkgconfig
33 BuildRequires: pulseaudio-devel
34 BuildRequires: python-devel >= 2.0
35 BuildRequires: python-pygtk-devel >= 2:2.0.0
36 BuildRequires: spice-protocol >= 0.8.1
37 BuildRequires: xorg-lib-libXrandr-devel
38 BuildRequires: zlib-devel
39 Requires: libcacard >= 0.1.2
40 Requires: spice-glib = %{version}-%{release}
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 A GTK+ client and libraries for SPICE remote desktop servers.
46 %description -l pl.UTF-8
47 Klient i biblioteki GTK+ dla serwerów zdalnych pulpitów SPICE.
50 Summary: Header files for SPICE GTK 3.0 client library
51 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej SPICE GTK 3.0
52 Group: X11/Development/Libraries
53 Requires: %{name} = %{version}-%{release}
54 Requires: spice-glib-devel = %{version}-%{release}
55 Requires: gtk+3-devel >= 3.0
58 Header files for SPICE GTK 3.0 client library.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki klienckiej SPICE GTK 3.0.
64 Summary: Static SPICE GTK 3.0 client library
65 Summary(pl.UTF-8): Statyczna biblioteka kliencka SPICE GTK 3.0
66 Group: X11/Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
70 Static SPICE GTK 3.0 client library.
72 %description static -l pl.UTF-8
73 Statyczna biblioteka kliencka SPICE GTK 3.0.
76 Summary: SPICE GTK API documentation
77 Summary(pl.UTF-8): Dokumentacja API bibliotek SPICE GTK
81 API documentation for SPICE GTK libraries.
83 %description apidocs -l pl.UTF-8
84 Dokumentacja API bibliotek SPICE GTK.
86 %package -n spice-glib
87 Summary: SPICE Client GLib library
88 Summary(pl.UTF-8): Biblioteka kliencka SPICE GLib
90 Requires: celt051 >= 0.5.1.1
91 Requires: glib2 >= 1:2.22
92 Requires: pixman >= 0.17.7
94 %description -n spice-glib
95 SPICE Client GLib library.
97 %description -n spice-glib -l pl.UTF-8
98 Biblioteka kliencka SPICE GLib.
100 %package -n spice-glib-devel
101 Summary: Header files for SPICE Client GLib library
102 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej SPICE GLib
103 Group: Development/Libraries
104 Requires: celt051-devel >= 0.5.1.1
105 Requires: glib2-devel >= 1:2.22
106 Requires: openssl-devel
107 Requires: pixman-devel >= 0.17.7
108 Requires: spice-glib = %{version}-%{release}
109 Requires: spice-protocol >= 0.8.1
111 %description -n spice-glib-devel
112 Header files for SPICE Client GLib library.
114 %description -n spice-glib-devel -l pl.UTF-8
115 Pliki nagłówkowe biblioteki klienckiej SPICE GLib.
117 %package -n spice-glib-static
118 Summary: SPICE Client GLib static library
119 Summary(pl.UTF-8): Statyczna biblioteka kliencka SPICE GLib
120 Group: Development/Libraries
121 Requires: spice-glib-devel = %{version}-%{release}
123 %description -n spice-glib-static
124 SPICE Client GLib static library.
126 %description -n spice-glib-static -l pl.UTF-8
127 Statyczna biblioteka kliencka SPICE GLib.
129 %package -n spice-gtk2
130 Summary: SPICE Client GTK 2.0 library
131 Summary(pl.UTF-8): Biblioteka kliencka SPICE GTK 2.0
133 Requires: gtk+2 >= 2:2.18.0
134 Requires: spice-glib = %{version}-%{release}
136 %description -n spice-gtk2
137 SPICE Client GTK 2.0 library.
139 %description -n spice-gtk2 -l pl.UTF-8
140 Biblioteka kliencka SPICE GTK 2.0.
142 %package -n spice-gtk2-devel
143 Summary: Header files for SPICE Client GTK 2.0 library
144 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej SPICE GTK 2.0
145 Group: X11/Development/Libraries
146 Requires: gtk+2-devel >= 2:2.18.0
147 Requires: spice-glib-devel = %{version}-%{release}
149 %description -n spice-gtk2-devel
150 Header files for SPICE Client GTK 2.0 library.
152 %description -n spice-gtk2-devel -l pl.UTF-8
153 Pliki nagłówkowe biblioteki klienckiej SPICE GTK 2.0.
155 %package -n spice-gtk2-static
156 Summary: SPICE Client GTK 2.0 static library
157 Summary(pl.UTF-8): Statyczna biblioteka kliencka SPICE GTK 2.0
158 Group: X11/Development/Libraries
159 Requires: spice-gtk2-devel = %{version}-%{release}
161 %description -n spice-gtk2-static
162 SPICE Client GTK 2.0 static library.
164 %description -n spice-gtk2-static -l pl.UTF-8
165 Statyczna biblioteka kliencka SPICE GTK 2.0.
167 %package -n python-spice-gtk
168 Summary: Python interface to SPICE client GTK library
169 Summary(pl.UTF-8): Pythonowy interfejs do biblioteki klienckiej SPICE GTK
170 Group: Libraries/Python
171 Requires: spice-gtk2 = %{version}-%{release}
173 %description -n python-spice-gtk
174 Python interface to SPICE client GTK library.
176 %description -n python-spice-gtk -l pl.UTF-8
177 Pythonowy interfejs do biblioteki klienckiej SPICE GTK.
179 %package -n vala-spice-protocol
180 Summary: Vala API for SPICE client library
181 Summary(pl.UTF-8): Interfejs języka Vala do biblioteki klienckiej SPICE
182 Group: Development/Libraries
183 Requires: spice-protocol >= 0.8.1
184 Requires: vala >= 0.11.7
186 %description -n vala-spice-protocol
187 Vala API for SPICE client library.
189 %description -n vala-spice-protocol -l pl.UTF-8
190 Interfejs języka Vala do biblioteki klienckiej SPICE.
209 --disable-silent-rules \
211 --with-html-dir=%{_gtkdocdir}
216 --disable-silent-rules \
218 --with-html-dir=%{_gtkdocdir}
222 rm -rf $RPM_BUILD_ROOT
224 # gtk2 first, so executables will use gtk3 libs
225 %{__make} -C gtk2 install -j1 \
226 DESTDIR=$RPM_BUILD_ROOT
228 %{__make} -C gtk3 install -j1 \
229 DESTDIR=$RPM_BUILD_ROOT
231 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/SpiceClientGtk.{la,a}
232 # obsoleted by pkg-config
233 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
238 rm -rf $RPM_BUILD_ROOT
240 %post -p /sbin/ldconfig
241 %postun -p /sbin/ldconfig
243 %post -n spice-glib -p /sbin/ldconfig
244 %postun -n spice-glib -p /sbin/ldconfig
246 %post -n spice-gtk2 -p /sbin/ldconfig
247 %postun -n spice-gtk2 -p /sbin/ldconfig
249 %files -f %{name}.lang
250 %defattr(644,root,root,755)
251 %doc AUTHORS NEWS README THANKS TODO
252 %attr(755,root,root) %{_bindir}/snappy
253 %attr(755,root,root) %{_bindir}/spicy
254 %attr(755,root,root) %{_bindir}/spicy-stats
255 %attr(755,root,root) %{_libdir}/libspice-client-gtk-3.0.so.*.*.*
256 %attr(755,root,root) %ghost %{_libdir}/libspice-client-gtk-3.0.so.1
257 %{_libdir}/girepository-1.0/SpiceClientGtk-3.0.typelib
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/libspice-client-gtk-3.0.so
262 %{_includedir}/spice-client-gtk-3.0
263 %{_pkgconfigdir}/spice-client-gtk-3.0.pc
264 %{_datadir}/gir-1.0/SpiceClientGtk-3.0.gir
267 %defattr(644,root,root,755)
268 %{_libdir}/libspice-client-gtk-3.0.a
271 %defattr(644,root,root,755)
272 %{_gtkdocdir}/spice-gtk
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/libspice-client-glib-2.0.so.*.*.*
277 %attr(755,root,root) %ghost %{_libdir}/libspice-client-glib-2.0.so.4
278 %attr(755,root,root) %{_libdir}/libspice-controller.so.*.*.*
279 %attr(755,root,root) %ghost %{_libdir}/libspice-controller.so.0
280 %{_libdir}/girepository-1.0/SpiceClientGLib-2.0.typelib
282 %files -n spice-glib-devel
283 %defattr(644,root,root,755)
284 %attr(755,root,root) %{_libdir}/libspice-client-glib-2.0.so
285 %attr(755,root,root) %{_libdir}/libspice-controller.so
286 %{_includedir}/spice-client-glib-2.0
287 %{_includedir}/spice-controller
288 %{_pkgconfigdir}/spice-client-glib-2.0.pc
289 %{_pkgconfigdir}/spice-controller.pc
290 %{_datadir}/gir-1.0/SpiceClientGLib-2.0.gir
292 %files -n spice-glib-static
293 %defattr(644,root,root,755)
294 %{_libdir}/libspice-client-glib-2.0.a
295 %{_libdir}/libspice-controller.a
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_libdir}/libspice-client-gtk-2.0.so.*.*.*
300 %attr(755,root,root) %ghost %{_libdir}/libspice-client-gtk-2.0.so.1
301 %{_libdir}/girepository-1.0/SpiceClientGtk-2.0.typelib
303 %files -n spice-gtk2-devel
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_libdir}/libspice-client-gtk-2.0.so
306 %{_includedir}/spice-client-gtk-2.0
307 %{_pkgconfigdir}/spice-client-gtk-2.0.pc
308 %{_datadir}/gir-1.0/SpiceClientGtk-2.0.gir
310 %files -n spice-gtk2-static
311 %defattr(644,root,root,755)
312 %{_libdir}/libspice-client-gtk-2.0.a
314 %files -n python-spice-gtk
315 %defattr(644,root,root,755)
316 %attr(755,root,root) %{py_sitedir}/SpiceClientGtk.so
318 %files -n vala-spice-protocol
319 %defattr(644,root,root,755)
320 %{_datadir}/vala/vapi/spice-protocol.vapi