Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. %{!?_self_signed: %define _self_signed 1}
  2. %{!?_bootstrap: %define _bootstrap 1}
  3. %define tigervnc_src_dir %{_builddir}/%{name}-%{version}%{?snap:-%{snap}}
  4. %global scl_name %{name}16
  5. %if %{_bootstrap}
  6. %define static_lib_buildroot %{tigervnc_src_dir}/opt/%{name}/%{scl_name}
  7. %else
  8. %define static_lib_buildroot /opt/%{name}/%{scl_name}
  9. %endif
  10. Name: tigervnc
  11. Version: @VERSION@
  12. Release: 5%{?snap:.%{snap}}%{?dist}
  13. Summary: A TigerVNC remote display system
  14. Group: User Interface/Desktops
  15. License: GPLv2+
  16. Packager: Brian P. Hinz <bphinz@users.sourceforge.net>
  17. URL: http://www.tigervnc.com
  18. Source0: %{name}-%{version}%{?snap:-%{snap}}.tar.bz2
  19. Source1: vncserver.service
  20. Source2: vncserver.sysconfig
  21. Source11: http://fltk.org/pub/fltk/1.3.3/fltk-1.3.3-source.tar.gz
  22. Source13: http://downloads.sourceforge.net/project/libpng/libpng15/1.5.24/libpng-1.5.24.tar.bz2
  23. Source14: https://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2
  24. Source15: http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.7.tar.gz
  25. Source16: https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz
  26. Source17: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.19.tar.xz
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  28. BuildRequires: gcc, gcc-c++
  29. BuildRequires: libX11-devel, automake, autoconf, libtool, gettext, gettext-devel
  30. BuildRequires: libXext-devel, xorg-x11-server-source, libXi-devel
  31. BuildRequires: xorg-x11-xtrans-devel, xorg-x11-util-macros, libXtst-devel
  32. BuildRequires: libdrm-devel, libXt-devel, pixman-devel libXfont-devel
  33. BuildRequires: libxkbfile-devel, openssl-devel, libpciaccess-devel
  34. BuildRequires: mesa-libGL-devel, libXinerama-devel, ImageMagick
  35. BuildRequires: freetype-devel, libXdmcp-devel
  36. BuildRequires: java-devel, jpackage-utils
  37. BuildRequires: libjpeg-turbo-devel, pam-devel
  38. BuildRequires: cmake >= 2.8
  39. %if !%{_bootstrap}
  40. BuildRequires: %{name}-static-devel == %{version}
  41. %endif
  42. %ifnarch s390 s390x
  43. BuildRequires: xorg-x11-server-devel
  44. %endif
  45. Requires(post): initscripts chkconfig coreutils
  46. Requires(postun): coreutils
  47. Requires: libjpeg-turbo
  48. Requires: hicolor-icon-theme
  49. Requires: tigervnc-license
  50. Requires: tigervnc-icons
  51. Provides: vnc = 4.1.3-2, vnc-libs = 4.1.3-2
  52. Obsoletes: vnc < 4.1.3-2, vnc-libs < 4.1.3-2
  53. Provides: tightvnc = 1.5.0-0.15.20090204svn3586
  54. Obsoletes: tightvnc < 1.5.0-0.15.20090204svn3586
  55. Patch16: tigervnc-xorg-manpages.patch
  56. Patch17: nettle-2.7.1-ecc-cve.patch
  57. %description
  58. Virtual Network Computing (VNC) is a remote display system which
  59. allows you to view a computing 'desktop' environment not only on the
  60. machine where it is running, but from anywhere on the Internet and
  61. from a wide variety of machine architectures. This package contains a
  62. client which will allow you to connect to other desktops running a VNC
  63. server.
  64. %package server
  65. Summary: A TigerVNC server
  66. Group: User Interface/X
  67. Provides: vnc-server = 4.1.3-2, vnc-libs = 4.1.3-2
  68. Obsoletes: vnc-server < 4.1.3-2, vnc-libs < 4.1.3-2
  69. Provides: tightvnc-server = 1.5.0-0.15.20090204svn3586
  70. Obsoletes: tightvnc-server < 1.5.0-0.15.20090204svn3586
  71. Requires: perl
  72. Requires: tigervnc-server-minimal
  73. Requires: xorg-x11-xauth
  74. %description server
  75. The VNC system allows you to access the same desktop from a wide
  76. variety of platforms. This package includes set of utilities
  77. which make usage of TigerVNC server more user friendly. It also
  78. contains x0vncserver program which can export your active
  79. X session.
  80. %package server-minimal
  81. Summary: A minimal installation of TigerVNC server
  82. Group: User Interface/X
  83. Requires(post): chkconfig
  84. Requires(preun):chkconfig
  85. Requires(preun):initscripts
  86. Requires(postun):initscripts
  87. Requires: mesa-dri-drivers, xkeyboard-config, xorg-x11-xkb-utils
  88. Requires: tigervnc-license
  89. %description server-minimal
  90. The VNC system allows you to access the same desktop from a wide
  91. variety of platforms. This package contains minimal installation
  92. of TigerVNC server, allowing others to access the desktop on your
  93. machine.
  94. %ifnarch s390 s390x %{?rhel:ppc ppc64}
  95. %package server-module
  96. Summary: TigerVNC module to Xorg
  97. Group: User Interface/X
  98. Provides: vnc-server = 4.1.3-2, vnc-libs = 4.1.3-2
  99. Obsoletes: vnc-server < 4.1.3-2, vnc-libs < 4.1.3-2
  100. Provides: tightvnc-server-module = 1.5.0-0.15.20090204svn3586
  101. Obsoletes: tightvnc-server-module < 1.5.0-0.15.20090204svn3586
  102. Requires: xorg-x11-server-Xorg
  103. Requires: tigervnc-license
  104. %description server-module
  105. This package contains libvnc.so module to X server, allowing others
  106. to access the desktop on your machine.
  107. %endif
  108. %package server-applet
  109. Summary: Java TigerVNC viewer applet for TigerVNC server
  110. Group: User Interface/X
  111. Requires: tigervnc-server, java, jpackage-utils
  112. BuildArch: noarch
  113. %description server-applet
  114. The Java TigerVNC viewer applet for web browsers. Install this package to allow
  115. clients to use web browser when connect to the TigerVNC server.
  116. %package license
  117. Summary: License of TigerVNC suite
  118. Group: User Interface/X
  119. BuildArch: noarch
  120. %description license
  121. This package contains license of the TigerVNC suite
  122. %package icons
  123. Summary: Icons for TigerVNC viewer
  124. Group: User Interface/X
  125. BuildArch: noarch
  126. %description icons
  127. This package contains icons for TigerVNC viewer
  128. %if %{_bootstrap}
  129. %package static-devel
  130. Summary: Static development files necessary to build TigerVNC
  131. Group: Development/Libraries
  132. %description static-devel
  133. This package contains static development files necessary to build TigerVNC
  134. %endif
  135. %prep
  136. rm -rf $RPM_BUILD_ROOT
  137. %setup -q -n %{name}-%{version}%{?snap:-%{snap}}
  138. %if %{_bootstrap}
  139. tar xzf %SOURCE11
  140. tar xjf %SOURCE13
  141. tar xjf %SOURCE14
  142. tar xzf %SOURCE15
  143. tar xzf %SOURCE16
  144. pushd nettle-*
  145. %patch17 -p1 -b .ecc-cve
  146. popd
  147. xzcat %SOURCE17 | tar xf -
  148. %endif
  149. cp -r /usr/share/xorg-x11-server-source/* unix/xserver
  150. pushd unix/xserver
  151. for all in `find . -type f -perm -001`; do
  152. chmod -x "$all"
  153. done
  154. patch -p1 -b --suffix .vnc < ../xserver117.patch
  155. popd
  156. %patch16 -p0 -b .man
  157. %build
  158. %if %{_bootstrap}
  159. mkdir -p %{static_lib_buildroot}%{_libdir}
  160. %endif
  161. %ifarch sparcv9 sparc64 s390 s390x
  162. export CFLAGS="$RPM_OPT_FLAGS -fPIC -I%{static_lib_buildroot}%{_includedir}"
  163. %else
  164. export CFLAGS="$RPM_OPT_FLAGS -fpic -I%{static_lib_buildroot}%{_includedir}"
  165. %endif
  166. export CXXFLAGS=$CFLAGS
  167. export CPPFLAGS=$CXXFLAGS
  168. export PKG_CONFIG_PATH="%{static_lib_buildroot}%{_libdir}/pkgconfig:%{static_lib_buildroot}%{_datadir}/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig"
  169. %if %{_bootstrap}
  170. echo "*** Building gmp ***"
  171. pushd gmp-*
  172. ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --enable-cxx --disable-assembly
  173. make %{?_smp_mflags} DESTDIR=%{static_lib_buildroot} install
  174. find %{static_lib_buildroot}%{_prefix} -type f -name "*.la" -delete
  175. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{static_lib_buildroot}%{_libdir}|" {} \;
  176. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{static_lib_buildroot}%{_prefix}|" {} \;
  177. popd
  178. echo "*** Building libtasn1 ***"
  179. pushd libtasn1-*
  180. LDFLAGS="-L%{static_lib_buildroot}%{_libdir} $LDFLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --host=%{_host} --build=%{_build}
  181. make %{?_smp_mflags} DESTDIR=%{static_lib_buildroot} install
  182. find %{static_lib_buildroot}%{_prefix} -type f -name "*.la" -delete
  183. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{static_lib_buildroot}%{_libdir}|" {} \;
  184. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{static_lib_buildroot}%{_prefix}|" {} \;
  185. popd
  186. echo "*** Building nettle ***"
  187. pushd nettle-*
  188. autoreconf -fiv
  189. LDFLAGS="-L%{static_lib_buildroot}%{_libdir} -Wl,-Bstatic -ltasn1 -lgmp -Wl,-Bdynamic $LDFLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --enable-static --disable-shared --disable-openssl --host=%{_host} --build=%{_build}
  190. make %{?_smp_mflags} DESTDIR=%{static_lib_buildroot} install
  191. find %{static_lib_buildroot}%{_prefix} -type f -name "*.la" -delete
  192. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{static_lib_buildroot}%{_libdir}|" {} \;
  193. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{static_lib_buildroot}%{_prefix}|" {} \;
  194. popd
  195. echo "*** Building gnutls ***"
  196. pushd gnutls-*
  197. LDFLAGS="-L%{static_lib_buildroot}%{_libdir} -Wl,-Bstatic -lnettle -lhogweed -ltasn1 -lgmp -Wl,-Bdynamic $LDFLAGS" ./configure \
  198. --prefix=%{_prefix} \
  199. --libdir=%{_libdir} \
  200. --host=%{_host} \
  201. --build=%{_build} \
  202. --enable-static \
  203. --disable-shared \
  204. --without-p11-kit \
  205. --disable-guile \
  206. --disable-srp-authentication \
  207. --disable-libdane \
  208. --disable-doc \
  209. --enable-local-libopts \
  210. --without-tpm \
  211. --disable-dependency-tracking \
  212. --disable-silent-rules \
  213. --disable-heartbeat-support
  214. make %{?_smp_mflags} DESTDIR=%{static_lib_buildroot} install
  215. find %{static_lib_buildroot}%{_prefix} -type f -name "*.la" -delete
  216. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=%{static_lib_buildroot}%{_libdir}|" {} \;
  217. find %{static_lib_buildroot}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=%{static_lib_buildroot}%{_prefix}|" {} \;
  218. popd
  219. echo "*** Building libpng ***"
  220. pushd libpng-*
  221. CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" ./configure \
  222. --prefix=%{_prefix} \
  223. --libdir=%{_libdir} \
  224. --host=%{_host} \
  225. --build=%{_build} \
  226. --disable-shared \
  227. --enable-static
  228. make %{?_smp_mflags}
  229. make DESTDIR=%{static_lib_buildroot} install
  230. popd
  231. echo "*** Building fltk ***"
  232. pushd fltk-*
  233. %endif
  234. export CMAKE_PREFIX_PATH="%{static_lib_buildroot}%{_prefix}:%{_prefix}"
  235. export CMAKE_EXE_LINKER_FLAGS=$LDFLAGS
  236. export PKG_CONFIG="pkg-config --static"
  237. %if %{_bootstrap}
  238. CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="-L%{static_lib_buildroot}%{_libdir} -Wl,-Bstatic -lpng -Wl,-Bdynamic $LDFLAGS" ./configure \
  239. --prefix=%{_prefix} \
  240. --libdir=%{_libdir} \
  241. --host=%{_host} \
  242. --build=%{_build} \
  243. --enable-x11 \
  244. --enable-gl \
  245. --disable-shared \
  246. --enable-localjpeg \
  247. --enable-localzlib \
  248. --disable-localpng \
  249. --enable-xinerama \
  250. --enable-xft \
  251. --enable-xdbe \
  252. --enable-xfixes \
  253. --enable-xcursor \
  254. --with-x
  255. make %{?_smp_mflags}
  256. make DESTDIR=%{static_lib_buildroot} install
  257. popd
  258. %endif
  259. %{cmake} -G"Unix Makefiles" \
  260. -DBUILD_STATIC=off \
  261. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
  262. -DFLTK_LIBRARIES="%{static_lib_buildroot}%{_libdir}/libfltk.a;%{static_lib_buildroot}%{_libdir}/libfltk_images.a;%{static_lib_buildroot}%{_libdir}/libpng.a" \
  263. -DFLTK_INCLUDE_DIR=%{static_lib_buildroot}%{_includedir} \
  264. -DGNUTLS_INCLUDE_DIR=%{static_lib_buildroot}%{_includedir} \
  265. -DGNUTLS_LIBRARY="%{static_lib_buildroot}%{_libdir}/libgnutls.a;%{static_lib_buildroot}%{_libdir}/libtasn1.a;%{static_lib_buildroot}%{_libdir}/libnettle.a;%{static_lib_buildroot}%{_libdir}/libhogweed.a;%{static_lib_buildroot}%{_libdir}/libgmp.a"
  266. make %{?_smp_mflags}
  267. pushd unix/xserver
  268. autoreconf -fiv
  269. %configure \
  270. --disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
  271. --disable-xwin --disable-xephyr --disable-kdrive --disable-wayland \
  272. --with-pic --disable-static --enable-xinerama \
  273. --with-default-font-path="catalogue:%{_sysconfdir}/X11/fontpath.d,built-ins" \
  274. --with-serverconfig-path=%{_libdir}/xorg \
  275. --with-fontrootdir=%{_datadir}/X11/fonts \
  276. --with-xkb-output=%{_localstatedir}/lib/xkb \
  277. --enable-install-libxf86config \
  278. --enable-glx --enable-glx-tls --disable-dri --enable-dri2 --disable-dri3 \
  279. --disable-config-dbus \
  280. --disable-config-hal \
  281. --disable-config-udev \
  282. --without-dtrace \
  283. --disable-unit-tests \
  284. --disable-docs \
  285. --disable-devel-docs \
  286. --disable-selective-werror
  287. make %{?_smp_mflags}
  288. popd
  289. # Build icons
  290. pushd media
  291. make
  292. popd
  293. # Build Java applet
  294. pushd java
  295. %{cmake} \
  296. %if !%{_self_signed}
  297. -DJAVA_KEYSTORE=%{_keystore} \
  298. -DJAVA_KEYSTORE_TYPE=%{_keystore_type} \
  299. -DJAVA_KEY_ALIAS=%{_key_alias} \
  300. -DJAVA_STOREPASS=":env STOREPASS" \
  301. -DJAVA_KEYPASS=":env KEYPASS" \
  302. -DJAVA_TSA_URL=http://timestamp.geotrust.com/tsa .
  303. %endif
  304. JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF8" make
  305. popd
  306. %install
  307. %if %{_bootstrap}
  308. for l in gmp libtasn1 nettle gnutls libpng fltk; do
  309. pushd $l-*
  310. make install DESTDIR=$RPM_BUILD_ROOT/opt/%{name}/%{scl_name}
  311. popd
  312. done
  313. find %{buildroot}/opt/%{name}/%{scl_name}%{_prefix} -type f -name "*.la" -delete
  314. find %{buildroot}/opt/%{name}/%{scl_name}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|libdir=%{_libdir}|libdir=/opt/%{name}/%{scl_name}%{_libdir}|" {} \;
  315. find %{buildroot}/opt/%{name}/%{scl_name}%{_prefix} -type f -name "*.pc" -exec sed -i -e "s|prefix=%{_prefix}|prefix=/opt/%{name}/%{scl_name}%{_prefix}|" {} \;
  316. %endif
  317. make install DESTDIR=$RPM_BUILD_ROOT
  318. pushd unix/xserver/hw/vnc
  319. make install DESTDIR=$RPM_BUILD_ROOT
  320. popd
  321. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
  322. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
  323. install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/init.d/vncserver
  324. install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vncservers
  325. # Install Java applet
  326. pushd java
  327. mkdir -p $RPM_BUILD_ROOT%{_datadir}/vnc/classes
  328. install -m755 VncViewer.jar $RPM_BUILD_ROOT%{_datadir}/vnc/classes
  329. install -m644 com/tigervnc/vncviewer/index.vnc $RPM_BUILD_ROOT%{_datadir}/vnc/classes
  330. popd
  331. %find_lang %{name} %{name}.lang
  332. # remove unwanted files
  333. rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libvnc.la
  334. %ifarch s390 s390x %{?rhel:ppc ppc64}
  335. rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/extensions/libvnc.so
  336. %endif
  337. %clean
  338. rm -rf $RPM_BUILD_ROOT
  339. %post
  340. touch -c %{_datadir}/icons/hicolor
  341. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  342. %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  343. fi
  344. %postun
  345. touch -c %{_datadir}/icons/hicolor
  346. if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  347. %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
  348. fi
  349. %post server
  350. /sbin/chkconfig --add vncserver
  351. %triggerun -- tigervnc-server < 1.0.90-6
  352. /sbin/service vncserver stop &>/dev/null || :
  353. /sbin/chkconfig --del vncserver >/dev/null 2>&1 || :
  354. %files -f %{name}.lang
  355. %defattr(-,root,root,-)
  356. %doc README.txt
  357. %{_bindir}/vncviewer
  358. %{_datadir}/applications/*
  359. %{_mandir}/man1/vncviewer.1*
  360. %files server
  361. %defattr(-,root,root,-)
  362. %config(noreplace) %{_sysconfdir}/sysconfig/vncservers
  363. %config(noreplace) %{_sysconfdir}/init.d/vncserver
  364. %{_bindir}/x0vncserver
  365. %{_bindir}/vncserver
  366. %{_mandir}/man1/vncserver.1*
  367. %{_mandir}/man1/x0vncserver.1*
  368. %files server-minimal
  369. %defattr(-,root,root,-)
  370. %{_bindir}/vncconfig
  371. %{_bindir}/vncpasswd
  372. %{_bindir}/Xvnc
  373. %{_mandir}/man1/Xvnc.1*
  374. %{_mandir}/man1/vncpasswd.1*
  375. %{_mandir}/man1/vncconfig.1*
  376. %ifnarch s390 s390x %{?rhel:ppc ppc64}
  377. %files server-module
  378. %defattr(-,root,root,-)
  379. %{_libdir}/xorg/modules/extensions/libvnc.so
  380. %endif
  381. %files server-applet
  382. %defattr(-,root,root,-)
  383. %doc java/com/tigervnc/vncviewer/README
  384. %{_datadir}/vnc/classes/*
  385. %files license
  386. %defattr(-,root,root,-)
  387. %doc LICENCE.TXT
  388. %files icons
  389. %defattr(-,root,root,-)
  390. %{_datadir}/icons/hicolor/*/apps/*
  391. %if %{_bootstrap}
  392. %files static-devel
  393. %defattr(-,root,root,-)
  394. /opt/%{name}/%{scl_name}%{_bindir}/*
  395. /opt/%{name}/%{scl_name}%{_includedir}/*
  396. /opt/%{name}/%{scl_name}%{_libdir}/*
  397. /opt/%{name}/%{scl_name}%{_datadir}/*
  398. %endif
  399. %changelog
  400. * Mon Jun 20 2016 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-5
  401. - Patch for Xorg 1.17 due to vendor bump of Xorg version
  402. * Sat Apr 02 2016 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-4
  403. - Fixed CVE-2015-8803 CVE-2015-8804 CVE-2015-8805 secp256r1 and secp384r1 bugs
  404. * Fri Dec 11 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-3
  405. - Configure with --host and --build to avoid build host-specific compiler opts
  406. * Sun Nov 29 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-2
  407. - Split static pre-reqs into separate package
  408. * Thu Nov 26 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.6.80-1
  409. - Version bump for 1.6 release
  410. - Update gnutls, libtasn1, libpng to latest upstream versions.
  411. * Sat Mar 14 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-21
  412. - Build static libraries to meet new minimum requirements
  413. * Sat Mar 07 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-20
  414. - Don't disable xinerama extension
  415. * Thu Feb 19 2015 Brian P. Hinz <bphinz@users.sourceforge.net> 1.4.80-19
  416. - Bumped fltk version to 1.3.3, no longer requires any patching
  417. * Tue Nov 04 2014 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.80-18.20131128svn5139
  418. - Bumped xserver patch to keep pace with native version
  419. * Thu Nov 28 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.80-17.20131128svn5139
  420. - Bumped version to 1.3.80
  421. - Cleaned up linter warnings
  422. * Thu Jul 05 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.3.0
  423. - Upstream 1.3.0 release
  424. - Conditional-ized %snap for release
  425. * Thu Apr 04 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.90-12.20130524svn5114
  426. - Improve spec file portability
  427. * Thu Apr 04 2013 Brian P. Hinz <bphinz@users.sourceforge.net> 1.2.80-12.20130330svn5066
  428. - Adapted from fedora for el6
  429. * Thu Mar 14 2013 Adam Tkac <atkac redhat com> - 1.2.80-0.10.20130314svn5065
  430. - include /etc/X11/xorg.conf.d/10-libvnc.conf sample configuration (#712482)
  431. - vncserver now honors specified -geometry parameter (#755947)
  432. * Tue Mar 12 2013 Adam Tkac <atkac redhat com> - 1.2.80-0.9.20130307svn5060
  433. - update to r5060
  434. - split icons to separate package to avoid multilib issues
  435. * Thu Jan 24 2013 Adam Tkac <atkac redhat com> 1.2.80-0.8.20130124svn5036
  436. - update to r5036 (#892351)
  437. * Wed Jan 16 2013 Adam Tkac <atkac redhat com> 1.2.80-0.7.20121126svn5015
  438. - rebuild
  439. * Tue Dec 04 2012 Adam Tkac <atkac redhat com> 1.2.80-0.6.20121126svn5015
  440. - rebuild against new fltk
  441. * Mon Nov 26 2012 Adam Tkac <atkac redhat com> 1.2.80-0.5.20121126svn5015
  442. - update to r5015
  443. - build with -fpic instead of -fPIC on all archs except s390/sparc
  444. * Wed Nov 7 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.80-0.4.20120905svn4996
  445. - Build with -fPIC to fix FTBFS on ARM
  446. * Wed Oct 31 2012 Adam Jackson <ajax@redhat.com> 1.2.80-0.3.20120905svn4996
  447. - tigervnc12-xorg113-glx.patch: Fix to only init glx on the first server
  448. generation
  449. * Fri Sep 28 2012 Adam Jackson <ajax@redhat.com> 1.2.80-0.2.20120905svn4996
  450. - tigervnc12-xorg113-glx.patch: Re-enable GLX against xserver 1.13
  451. * Fri Aug 17 2012 Adam Tkac <atkac redhat com> 1.2.80-0.1.20120905svn4996
  452. - update to 1.2.80
  453. - remove deprecated patches
  454. - tigervnc-102434.patch
  455. - tigervnc-viewer-reparent.patch
  456. - tigervnc11-java7.patch
  457. - patches merged
  458. - tigervnc11-xorg111.patch
  459. - tigervnc11-xorg112.patch
  460. * Fri Aug 10 2012 Dave Airlie <airlied@redhat.com> 1.1.0-10
  461. - fix build against newer X server
  462. * Mon Jul 23 2012 Adam Jackson <ajax@redhat.com> 1.1.0-9
  463. - Build with the Composite extension for feature parity with other X servers
  464. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-8
  465. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  466. * Thu Jul 19 2012 Dave Airlie <airlied@redhat.com> 1.1.0-7
  467. - fix building against X.org 1.13
  468. * Wed Apr 04 2012 Adam Jackson <ajax@redhat.com> 1.1.0-6
  469. - RHEL exclusion for -server-module on ppc* too
  470. * Mon Mar 26 2012 Adam Tkac <atkac redhat com> - 1.1.0-5
  471. - clean Xvnc's /tmp environment in service file before startup
  472. - fix building against the latest JAVA 7 and X.Org 1.12
  473. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
  474. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  475. * Tue Nov 22 2011 Adam Tkac <atkac redhat com> - 1.1.0-3
  476. - don't build X.Org devel docs (#755782)
  477. - applet: BR generic java-devel instead of java-gcj-devel (#755783)
  478. - use runuser to start Xvnc in systemd service file (#754259)
  479. - don't attepmt to restart Xvnc session during update/erase (#753216)
  480. * Fri Nov 11 2011 Adam Tkac <atkac redhat com> - 1.1.0-2
  481. - libvnc.so: don't use unexported GetMaster function (#744881)
  482. - remove nasm buildreq
  483. * Mon Sep 12 2011 Adam Tkac <atkac redhat com> - 1.1.0-1
  484. - update to 1.1.0
  485. - update the xorg11 patch
  486. - patches merged
  487. - tigervnc11-glx.patch
  488. - tigervnc11-CVE-2011-1775.patch
  489. - 0001-Use-memmove-instead-of-memcpy-in-fbblt.c-when-memory.patch
  490. * Thu Jul 28 2011 Adam Tkac <atkac redhat com> - 1.0.90-6
  491. - add systemd service file and remove legacy SysV initscript (#717227)
  492. * Tue May 12 2011 Adam Tkac <atkac redhat com> - 1.0.90-5
  493. - make Xvnc buildable against X.Org 1.11
  494. * Tue May 10 2011 Adam Tkac <atkac redhat com> - 1.0.90-4
  495. - viewer can send password without proper validation of X.509 certs
  496. (CVE-2011-1775)
  497. * Wed Apr 13 2011 Adam Tkac <atkac redhat com> - 1.0.90-3
  498. - fix wrong usage of memcpy which caused screen artifacts (#652590)
  499. - don't point to inaccessible link in sysconfig/vncservers (#644975)
  500. * Fri Apr 08 2011 Adam Tkac <atkac redhat com> - 1.0.90-2
  501. - improve compatibility with vinagre client (#692048)
  502. * Tue Mar 22 2011 Adam Tkac <atkac redhat com> - 1.0.90-1
  503. - update to 1.0.90
  504. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.90-0.32.20110117svn4237
  505. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  506. * Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-0.31.20110117svn4237
  507. - fix libvnc.so module loading
  508. * Mon Jan 17 2011 Adam Tkac <atkac redhat com> 1.0.90-0.30.20110117svn4237
  509. - update to r4237
  510. - patches merged
  511. - tigervnc11-optionsdialog.patch
  512. - tigervnc11-rh607866.patch
  513. * Fri Jan 14 2011 Adam Tkac <atkac redhat com> 1.0.90-0.29.20101208svn4225
  514. - improve patch for keyboard issues
  515. * Fri Jan 14 2011 Adam Tkac <atkac redhat com> 1.0.90-0.28.20101208svn4225
  516. - attempt to fix various keyboard-related issues (key repeating etc)
  517. * Fri Jan 07 2011 Adam Tkac <atkac redhat com> 1.0.90-0.27.20101208svn4225
  518. - render "Ok" and "Cancel" buttons in the options dialog correctly
  519. * Wed Dec 15 2010 Jan Görig <jgorig redhat com> 1.0.90-0.26.20101208svn4225
  520. - added vncserver lock file (#662784)
  521. * Fri Dec 10 2010 Adam Tkac <atkac redhat com> 1.0.90-0.25.20101208svn4225
  522. - update to r4225
  523. - patches merged
  524. - tigervnc11-rh611677.patch
  525. - tigervnc11-rh633931.patch
  526. - tigervnc11-xorg1.10.patch
  527. - enable VeNCrypt and PAM support
  528. * Mon Dec 06 2010 Adam Tkac <atkac redhat com> 1.0.90-0.24.20100813svn4123
  529. - rebuild against xserver 1.10.X
  530. - 0001-Return-Success-from-generate_modkeymap-when-max_keys.patch merged
  531. * Wed Sep 29 2010 jkeating - 1.0.90-0.23.20100813svn4123
  532. - Rebuilt for gcc bug 634757
  533. * Tue Sep 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.22.20100420svn4030
  534. - drop xorg-x11-fonts-misc dependency (#636170)
  535. * Tue Sep 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.21.20100420svn4030
  536. - improve patch for #633645 (fix tcsh incompatibilities)
  537. * Thu Sep 16 2010 Adam Tkac <atkac redhat com> 1.0.90-0.20.20100813svn4123
  538. - press fake modifiers correctly (#633931)
  539. - supress unneeded debug information emitted from initscript (#633645)
  540. * Wed Aug 25 2010 Adam Tkac <atkac redhat com> 1.0.90-0.19.20100813svn4123
  541. - separate Xvnc, vncpasswd and vncconfig to -server-minimal subpkg (#626946)
  542. - move license to separate subpkg and Requires it from main subpkgs
  543. - Xvnc: handle situations when no modifiers exist well (#611677)
  544. * Fri Aug 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.18.20100813svn4123
  545. - update to r4123 (#617973)
  546. - add perl requires to -server subpkg (#619791)
  547. * Thu Jul 22 2010 Adam Tkac <atkac redhat com> 1.0.90-0.17.20100721svn4113
  548. - update to r4113
  549. - patches merged
  550. - tigervnc11-rh586406.patch
  551. - tigervnc11-libvnc.patch
  552. - tigervnc11-rh597172.patch
  553. - tigervnc11-rh600070.patch
  554. - tigervnc11-options.patch
  555. - don't own %%{_datadir}/icons directory (#614301)
  556. - minor improvements in the .desktop file (#616340)
  557. - bundled libjpeg configure requires nasm; is executed even if system-wide
  558. libjpeg is used
  559. * Fri Jul 02 2010 Adam Tkac <atkac redhat com> 1.0.90-0.16.20100420svn4030
  560. - build against system-wide libjpeg-turbo (#494458)
  561. - build no longer requires nasm
  562. * Mon Jun 28 2010 Adam Tkac <atkac redhat com> 1.0.90-0.15.20100420svn4030
  563. - vncserver: accept <+optname> option when specified as the first one
  564. * Thu Jun 24 2010 Adam Tkac <atkac redhat com> 1.0.90-0.14.20100420svn4030
  565. - fix memory leak in Xvnc input code (#597172)
  566. - don't crash when receive negative encoding (#600070)
  567. - explicitly disable udev configuration support
  568. - add gettext-autopoint to BR
  569. * Mon Jun 14 2010 Adam Tkac <atkac redhat com> 1.0.90-0.13.20100420svn4030
  570. - update URL about SSH tunneling in the sysconfig file (#601996)
  571. * Fri Jun 11 2010 Adam Tkac <atkac redhat com> 1.0.90-0.12.20100420svn4030
  572. - use newer gettext
  573. - autopoint now uses git instead of cvs, adjust BuildRequires appropriately
  574. * Thu May 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.11.20100420svn4030
  575. - link libvnc.so "now" to catch "undefined symbol" errors during Xorg startup
  576. - use always XkbConvertCase instead of XConvertCase (#580159, #586406)
  577. - don't link libvnc.so against libXi.la, libdix.la and libxkb.la; use symbols
  578. from Xorg instead
  579. * Thu May 13 2010 Adam Tkac <atkac redhat com> 1.0.90-0.10.20100420svn4030
  580. - update to r4030 snapshot
  581. - patches merged to upstream
  582. - tigervnc11-rh522369.patch
  583. - tigervnc11-rh551262.patch
  584. - tigervnc11-r4002.patch
  585. - tigervnc11-r4014.patch
  586. * Thu Apr 08 2010 Adam Tkac <atkac redhat com> 1.0.90-0.9.20100219svn3993
  587. - add server-applet subpackage which contains Java vncviewer applet
  588. - fix Java applet; it didn't work when run from web browser
  589. - add xorg-x11-xkb-utils to server Requires
  590. * Fri Mar 12 2010 Adam Tkac <atkac redhat com> 1.0.90-0.8.20100219svn3993
  591. - add French translation to vncviewer.desktop (thanks to Alain Portal)
  592. * Thu Mar 04 2010 Adam Tkac <atkac redhat com> 1.0.90-0.7.20100219svn3993
  593. - don't crash during pixel format change (#522369, #551262)
  594. * Mon Mar 01 2010 Adam Tkac <atkac redhat com> 1.0.90-0.6.20100219svn3993
  595. - add mesa-dri-drivers and xkeyboard-config to -server Requires
  596. - update to r3993 1.0.90 snapshot
  597. - tigervnc11-noexecstack.patch merged
  598. - tigervnc11-xorg18.patch merged
  599. - xserver18.patch is no longer needed
  600. * Wed Jan 27 2010 Jan Gorig <jgorig redhat com> 1.0.90-0.5.20091221svn3929
  601. - initscript LSB compliance fixes (#523974)
  602. * Fri Jan 22 2010 Adam Tkac <atkac redhat com> 1.0.90-0.4.20091221svn3929
  603. - mark stack as non-executable in jpeg ASM code
  604. - add xorg-x11-xauth to Requires
  605. - add support for X.Org 1.8
  606. - drop shave sources, they are no longer needed
  607. * Thu Jan 21 2010 Adam Tkac <atkac redhat com> 1.0.90-0.3.20091221svn3929
  608. - drop tigervnc-xorg25909.patch, it has been merged to X.Org upstream
  609. * Thu Jan 07 2010 Adam Tkac <atkac redhat com> 1.0.90-0.2.20091221svn3929
  610. - add patch for upstream X.Org issue #25909
  611. - add libXdmcp-devel to build requires to build Xvnc with XDMCP support (#552322)
  612. * Mon Dec 21 2009 Adam Tkac <atkac redhat com> 1.0.90-0.1.20091221svn3929
  613. - update to 1.0.90 snapshot
  614. - patches merged
  615. - tigervnc10-compat.patch
  616. - tigervnc10-rh510185.patch
  617. - tigervnc10-rh524340.patch
  618. - tigervnc10-rh516274.patch
  619. * Mon Oct 26 2009 Adam Tkac <atkac redhat com> 1.0.0-3
  620. - create Xvnc keyboard mapping before first keypress (#516274)
  621. * Thu Oct 08 2009 Adam Tkac <atkac redhat com> 1.0.0-2
  622. - update underlying X source to 1.6.4-0.3.fc11
  623. - remove bogus '-nohttpd' parameter from /etc/sysconfig/vncservers (#525629)
  624. - initscript LSB compliance fixes (#523974)
  625. - improve -LowColorSwitch documentation and handling (#510185)
  626. - honor dotWhenNoCursor option (and it's changes) every time (#524340)
  627. * Fri Aug 28 2009 Adam Tkac <atkac redhat com> 1.0.0-1
  628. - update to 1.0.0
  629. - tigervnc10-rh495457.patch merged to upstream
  630. * Mon Aug 24 2009 Karsten Hopp <karsten@redhat.com> 0.0.91-0.17
  631. - fix ifnarch s390x for server-module
  632. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.0.91-0.16
  633. - rebuilt with new openssl
  634. * Tue Aug 04 2009 Adam Tkac <atkac redhat com> 0.0.91-0.15
  635. - make Xvnc compilable
  636. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.91-0.14.1
  637. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  638. * Mon Jul 13 2009 Adam Tkac <atkac redhat com> 0.0.91-0.13.1
  639. - don't write warning when initscript is called with condrestart param (#508367)
  640. * Tue Jun 23 2009 Adam Tkac <atkac redhat com> 0.0.91-0.13
  641. - temporary use F11 Xserver base to make Xvnc compilable
  642. - BuildRequires: libXi-devel
  643. - don't ship tigervnc-server-module on s390/s390x
  644. * Mon Jun 22 2009 Adam Tkac <atkac redhat com> 0.0.91-0.12
  645. - fix local rendering of cursor (#495457)
  646. * Thu Jun 18 2009 Adam Tkac <atkac redhat com> 0.0.91-0.11
  647. - update to 0.0.91 (1.0.0 RC1)
  648. - patches merged
  649. - tigervnc10-rh499401.patch
  650. - tigervnc10-rh497592.patch
  651. - tigervnc10-rh501832.patch
  652. - after discusion in upstream drop tigervnc-bounds.patch
  653. - configure flags cleanup
  654. * Thu May 21 2009 Adam Tkac <atkac redhat com> 0.0.90-0.10
  655. - rebuild against 1.6.1.901 X server (#497835)
  656. - disable i18n, vncviewer is not UTF-8 compatible (#501832)
  657. * Mon May 18 2009 Adam Tkac <atkac redhat com> 0.0.90-0.9
  658. - fix vncpasswd crash on long passwords (#499401)
  659. - start session dbus daemon correctly (#497592)
  660. * Mon May 11 2009 Adam Tkac <atkac redhat com> 0.0.90-0.8.1
  661. - remove merged tigervnc-manminor.patch
  662. * Tue May 05 2009 Adam Tkac <atkac redhat com> 0.0.90-0.8
  663. - update to 0.0.90
  664. * Thu Apr 30 2009 Adam Tkac <atkac redhat com> 0.0.90-0.7.20090427svn3789
  665. - server package now requires xorg-x11-fonts-misc (#498184)
  666. * Mon Apr 27 2009 Adam Tkac <atkac redhat com> 0.0.90-0.6.20090427svn3789
  667. - update to r3789
  668. - tigervnc-rh494801.patch merged
  669. - tigervnc-newfbsize.patch is no longer needed
  670. - fix problems when vncviewer and Xvnc run on different endianess (#496653)
  671. - UltraVNC and TightVNC clients work fine again (#496786)
  672. * Wed Apr 08 2009 Adam Tkac <atkac redhat com> 0.0.90-0.5.20090403svn3751
  673. - workaround broken fontpath handling in vncserver script (#494801)
  674. * Fri Apr 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.4.20090403svn3751
  675. - update to r3751
  676. - patches merged
  677. - tigervnc-xclients.patch
  678. - tigervnc-clipboard.patch
  679. - tigervnc-rh212985.patch
  680. - basic RandR support in Xvnc (resize of the desktop)
  681. - use built-in libjpeg (SSE2/MMX accelerated encoding on x86 platform)
  682. - use Tight encoding by default
  683. - use TigerVNC icons
  684. * Tue Mar 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.3.20090303svn3631
  685. - update to r3631
  686. * Tue Mar 03 2009 Adam Tkac <atkac redhat com> 0.0.90-0.2.20090302svn3621
  687. - package review related fixes
  688. * Mon Mar 02 2009 Adam Tkac <atkac redhat com> 0.0.90-0.1.20090302svn3621
  689. - initial package, r3621