You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tigervnc.spec 30KB

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