Package tigervnc: 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 | %define _deffontdir catalogue:%_sysconfdir/X11/fontpath.d %define _xorgmoduledir %_libdir/X11/modules Name: tigervnc Version: 1.7.0 Release: alt1.M80P.2 Summary: A TigerVNC remote display system Group: Networking/Remote access License: GPLv2+ URL: http://www.tigervnc.com BuildRequires(pre): rpm-macros-cmake Requires: xauth xkeyboard-config fonts-bitmap-misc xorg-dri-swrast Provides: tightvnc = 1.7.6 Obsoletes: tightvnc < 1.7.6 Source0: %name-%version.tar.gz Source1: vncserver.init Source2: vncserver.service Source6: vncviewer.desktop Source100: xorg-server-source-1.18.2.tar.bz2 Source101: tightpasswd.tar.gz Source200: repatch_spec.sh Source201: repatch_spec.unused ## FC patches Patch1: FC-cookie.patch Patch2: FC-libvnc-os.patch Patch3: FC-tigervnc11-rh692048.patch Patch4: FC-xserver116-rebased.patch Patch5: FC-inetd-nowait.patch Patch6: FC-manpages.patch Patch7: FC-getmaster.patch Patch8: FC-shebang.patch Patch9: FC-xstartup.patch Patch10: FC-xserver118.patch Patch11: FC-xorg118-QueueKeyboardEvents.patch ## Ubuntu patches ## ALT patches Patch501: tigervnc-1.3.1-stdinpasswd.patch # Automatically added by buildreq on Mon Apr 25 2016 # optimized out: cmake-modules fontconfig libGL-devel libICE-devel libX11-devel libXau-devel libXext-devel libXfixes-devel libXi-devel libgpg-error libgpg-error-devel libp11-kit libstdc++-devel perl pkg-config python-base xorg-fixesproto-devel xorg-fontsproto-devel xorg-inputproto-devel xorg-kbproto-devel xorg-recordproto-devel xorg-xextproto-devel xorg-xproto-devel BuildRequires: ImageMagick-tools cmake doxygen flex gcc-c++ libSM-devel libXdmcp-devel libXfont-devel libXtst-devel libdrm-devel libfltk-devel libgcrypt-devel libgnutls-devel libjpeg-devel libpam-devel libpixman-devel libssl-devel libxkbfile-devel libxshmfence-devel xorg-bigreqsproto-devel xorg-damageproto-devel xorg-dri2proto-devel xorg-dri3proto-devel xorg-glproto-devel xorg-presentproto-devel xorg-randrproto-devel xorg-renderproto-devel xorg-resourceproto-devel xorg-scrnsaverproto-devel xorg-videoproto-devel xorg-xcmiscproto-devel xorg-xtrans-devel zlib-devel BuildRequires: libfltk-devel >= 1.3.3 BuildRequires: xorg-sdk xorg-font-utils %ifarch %ix86 x86_64 BuildRequires: nasm %endif %description Virtual Network Computing (VNC) is a remote display system which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. This package contains a client which will allow you to connect to other desktops running a VNC server. %package server Summary: A TigerVNC server Group: Networking/Remote access Provides: tightvnc-server = 1.7.6 Obsoletes: tightvnc-server < 1.7.6 Requires: %name-common = %version-%release %description server The VNC system allows you to access the same desktop from a wide variety of platforms. This package is a TigerVNC server, allowing others to access the desktop on your machine. %package common Summary: A TigerVNC and TightVNC compatible passwd utilities Group: Networking/Remote access %description common A TigerVNC and TightVNC compatible passwd utilities %package -n xorg-extension-vnc Summary: VNC extension for Xorg Group: Networking/Remote access Requires: %name-common = %version-%release %description -n xorg-extension-vnc TigerVNC extension for Xorg server %prep %setup -a101 -a100 # XXX .xserver116-rebased patch is rebased, needs some handwork # 1,$s@xorg-server-1.17.1/@rebased/unix/xserver/@g ## FC apply patches #%patch1 -p1 -b .cookie %patch2 -p1 -b .libvnc-os %patch3 -p1 -b .rh692048 %patch4 -p1 -b .xserver116-rebased #%patch5 -p1 -b .inetd-nowait %patch6 -p1 -b .manpages %patch7 -p1 -b .getmaster %patch8 -p1 -b .shebang %patch9 -p1 -b .xstartup #%patch10 -p1 -b .xserver118 #%patch11 -p1 -b .xorg118-QueueKeyboardEvents ## Ubuntu apply patches ## ALT apply patches %patch501 -p1 %build %add_optflags -fPIC %cmake_insource %make_build pushd unix/xserver %autoreconf %configure \ --disable-composite \ --disable-config-dbus \ --disable-config-hal \ --disable-config-udev \ --disable-devel-docs \ --disable-dmx \ --disable-dri \ --disable-kdrive \ --disable-selective-werror \ --disable-static \ --disable-unit-tests \ --disable-wayland \ --disable-xephyr \ --disable-xinerama \ --disable-xnest \ --disable-xorg \ --disable-xvfb \ --disable-xwayland \ --disable-xwin \ --enable-dri2 \ --enable-dri3 \ --enable-glx \ --enable-install-libxf86config \ --enable-ipv6 \ --with-default-font-path=%_deffontdir \ --with-dri-driver-path=%_libdir/dri \ --with-module-dir="%_xorgmoduledir" \ --with-pic \ --with-xkb-output=%_localstatedir/xkb %make_build LIBS="-ljpeg -lpam -lz -lgnutls -lm" popd # Build icons pushd media %cmake_insource -DDATA_DIR:PATH=%_datadir %make popd # Build tightvnc compatible vncpasswd pushd tightpasswd cc %optflags *.c -o tightpasswd popd %install %makeinstall_std pushd unix/xserver/hw/vnc %makeinstall_std popd # Install Xvnc as service install -pD -m755 %SOURCE1 %buildroot%_initddir/vncserver install -pD -m644 %SOURCE2 %buildroot%_unitdir/vncserver@.service mkdir -p %buildroot%_sysconfdir/sysconfig cat << __EOF__ > %buildroot%_sysconfdir/sysconfig/vncservers # The VNCSERVERS variable is a list of display:user pairs. # The VNCSERVERARGS[N] variable is a list of display's (N) parameters. # # Uncomment the line below to start a VNC server on display :1 # as my 'myusername' (adjust this to your own). You will also # need to set a VNC password; run 'man vncpasswd' to see how # to do that. # # DO NOT RUN THIS SERVICE if your local area network is # untrusted! For a secure way of using VNC, see # <URL:http://www.uk.research.att.com/vnc/sshvnc.html>;. # VNCSERVERS="1:myusername" # VNCSERVERARGS[1]="-geometry 800x600 -localhost" __EOF__ mkdir -p %buildroot%_sysconfdir/X11/xorg.conf.d cat << __EOF__ > %buildroot%_sysconfdir/X11/xorg.conf.d/vnc.conf #Section "Module" # Load "vnc" #EndSection #Section "Screen" # Identifier "VNC Extension" # Option "SecurityTypes" "VncAuth" # Option "UserPasswdVerifier" "VncAuth" # Option "PasswordFile" "/root/.vnc/passwd" #EndSection __EOF__ install -D %SOURCE6 %buildroot%_desktopdir/vncviewer.desktop # Build tightvnc compatible vncpasswd pushd tightpasswd install tightpasswd %buildroot%_bindir/tightpasswd install vncpasswd.man %buildroot%_man1dir/tightpasswd.1 popd %find_lang %name %files -f %name.lang %doc LICENCE.TXT %_bindir/vncviewer %_desktopdir/*.desktop %_iconsdir/hicolor/*/apps/*.png %_iconsdir/hicolor/*/apps/*.svg %_man1dir/vncviewer.1* %files server %_initddir/vncserver %_unitdir/vncserver@.service %config(noreplace) %_sysconfdir/sysconfig/vncservers %_bindir/vncconfig %_bindir/x0vncserver %_bindir/Xvnc %_bindir/vncserver %_man1dir/Xvnc.1* %_man1dir/vncconfig.1* %_man1dir/vncserver.1* %_man1dir/x0vncserver.1* %files common %_bindir/vncpasswd %_bindir/tightpasswd %_man1dir/vncpasswd.1* %_man1dir/tightpasswd.1* %files -n xorg-extension-vnc %config(noreplace) %_sysconfdir/X11/xorg.conf.d/vnc.conf %_xorgmoduledir/extensions/*.so %changelog * Fri Jan 27 2017 Evgeniy Korneechev <ekorneechev@altlinux.org> 1.7.0-alt1.M80P.2 - Backport to p8 * Fri Jan 27 2017 Evgeniy Korneechev <ekorneechev@altlinux.org> 1.7.0-alt2 - vncserver.init: added ability to specify the display settings - default "xstartup": added exporting environment variable LANG * Tue Jan 10 2017 Evgeniy Korneechev <ekorneechev@altlinux.org> 1.7.0-alt1 - New version (ALT #32741, #32898) * Mon Apr 25 2016 Fr. Br. George <george@altlinux.ru> 1.6.0-alt1 - Update FC patches, fix one - (cas@) New version (ALT #30662) - (cas@) Rebuild with xorg-server 1.18.2 - (cas@) Package vncserver@.service file - (cas@) Return missing xorg-extension-vnc configuration file * Wed Jun 25 2015 Fr. Br. George <george@altlinux.ru> 1.3.1-alt1 - Version update - FC patches import - Old vncpasswd binary renamed to tightpasswd * Tue Apr 22 2015 Fr. Br. George <george@altlinux.ru> 1.3.0-alt1 - Massive submajor version update * Wed Oct 22 2014 Valery Inozemtsev <shrek@altlinux.ru> 1.1.0-alt2 - disabled vnc extension * Wed May 02 2012 Valery Inozemtsev <shrek@altlinux.ru> 1.1.0-alt1 - 1.1.0 * Sun Jul 24 2011 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt6 - enabled VeNCrypt * Tue Jun 21 2011 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt5 - updated xorg-server-source to 1.10.2 - enabled ipv6 - fixed CVE-2011-1775 * Tue Apr 19 2011 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt4 - updated build dependencies - updated xorg-server-source to 1.9.5 * Sun Nov 07 2010 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt3 - SVN snapshot 2010-08-13 (4123) * Mon Oct 04 2010 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt2 - rebuild with libcrypto.so.10 * Wed Apr 14 2010 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt1 - vncpasswd compatibility to tightvnc * Tue Mar 30 2010 Valery Inozemtsev <shrek@altlinux.ru> 1.0.90-alt0.20100219svn3993 - initial release |