Package gtk-vnc: Specfile
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 | %define ver_major 0.7 %define api_ver 1.0 %def_disable static %def_with python %def_with gtk %def_with gtk3 %def_enable introspection %def_enable vala %def_disable vapi Name: gtk-vnc Version: %ver_major.1 Release: alt0.M80C.1 Summary: VNC viewer widget Group: System/Libraries License: LGPL Url: http://gtk-vnc.sourceforge.net/ Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz Requires: libgtkvnc = %version-%release %{?_with_gtk:BuildRequires: libgtk+2-devel} %{?_with_gtk3:BuildRequires: libgtk+3-devel} BuildRequires: intltool gnome-common # pod2man BuildRequires: perl-podlators BuildRequires: libgnutls-devel >= 2.2.0 libgcrypt-devel libcairo-gobject-devel libsasl2-devel BuildRequires: libpulseaudio-devel zlib-devel perl-Text-CSV %{?_enable_vala:BuildRequires: vala-tools} %{?_with_python:BuildRequires: python-module-pygobject-devel} %{?_with_gtk:%{?_with_python:BuildRequires: python-module-pygtk-devel}} %{?_enable_introspection:BuildRequires: %{?_with_gtk:libgtk+2-gir-devel} %{?_with_gtk3:libgtk+3-gir-devel}} %description gtk-vnc is a project providing client side APIs for the RFB protocol/VNC remote desktop technology.It provides two core C libraries, libgvnc for interacting with the core RFB protocol and libgtk-vnc for a GTK display widget. This package provides gvnccapture and gvncviewer - utilities that use gtk-vnc libraries. %package -n libgvnc Summary: GVnc library Group: System/Libraries %description -n libgvnc gtk-vnc is a project providing client side APIs for the RFB protocol/VNC remote desktop technology. This package contains the GObject-based library to interact with the RFB protocol. %package -n libgvnc-devel Summary: GVnc library Group: Development/C Requires: libgvnc = %version-%release %{?_disable_vapi:Obsoletes: libgvnc-vala} %{?_disable_vapi:Provides: libgvnc-vala = %version-%release} %description -n libgvnc-devel gtk-vnc is a project providing client side APIs for the RFB protocol/VNC remote desktop technology. This package provides development files for the GVnc library. %package -n libgtkvnc Summary: VNC viewer widget library Group: System/Libraries Requires: libgvnc = %version-%release %description -n libgtkvnc gtk-vnc is a project providing client side APIs for the RFB protocol/VNC remote desktop technology. This package provides GtkVnc widget library. %package -n libgtkvnc-devel Summary: Development package for VNC viewer widget library Group: Development/C Requires: libgtkvnc = %version-%release Requires: libgvnc-devel = %version-%release %description -n libgtkvnc-devel gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. This package provides development files for the GtkVnc widget library. %package -n libgtk3vnc Summary: VNC viewer widget library Group: System/Libraries Requires: libgvnc = %version-%release %description -n libgtk3vnc gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. %package -n libgtk3vnc-devel Summary: Development package for VNC viewer widget library Group: Development/C Requires: libgtk3vnc = %version-%release Requires: libgvnc-devel = %version-%release %{?_disable_vapi:Obsoletes: libgtk3vnc-vala} %{?_disable_vapi:Provides: libgtk3vnc-vala = %version-%release} %description -n libgtk3vnc-devel gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. This package provides development files for the GtkVnc widget library. %package -n python-module-gtkvnc Summary: Python module for %name Group: Development/Python Requires: libgtkvnc = %version-%release %description -n python-module-gtkvnc gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines allowing it to be completely asynchronous while remaining single threaded. This package provides Python language bindings for for the GtkVnc library. %package -n libgvnc-gir Summary: GObject introspection data for the CVnc library Group: System/Libraries Requires: libgvnc = %version-%release %description -n libgvnc-gir GObject introspection data for the GVnc library %package -n libgvnc-gir-devel Summary: GObject introspection devel data for the GVnc library Group: System/Libraries BuildArch: noarch Requires: libgvnc-gir = %version-%release %description -n libgvnc-gir-devel GObject introspection devel data for the GVnc library %package -n libgvnc-vala Summary: Vala bindings for GVnc library Group: Development/C BuildArch: noarch Requires: libgvnc = %version-%release %description -n libgvnc-vala This package provides Vala language bindings for for the GVnc library. %package -n libgtkvnc-gir Summary: GObject introspection data for the GtkVnc library Group: System/Libraries Requires: libgtkvnc = %version-%release Requires: libgvnc-gir = %version-%release %description -n libgtkvnc-gir GObject introspection data for the GtkVnc widget library %package -n libgtkvnc-gir-devel Summary: GObject introspection devel data for the GtkVnc library Group: System/Libraries BuildArch: noarch Requires: libgtkvnc-gir = %version-%release Requires: libgvnc-gir-devel = %version-%release %description -n libgtkvnc-gir-devel GObject introspection devel data for the GtkVnc widget library %package -n libgtk3vnc-gir Summary: GObject introspection data for the GtkVnc library Group: System/Libraries Requires: libgtk3vnc = %version-%release Requires: libgvnc-gir = %version-%release %description -n libgtk3vnc-gir GObject introspection data for the GtkVnc widget library %package -n libgtk3vnc-gir-devel Summary: GObject introspection devel data for the GtkVnc library Group: System/Libraries BuildArch: noarch Requires: libgtk3vnc-gir = %version-%release Requires: libgvnc-gir-devel = %version-%release %description -n libgtk3vnc-gir-devel GObject introspection devel data for the GtkVnc widget library %package -n libgtk3vnc-vala Summary: Vala bindings for GtkVnc library Group: Development/C Requires: libgtk3vnc = %version-%release %description -n libgtk3vnc-vala This package provides Vala language bindings for for the GtkVnc widget library. %prep %setup -q -c %name mkdir gtk3-build cp -R %name-%version/* gtk3-build/ %build pushd %name-%version %autoreconf %configure \ %{subst_enable static} \ --with-examples \ %{subst_with python} \ --with-libview \ %{subst_enable introspection} \ --with-gtk=2.0 \ --disable-vala %make_build popd pushd gtk3-build %autoreconf %configure \ %{subst_enable static} \ --with-examples \ %{subst_with python} \ --with-libview \ %{subst_enable introspection} \ %{subst_enable vala} \ --program-suffix=-3 %make_build popd %install pushd %name-%version %makeinstall_std %find_lang %name --output %_builddir/%name.lang popd pushd gtk3-build %makeinstall_std popd %files -f %_builddir/%name.lang %_bindir/* %exclude %_bindir/*-3 %_man1dir/* %exclude %_man1dir/*-3.* %files -n libgvnc %_libdir/libgvnc-%api_ver.so.* %_libdir/libgvncpulse-%api_ver.so.* %files -n libgvnc-devel %_libdir/libgvnc-%api_ver.so %_libdir/libgvncpulse-%api_ver.so %_includedir/gvnc-%api_ver/ %_includedir/gvncpulse-%api_ver/ %_pkgconfigdir/gvnc-%api_ver.pc %_pkgconfigdir/gvncpulse-%api_ver.pc %if_enabled vala %{?_enable_vapi:%files -n libgvnc-vala} %_vapidir/gvnc-%api_ver.vapi %_vapidir/gvnc-%api_ver.deps %_vapidir/gvncpulse-%api_ver.vapi %_vapidir/gvncpulse-%api_ver.deps %endif %files -n libgtkvnc %_libdir/libgtk-vnc-%api_ver.so.* %files -n libgtkvnc-devel %_libdir/libgtk-vnc-%api_ver.so %_includedir/gtk-vnc-%api_ver %_pkgconfigdir/gtk-vnc-%api_ver.pc %if_with gtk3 %files -n libgtk3vnc %_libdir/libgtk-vnc-2.0.so.* %files -n libgtk3vnc-devel %_libdir/libgtk-vnc-2.0.so %_includedir/gtk-vnc-2.0 %_pkgconfigdir/gtk-vnc-2.0.pc %if_enabled vala %{?_enable_vapi:%files -n libgtk3vnc-vala} %_vapidir/gtk-vnc-2.0.deps %_vapidir/gtk-vnc-2.0.vapi %endif %endif %if_with python %files -n python-module-gtkvnc %python_sitelibdir/* %endif %if_enabled introspection %files -n libgvnc-gir %_typelibdir/GVnc-%api_ver.typelib %_typelibdir/GVncPulse-%api_ver.typelib %files -n libgvnc-gir-devel %_girdir/GVnc-%api_ver.gir %_girdir/GVncPulse-%api_ver.gir %files -n libgtkvnc-gir %_typelibdir/GtkVnc-%api_ver.typelib %files -n libgtkvnc-gir-devel %_girdir/GtkVnc-%api_ver.gir %if_with gtk3 %files -n libgtk3vnc-gir %_typelibdir/GtkVnc-2.0.typelib %files -n libgtk3vnc-gir-devel %_girdir/GtkVnc-2.0.gir %endif %endif %changelog * Wed Sep 04 2019 Alexey Appolonov <alexey@altlinux.org> 0.7.1-alt0.M80C.1 - Port to c8.1 branch due to upgrade of the server side (SPICE). * Fri Jun 02 2017 Yuri N. Sedunov <aris@altlinux.org> 0.7.1-alt0.M80P.1 - backport to p8 * Fri May 19 2017 Yuri N. Sedunov <aris@altlinux.org> 0.7.1-alt1 - 0.7.1 * Wed Feb 15 2017 Yuri N. Sedunov <aris@altlinux.org> 0.7.0-alt0.M80P.1 - backport to p8 * Thu Feb 09 2017 Yuri N. Sedunov <aris@altlinux.org> 0.7.0-alt1 - 0.7.0 (fixed CVE-2017-5884, CVE-2017-5885) * Thu Aug 18 2016 Yuri N. Sedunov <aris@altlinux.org> 0.6.0-alt1 - 0.6.0 * Wed Apr 06 2016 Yuri N. Sedunov <aris@altlinux.org> 0.5.4-alt2 - rebuilt against libgnutls.so.30 * Tue Feb 10 2015 Yuri N. Sedunov <aris@altlinux.org> 0.5.4-alt1 - 0.5.4 * Tue Oct 22 2013 Yuri N. Sedunov <aris@altlinux.org> 0.5.3-alt2 - rebuilt with libsasl2.so.3 * Wed Sep 18 2013 Yuri N. Sedunov <aris@altlinux.org> 0.5.3-alt1 - 0.5.3 * Sat Feb 23 2013 Yuri N. Sedunov <aris@altlinux.org> 0.5.2-alt1 - 0.5.2 * Thu Jul 12 2012 Yuri N. Sedunov <aris@altlinux.org> 0.5.1-alt1 - 0.5.1 * Mon May 21 2012 Yuri N. Sedunov <aris@altlinux.org> 0.5.0-alt3 - updated buildreqs * Wed Apr 04 2012 Yuri N. Sedunov <aris@altlinux.org> 0.5.0-alt2 - move .vapi-files to *-devel subpackages * Sun Jan 08 2012 Yuri N. Sedunov <aris@altlinux.org> 0.5.0-alt1 - 0.5.0 * Thu Nov 10 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.4-alt1 - 0.4.4 - new *-vala subpackages * Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.4.3-alt3.1 - Rebuild with Python-2.7 * Tue Mar 08 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.3-alt3 - updated buildreqs * Sat Feb 26 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.3-alt2 - build against GTK+3 too * Fri Feb 18 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.3-alt1 - 0.4.3 * Tue Feb 15 2011 Yuri N. Sedunov <aris@altlinux.org> 0.4.2-alt2 - updated buildreqs * Mon Nov 29 2010 Igor Vlasenko <viy@altlinux.ru> 0.4.2-alt1.1 - repair after perl 5.12 upgrade using girar-nmu * Fri Nov 05 2010 Yuri N. Sedunov <aris@altlinux.org> 0.4.2-alt1 - 0.4.2 * Tue Oct 19 2010 Yuri N. Sedunov <aris@altlinux.org> 0.4.1-alt1 - 0.4.1 * Wed Nov 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3.10-alt1.1 - Rebuilt with python 2.6 * Wed Oct 21 2009 Yuri N. Sedunov <aris@altlinux.org> 0.3.10-alt1 - 0.3.10 * Thu Aug 13 2009 Yuri N. Sedunov <aris@altlinux.org> 0.3.9-alt1 - 0.3.9 - updated buildreqs * Thu Dec 11 2008 Yuri N. Sedunov <aris@altlinux.org> 0.3.8-alt1 - 0.3.8 - updated buildreqs * Thu Apr 24 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.3.5-alt2 - fix #15449 * Sun Apr 13 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.3.5-alt1 - First build for ALTLinux |