nx-libs.spec 40.2 KB
Newer Older
1 2
%global _hardened_build 1

3 4 5 6 7 8 9 10 11
# Override values for specific architectures.
%ifarch ppc64le
# Works around https://bugs.centos.org/view.php?id=13779 / https://bugzilla.redhat.com/show_bug.cgi?id=1489712
# Compilation failure on PPC64LE due to a compiler bug.
# REMEMBER TO REMOVE ONCE DOWNSTREAM FIXES THE ISSUE!
%global __global_cflags %{__global_cflags} -mno-vsx
%global __global_cxxflags %{__global_cxxflags} -mno-vsx
%endif

12
Name:           nx-libs
13
Version:        3.5.0.33
14
Release:        0.0x2go1%{?dist}
15 16 17
Summary:        NX X11 protocol compression libraries

Group:          System Environment/Libraries
18 19 20
%if 0%{?suse_version}
License:        GPL-2.0+
%else
21
License:        GPLv2+
22
%endif
23
URL:            http://x2go.org/
24
Source0:        %{name}-%{version}.tar.gz
25

26 27 28 29 30
BuildRequires:  autoconf >= 2.13
BuildRequires:  gcc-c++
BuildRequires:  libjpeg-devel
BuildRequires:  pkgconfig

Mike Gabriel's avatar
Mike Gabriel committed
31 32
# suse_version 1315 is SLE-12
%if 0%{?suse_version} != 1315 && 0%{?suse_version} >= 1230
33 34 35 36 37 38 39 40 41 42 43 44
BuildRequires:  gpg-offline
%endif
%if 0%{?suse_version}
BuildRequires:  fdupes
%if 0%{?suse_version} >= 1130
BuildRequires:  pkgconfig(expat)
BuildRequires:  pkgconfig(fontconfig)
BuildRequires:  pkgconfig(fontenc)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(x11)
45
BuildRequires:  pkgconfig(xext)
46 47 48 49 50 51 52
%else
BuildRequires:  libexpat-devel
BuildRequires:  fontconfig-devel
BuildRequires:  freetype2-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
BuildRequires:  xorg-x11-libX11-devel
53
BuildRequires:  xorg-x11-libXext-devel
54 55 56 57 58
BuildRequires:  xorg-x11-libfontenc-devel
%endif
BuildRequires:  xorg-x11-util-devel
%endif

59
%if 0%{?fedora} || 0%{?rhel}
60 61 62 63 64 65
BuildRequires:  expat-devel
BuildRequires:  fontconfig-devel
BuildRequires:  freetype-devel
BuildRequires:  libfontenc-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
66 67
%endif

68 69
# For imake
BuildRequires:  xorg-x11-proto-devel
70 71
BuildRequires:  zlib-devel

72
%if 0%{?suse_version} >= 1130 || 0%{?fedora}
73 74 75 76 77
%define cond_noarch BuildArch: noarch
%else
%define cond_noarch %nil
%endif

78 79 80 81 82
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Obsoletes:      nx%{?_isa} < 3.5.0-19
Provides:       nx%{?_isa} = %{version}-%{release}

83 84
# for Xinerama in NX to work:
%if 0%{?suse_version}
85 86 87 88
%if 0%{?suse_version} < 1140
Requires:       xorg-x11-libX11%{?_isa}
Requires:       xorg-x11-libXext%{?_isa}
%else
89 90
Requires:       libX11-6%{?_isa}
Requires:       libXext6%{?_isa}
Mike Gabriel's avatar
Mike Gabriel committed
91
%endif
92 93 94 95 96
%else
Requires:       libX11%{?_isa}
Requires:       libXext%{?_isa}
%endif

97
%if 0%{?el5}
Mike Gabriel's avatar
Mike Gabriel committed
98
# For compatibility with EPEL5
99
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
100 101
%else
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
102
%endif
103

104 105 106 107 108 109
%description
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.


110
%package -n libNX_X11-6
111 112
Group:          System Environment/Libraries
Summary:        Core NX protocol client library
113 114
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_X11
115 116 117
%if 0%{?suse_version}
Requires:       xorg-x11-fonts-core
%endif
118

119
%description -n libNX_X11-6
120 121 122 123
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

124 125 126 127 128 129 130 131 132 133 134 135 136
The X Window System is a network-transparent window system that was
designed at MIT. X display servers run on computers with either
monochrome or color bitmap display hardware. The server distributes
user input to and accepts output requests from various client
programs located either on the same machine or elsewhere in the
network. Xlib is a C subroutine library that application programs
(clients) use to interface with the window system by means of a
stream connection.


%package -n libNX_X11-devel
Group:          Development/Libraries
Summary:        Development files for the Core NX protocol library
137
Requires:       libNX_X11-6%{?_isa} = %{version}-%{release}
138 139 140
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_X11-devel
141 142 143 144
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
The X Window System is a network-transparent window system that was
designed at MIT. X display servers run on computers with either
monochrome or color bitmap display hardware. The server distributes
user input to and accepts output requests from various client
programs located either on the same machine or elsewhere in the
network. Xlib is a C subroutine library that application programs
(clients) use to interface with the window system by means of a
stream connection.

This package contains all necessary include files and libraries
needed to develop applications that require these.


%package -n libNX_Xau-devel
Group:          Development/Libraries
Summary:        Development files for the NX authorization protocol library
161
Requires:       libNX_Xau6%{?_isa} = %{version}-%{release}
162 163 164
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xau-devel
165 166 167 168 169
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

libNX_Xau provides mechanisms for individual access to an nx-X11 Window
170
System display. It uses existing core protocol and library hooks for
171 172 173
specifying authorization data in the connection setup block to restrict
use of the display to only those clients that show that they know a
server-specific key called a "magic cookie".
174 175 176 177 178

This package contains all necessary include files and libraries
needed to develop applications that require these.


179
%package -n libNX_Xau6
180 181
Group:          System Environment/Libraries
Summary:        NX authorization protocol library
182 183
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xau
184

185
%description -n libNX_Xau6
186 187 188 189 190
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

libNX_Xau provides mechanisms for individual access to an X Window
191 192 193 194 195 196
System display. It uses existing core protocol and library hooks for
specifying authorization data in the connection setup block to
restrict use of the display to only those clients that show that they
know a server-specific key called a "magic cookie".


197
%package -n libNX_Xcomposite1
198 199
Group:          System Environment/Libraries
Summary:        NX protocol Composite extension client library
200 201
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xcomposite
202

203
%description -n libNX_Xcomposite1
204 205 206 207
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

208 209 210 211 212 213 214
The Composite extension causes a entire sub-tree of the window
hierarchy to be rendered to an off-screen buffer. Applications can
then take the contents of that buffer and do whatever they like. The
off-screen buffer can be automatically merged into the parent window
or merged by external programs, called compositing managers.


215
%package -n libNX_Xdamage1
216 217
Group:          System Environment/Libraries
Summary:        NX Damage Extension library
218 219
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xdamage
220

221
%description -n libNX_Xdamage1
222 223 224 225
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

226 227 228 229 230 231 232 233
The X Damage Extension allows applications to track modified regions
of drawables.


%package -n libNX_Xdmcp-devel
Group:          Development/Libraries
Summary:        Development files for the NXDM Control Protocol library
Requires:       %{name}%{?_isa} = %{version}-%{release}
234
Requires:       libNX_Xdmcp6%{?_isa} = %{version}-%{release}
235 236 237
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xdmcp-devel
238 239 240 241
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

242 243 244 245 246 247 248 249 250 251 252 253
The X Display Manager Control Protocol (XDMCP) provides a uniform
mechanism for an autonomous display to request login service from a
remote host. By autonomous, we mean the display consists of hardware
and processes that are independent of any particular host where login
service is desired. An X terminal (screen, keyboard, mouse,
processor, network interface) is a prime example of an autonomous
display.

This package contains all necessary include files and libraries
needed to develop applications that require these.


254
%package -n libNX_Xdmcp6
255 256
Group:          System Environment/Libraries
Summary:        NX Display Manager Control Protocol library
257 258
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xdmcp
259

260
%description -n libNX_Xdmcp6
261 262 263 264
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

265 266 267 268 269 270 271 272 273 274 275 276
The X Display Manager Control Protocol (XDMCP) provides a uniform
mechanism for an autonomous display to request login service from a
remote host. By autonomous, we mean the display consists of hardware
and processes that are independent of any particular host where login
service is desired. An X terminal (screen, keyboard, mouse,
processor, network interface) is a prime example of an autonomous
display.


%package -n libNX_Xext-devel
Group:          Development/Libraries
Summary:        Development files for the NX Common Extensions library
277 278
Requires:       libNX_Xext6%{?_isa} = %{version}-%{release}
Requires:       libNX_Xau6-devel%{?_isa} = %{version}-%{release}
279 280 281
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xext-devel
282 283 284 285 286
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

The NX_Xext library contains a handful of X11 extensions:
287 288 289 290 291 292 293 294 295 296 297 298
- Double Buffer extension (DBE/Xdbe)
- Display Power Management Signaling (DPMS) extension
- X11 Nonrectangular Window Shape extension (Xshape)
- The MIT Shared Memory extension (MIT-SHM/Xshm)
- TOG-CUP (colormap) protocol extension (Xcup)
- X Extended Visual Information extension (XEvi)
- X11 Double-Buffering, Multi-Buffering, and Stereo extension (Xmbuf)

This package contains all necessary include files and libraries
needed to develop applications that require these.


299
%package -n libNX_Xext6
300 301
Group:          System Environment/Libraries
Summary:        Common extensions to the NX protocol
302 303
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xext
304

305
%description -n libNX_Xext6
306 307 308 309 310
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

The NX_Xext library contains a handful of X11 extensions:
311 312 313 314 315 316 317 318 319 320 321 322
- Double Buffer extension (DBE/Xdbe)
- Display Power Management Signaling (DPMS) extension
- X11 Nonrectangular Window Shape extension (Xshape)
- The MIT Shared Memory extension (MIT-SHM/Xshm)
- TOG-CUP (colormap) protocol extension (Xcup)
- X Extended Visual Information extension (XEvi)
- X11 Double-Buffering, Multi-Buffering, and Stereo extension (Xmbuf)


%package -n libNX_Xfixes-devel
Group:          Development/Libraries
Summary:        Development files for the NX Xfixes extension library
323
Requires:       libNX_Xfixes3%{?_isa} = %{version}-%{release}
324 325 326 327
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xfixes-devel
328 329 330 331 332
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

The nx-X11 Fixes extension provides applications with work-arounds for
333 334 335 336 337 338
various limitations in the core protocol.

This package contains all necessary include files and libraries
needed to develop applications that require these.


339
%package -n libNX_Xfixes3
340 341
Group:          System Environment/Libraries
Summary:        NX miscellaneous "fixes" extension library
342
Requires:       %{name}%{?_isa} >= 3.5.0.29
343
Obsoletes:      libNX_Xfixes
344

345
%description -n libNX_Xfixes3
346 347 348 349 350
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

The nx_X11 Fixes extension provides applications with work-arounds for
351 352 353
various limitations in the core protocol.


354
%package -n libNX_Xinerama1
355 356
Group:          System Environment/Libraries
Summary:        Xinerama extension to the NX Protocol
357 358
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xinerama
359

360
%description -n libNX_Xinerama1
361 362 363 364
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

365 366 367 368 369 370 371 372
Xinerama is an extension to the X Window System which enables
multi-headed X applications and window managers to use two or more
physical displays as one large virtual display.


%package -n libNX_Xpm-devel
Group:          Development/Libraries
Summary:        Development files for the NX Pixmap image file format library
373
Requires:       libNX_Xpm4%{?_isa} = %{version}-%{release}
374 375

%description -n libNX_Xpm-devel
376 377 378 379
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

380 381 382 383 384 385 386
libXpm facilitates working with XPM (X PixMap), a format for
storing/retrieving X pixmaps to/from files.

This package contains all necessary include files and libraries
needed to develop applications that require these.


387
%package -n libNX_Xpm4
388 389
Group:          System Environment/Libraries
Summary:        NX Pixmap image file format library
390 391
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xpm
392

393
%description -n libNX_Xpm4
394 395 396 397 398
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

libNX_Xpm facilitates working with XPM (X PixMap), a format for
399 400 401
storing/retrieving X pixmaps to/from files.


402
%package -n libNX_Xrandr2
403 404
Group:          System Environment/Libraries
Summary:        NX Resize, Rotate and Reflection extension library
405 406
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xrandr
407

408
%description -n libNX_Xrandr2
409 410 411 412
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

413 414 415 416 417 418 419 420
The X Resize, Rotate and Reflect Extension (RandR) allows clients to
dynamically change X screens, so as to resize, to change the
orientation and layout of the root window of a screen.


%package -n libNX_Xrender-devel
Group:          Development/Libraries
Summary:        Development files for the NX Render Extension library
421
Requires:       libNX_Xrender1%{?_isa} = %{version}-%{release}
422 423 424 425
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xrender-devel
426 427 428 429
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

430 431 432 433 434 435 436
The Xrender library is designed as a lightweight library interface to
the Render extension.

This package contains all necessary include files and libraries
needed to develop applications that require these.


437
%package -n libNX_Xrender1
438 439
Group:          System Environment/Libraries
Summary:        NX Rendering Extension library
440 441
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xrender
442

443
%description -n libNX_Xrender1
444 445 446 447
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

448 449 450 451
The Xrender library is designed as a lightweight library interface to
the Render extension.


452
%package -n libNX_Xtst6
453 454
Group:          System Environment/Libraries
Summary:        Xlib-based client API for the XTEST and RECORD extensions on NX
455 456
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xtst
457

458
%description -n libNX_Xtst6
459 460 461 462
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

463 464 465 466 467 468 469 470 471 472 473 474
The XTEST extension is a minimal set of client and server extensions
required to completely test the X11 server with no user intervention.
This extension is not intended to support general journaling and
playback of user actions.

The RECORD extension supports the recording and reporting of all core
X protocol and arbitrary X extension protocol.


%package -n libXcomp-devel
Group:          Development/Libraries
Summary:        Development files for the NX differential compression library
475
Requires:       libXcomp3%{?_isa} = %{version}-%{release}
476 477 478
Requires:       nx-proto-devel = %{version}-%{release}

%description -n libXcomp-devel
479 480 481 482
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

483 484 485
The NX differential compression library's development files.


486
%package -n libXcomp3
487 488
Group:          System Environment/Libraries
Summary:        NX differential compression library
489
Requires:       %{name}%{?_isa} >= 3.5.0.29
490
Obsoletes:      libXcomp
491

492
%description -n libXcomp3
493 494 495 496 497 498 499 500 501 502
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

This package contains the NX differential compression library for X11.


%package -n libXcompext-devel
Group:          Development/Libraries
Summary:        Development files for the NX compression extensions library
503
Requires:       libXcompext3%{?_isa} = %{version}-%{release}
504 505 506 507
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libXcompext-devel
508 509 510 511
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

512 513 514
The NX compression extensions library's development files.


515
%package -n libXcompext3
516 517
Group:          System Environment/Libraries
Summary:        NX protocol compression extensions library
518
Requires:       %{name}%{?_isa} >= 3.5.0.29
519
Obsoletes:      libXcompext
520

521
%description -n libXcompext3
522 523 524 525 526 527 528 529 530 531 532
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

This package provides the library to support additional features to
the core NX library.


%package -n libXcompshad-devel
Group:          Development/Libraries
Summary:        Development files for the NX session shadowing library
533
Requires:       libXcompshad3%{?_isa} = %{version}-%{release}
534 535 536 537 538 539
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xext-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}

%description -n libXcompshad-devel
540 541 542 543
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

544 545 546
The NX session shadowing library's development files.


547
%package -n libXcompshad3
548 549
Group:          System Environment/Libraries
Summary:        NX session shadowing Library
550
Requires:       %{name}%{?_isa} >= 3.5.0.29
551
Obsoletes:      libXcompshad
552

553
%description -n libXcompshad3
554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

This package provides the session shadowing library.


%package devel
Group:          Development/Libraries
Summary:        Include files and libraries for NX development
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xau-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xdmcp-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xext-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xfixes-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xpm-devel%{?_isa} = %{version}-%{release}
Requires:       libNX_Xrender-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description devel
575 576 577 578
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

579
This package contains all necessary include files and libraries
580
needed to develop nx-X11 applications that require these.
581 582 583 584 585 586 587


%package -n nx-proto-devel
Group:          Development/Libraries
Summary:        Include files for NX development

%description -n nx-proto-devel
588 589 590 591
NX is a software suite from NoMachine which implements very efficient
compression of the X11 protocol. This increases performance when
using X applications over a network, especially a slow one.

592
This package contains all necessary include files and libraries
593
for the nx_X11 wire protocol.
594 595 596 597


%package -n nxagent
Group:          Applications/System
598
Summary:        NX Agent
599 600 601 602
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Obsoletes:      nx%{?_isa} < 3.5.0-19
Provides:       nx%{?_isa} = %{version}-%{release}
603 604 605
%if 0%{?suse_version}
Requires:       xorg-x11-fonts-core
%endif
606

607 608 609 610
# Should be a weak dependency, because this package
# works without the dependency.
Requires:       xkeyboard-config

611 612 613 614 615 616 617 618 619 620 621 622 623 624
# For /usr/bin/xkbcomp
%if 0%{?fedora} || 0%{?rhel}
Requires:       xorg-x11-xkb-utils
%else
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1310
Requires:       xkbcomp
%else
# Older *SUSE versions bundle xkbcomp in xorg-x11. Ugly, but nothing we could change.
Requires:       xorg-x11
%endif
%endif
%endif

625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646
%description -n nxagent
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

nxagent is an agent providing NX transport of X sessions. The
application is based on the well-known Xnest server. nxagent, like
Xnest, is an X server for its own clients, and at the same time, an X
client for a system's local X server.

The main scope of nxagent is to eliminate X round-trips or transform
them into asynchronous replies. nxagent works together with nxproxy.
nxproxy itself does not make any effort to minimize round-trips by
itself, this is demanded of nxagent.

Being an X server, nxagent is able to resolve all the property/atoms
related requests locally, ensuring that the most common source of
round-trips are nearly reduced to zero.


%package -n nxauth
Group:          Applications/System
647
Summary:        NX Auth
648 649

%description -n nxauth
650 651 652 653
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

654 655 656 657 658
This package provides the NX xauth binary.


%package -n nxproxy
Group:          Applications/System
659
Summary:        NX Proxy
660 661 662 663 664 665
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Obsoletes:      nx%{?_isa} < 3.5.0-19
Provides:       nx%{?_isa} = %{version}-%{release}

%description -n nxproxy
666 667 668 669
NX is a software suite which implements very efficient compression of
the X11 protocol. This increases performance when using X
applications over a network, especially a slow one.

670 671 672 673 674
This package provides the NX proxy (client) binary.


%package -n x2goagent
Group:          Applications/System
675
Summary:        X2Go Agent
676
Requires:       nxagent
677
Provides:       x2goagent-virtual
678
Conflicts:      x2goserver < 4.0.1.21
679 680

%description -n x2goagent
681
X2Go Agent functionality has been completely incorporated into
682
nxagent's code base. If the nxagent binary is executed under the name
683
of "x2goagent", the X2Go functionalities get activated.
684 685 686 687 688 689 690 691

The x2goagent package is a wrapper that activates X2Go branding in
nxagent. Please refer to the nxagent package's description for more
information on NX.


%prep
%setup -q
692 693 694 695 696 697 698 699
# copy files from the debian/ folder to designated places in the source tree,
# taken from roll-tarball.sh:
mkdir bin/
cp -v debian/wrappers/* bin/
mkdir etc/
cp -v debian/keystrokes.cfg etc/keystrokes.cfg
cp -v debian/Makefile.nx-libs Makefile
cp -v debian/Makefile.replace.sh replace.sh
700 701 702
cp -v debian/rgb etc/rgb
cp -v debian/nxagent.keyboard etc/nxagent.keyboard
cp -v debian/x2goagent.keyboard etc/x2goagent.keyboard
703
cp -v debian/x2goagent.options etc/x2goagent.options
704 705
cp -v debian/VERSION VERSION.x2goagent
cp -v debian/VERSION nxcomp/VERSION
706 707 708 709 710 711

### remove bundled libraries (also taken from roll-tarball.sh)
UNUSED_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-UNUSED`
CLEANUP_FOLDERS=`cat debian/CODE-REDUCTION_CLEANUP-BRUTAL`
UNNEEDED_BACKUPS=`cat debian/CODE-REDUCTION_CLEANUP-BACKUPFILES`
PRESERVE_SYMLINKED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-SYMLINKED`
712
PRESERVE_INCLUDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-INCLUDED`
713 714 715 716 717 718 719 720 721 722 723
PRESERVE_NEEDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-NEEDED`
mkdir -p .preserve/
for path in ${PRESERVE_SYMLINKED_FILES} ${PRESERVE_INCLUDED_FILES} ${PRESERVE_NEEDED_FILES}; do
    if [ ! -d $path ]; then
	path_dirname=$(dirname "$path")
    else
	path_dirname="$path"
    fi
    mkdir -vp ".preserve/$path_dirname"
    cp -av "$path" ".preserve/$path"
done
724
for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do
725 726 727 728 729 730 731 732
    rm -R "$path"
done

# re-create the to-be-preserved files
cp -a .preserve/* ./
rm -Rf .preserve/
### end of remove bundle libraries

733 734
# remove build cruft that is in Git (also taken from roll-tarball.sh)
rm -Rf nx*/configure nx*/autom4te.cache*
735 736 737 738
# Install into /usr
sed -i -e 's,/usr/local,/usr,' nx-X11/config/cf/site.def
# Use multilib dirs
# We're installing binaries into %%{_libdir}/nx/bin rather than %%{_libexedir}/nx
739
# because upstream expects libraries and binaries in the same directory
740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763
sed -i -e 's,/lib/nx,/%{_lib}/nx,' Makefile nx-X11/config/cf/X11.tmpl
sed -i -e 's,/lib/x2go,/%{_lib}/x2go,' Makefile
sed -i -e 's,/usr/lib/,/usr/%{_lib}/,' bin/*
# Fix FSF address
find -name LICENSE | xargs sed -i \
  -e 's/59 Temple Place/51 Franklin Street/' -e 's/Suite 330/Fifth Floor/' \
  -e 's/MA  02111-1307/MA  02110-1301/'
# Fix source permissions
find -type f -name '*.[hc]' | xargs chmod -x

# Bundled nx-X11/extras
# Xpm - Is needed and needs to get linked to libXcomp
# Mesa - Used by the X server

# Xcursor - Other code still references files in it
# Xfont - Statically linked to nxarget, others?
# Xpm


%build
cat >"my_configure" <<'EOF'
%configure
EOF
chmod a+x my_configure;
764 765
# The RPM macro for the linker flags does not exist on EPEL
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
766
export SHLIBGLOBALSFLAGS="%{__global_ldflags}"
767
export LOCAL_LDFLAGS="%{__global_ldflags}"
768 769
export CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags}"
make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} CDEBUGFLAGS="${CDEBUGFLAGS}" LOCAL_LDFLAGS="${LOCAL_LDFLAGS}" SHLIBSGLOBALSFLAGS="${SHLIBSGLOBALSFLAGS}"
770 771 772 773 774

%install
make install \
        DESTDIR=%{buildroot} \
        PREFIX=%{_prefix} \
775
        USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} \
776 777 778 779
        INSTALL_DIR="install -dm0755" \
        INSTALL_FILE="install -pm0644" \
        INSTALL_PROGRAM="install -pm0755"

780 781
# Remove static libs (they don't exist on SLES, so using -f here)
rm -f %{buildroot}%{_libdir}/*.a
782 783 784 785 786 787

# Make sure x2goagent is linked relative and on 64-bit
mkdir -p %{buildroot}%{_libdir}/x2go/bin
ln -sf ../../nx/bin/nxagent %{buildroot}%{_libdir}/x2go/bin/x2goagent

# Fix permissions on shared libraries
788
chmod 755  %{buildroot}%{_libdir}/lib*.so*
789

Mike Gabriel's avatar
Mike Gabriel committed
790 791 792 793 794 795 796 797
#Remove extras, GL, and other unneeded headers
rm -r %{buildroot}%{_includedir}/nx/GL
rm -r %{buildroot}%{_includedir}/nx/X11/bitmaps
rm -r %{buildroot}%{_includedir}/nx/X11/extensions/XInput.h
rm -r %{buildroot}%{_includedir}/nx/X11/extensions/XK*.h
rm -r %{buildroot}%{_includedir}/nx/X11/extensions/*Xv*.h
rm -r %{buildroot}%{_includedir}/nx/X11/Xtrans

798 799 800
# Needed for Xinerama support
ln -s -f ../../../../%{_lib}/libX11.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
ln -s -f ../../../../%{_lib}/libXext.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
801
ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/Xinerama/libXinerama.so.1
802

803 804 805 806
%if 0%{?fdupes:1}
%fdupes %buildroot/%_prefix
%endif

807
%post -p /sbin/ldconfig
808 809 810 811 812 813 814 815 816 817 818 819 820 821 822
%post -n libNX_X11-6 -p /sbin/ldconfig
%post -n libNX_Xau6 -p /sbin/ldconfig
%post -n libNX_Xcomposite1 -p /sbin/ldconfig
%post -n libNX_Xdamage1 -p /sbin/ldconfig
%post -n libNX_Xdmcp6 -p /sbin/ldconfig
%post -n libNX_Xext6 -p /sbin/ldconfig
%post -n libNX_Xfixes3 -p /sbin/ldconfig
%post -n libNX_Xinerama1 -p /sbin/ldconfig
%post -n libNX_Xpm4 -p /sbin/ldconfig
%post -n libNX_Xrandr2 -p /sbin/ldconfig
%post -n libNX_Xrender1 -p /sbin/ldconfig
%post -n libNX_Xtst6 -p /sbin/ldconfig
%post -n libXcomp3 -p /sbin/ldconfig
%post -n libXcompext3 -p /sbin/ldconfig
%post -n libXcompshad3 -p /sbin/ldconfig
823
%postun -p /sbin/ldconfig
824 825 826 827 828 829 830 831 832 833 834 835 836 837 838
%postun -n libNX_X11-6 -p /sbin/ldconfig
%postun -n libNX_Xau6 -p /sbin/ldconfig
%postun -n libNX_Xcomposite1 -p /sbin/ldconfig
%postun -n libNX_Xdamage1 -p /sbin/ldconfig
%postun -n libNX_Xdmcp6 -p /sbin/ldconfig
%postun -n libNX_Xext6 -p /sbin/ldconfig
%postun -n libNX_Xfixes3 -p /sbin/ldconfig
%postun -n libNX_Xinerama1 -p /sbin/ldconfig
%postun -n libNX_Xpm4 -p /sbin/ldconfig
%postun -n libNX_Xrandr2 -p /sbin/ldconfig
%postun -n libNX_Xrender1 -p /sbin/ldconfig
%postun -n libNX_Xtst6 -p /sbin/ldconfig
%postun -n libXcomp3 -p /sbin/ldconfig
%postun -n libXcompext3 -p /sbin/ldconfig
%postun -n libXcompshad3 -p /sbin/ldconfig
839 840

%files
841
%defattr(-,root,root)
842
%doc nx-X11/{COPYING,LICENSE,README}
843 844
%dir %{_libdir}/nx
%dir %{_libdir}/nx/X11
845
%dir %{_datadir}/nx
846 847
%{_datadir}/nx/SecurityPolicy

848
%files -n libNX_X11-6
849
%defattr(-,root,root)
850
%{_libdir}/libNX_X11.so.6*
851 852

%files -n libNX_X11-devel
853
%defattr(-,root,root)
854
%{_libdir}/libNX_X11.so
855 856 857 858 859 860 861 862 863 864 865 866 867 868 869
%dir %{_includedir}/nx
%dir %{_includedir}/nx/X11
%{_includedir}/nx/X11/ImUtil.h
%{_includedir}/nx/X11/XKBlib.h
%{_includedir}/nx/X11/Xcms.h
%{_includedir}/nx/X11/Xlib.h
%{_includedir}/nx/X11/XlibConf.h
%{_includedir}/nx/X11/Xlibint.h
%{_includedir}/nx/X11/Xlocale.h
%{_includedir}/nx/X11/Xregion.h
%{_includedir}/nx/X11/Xresource.h
%{_includedir}/nx/X11/Xutil.h
%{_includedir}/nx/X11/cursorfont.h

%files -n libNX_Xau-devel
870
%defattr(-,root,root)
871
%{_libdir}/libNX_Xau.so
872 873
%{_includedir}/nx/X11/Xauth.h

874
%files -n libNX_Xau6
875
%defattr(-,root,root)
876
%{_libdir}/libNX_Xau.so.6*
877

878
%files -n libNX_Xcomposite1
879
%defattr(-,root,root)
880
%{_libdir}/libNX_Xcomposite.so.1*
881

882
%files -n libNX_Xdamage1
883
%defattr(-,root,root)
884
%{_libdir}/libNX_Xdamage.so.1*
885 886

%files -n libNX_Xdmcp-devel
887
%defattr(-,root,root)
888
%{_libdir}/libNX_Xdmcp.so
889 890
%{_includedir}/nx/X11/Xdmcp.h

891
%files -n libNX_Xdmcp6
892
%defattr(-,root,root)
893
%{_libdir}/libNX_Xdmcp.so.6*
894 895

%files -n libNX_Xext-devel
896
%defattr(-,root,root)
897
%{_libdir}/libNX_Xext.so
898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925
%dir %{_includedir}/nx/X11/extensions
%{_includedir}/nx/X11/extensions/MITMisc.h
%{_includedir}/nx/X11/extensions/XEVI.h
%{_includedir}/nx/X11/extensions/XEVIstr.h
%{_includedir}/nx/X11/extensions/XLbx.h
%{_includedir}/nx/X11/extensions/XShm.h
%{_includedir}/nx/X11/extensions/Xag.h
%{_includedir}/nx/X11/extensions/Xagsrv.h
%{_includedir}/nx/X11/extensions/Xagstr.h
%{_includedir}/nx/X11/extensions/Xcup.h
%{_includedir}/nx/X11/extensions/Xcupstr.h
%{_includedir}/nx/X11/extensions/Xdbe.h
%{_includedir}/nx/X11/extensions/Xdbeproto.h
%{_includedir}/nx/X11/extensions/Xext.h
%{_includedir}/nx/X11/extensions/dpms.h
%{_includedir}/nx/X11/extensions/dpmsstr.h
%{_includedir}/nx/X11/extensions/extutil.h
%{_includedir}/nx/X11/extensions/lbxstr.h
%{_includedir}/nx/X11/extensions/mitmiscstr.h
%{_includedir}/nx/X11/extensions/multibuf.h
%{_includedir}/nx/X11/extensions/multibufst.h
%{_includedir}/nx/X11/extensions/security.h
%{_includedir}/nx/X11/extensions/securstr.h
%{_includedir}/nx/X11/extensions/shape.h
%{_includedir}/nx/X11/extensions/sync.h
%{_includedir}/nx/X11/extensions/xtestext1.h
%{_includedir}/nx/X11/extensions/xteststr.h

926
%files -n libNX_Xext6
927
%defattr(-,root,root)
928
%{_libdir}/libNX_Xext.so.6*
929 930

%files -n libNX_Xfixes-devel
931
%defattr(-,root,root)
932
%{_libdir}/libNX_Xfixes.so
933 934
%{_includedir}/nx/X11/extensions/Xfixes.h

935
%files -n libNX_Xfixes3
936
%defattr(-,root,root)
937
%{_libdir}/libNX_Xfixes.so.3*
938

939
%files -n libNX_Xinerama1
940
%defattr(-,root,root)
941
%{_libdir}/libNX_Xinerama.so.1*
942 943

%files -n libNX_Xpm-devel
944
%defattr(-,root,root)
945
%{_libdir}/libNX_Xpm.so
946 947
%{_includedir}/nx/X11/xpm.h

948
%files -n libNX_Xpm4
949
%defattr(-,root,root)
950
%{_libdir}/libNX_Xpm.so.4*
951

952
%files -n libNX_Xrandr2
953
%defattr(-,root,root)
954
%{_libdir}/libNX_Xrandr.so.2*
955 956

%files -n libNX_Xrender-devel
957
%defattr(-,root,root)
958
%{_libdir}/libNX_Xrender.so
959 960
%{_includedir}/nx/X11/extensions/Xrender.h

961
%files -n libNX_Xrender1
962
%defattr(-,root,root)
963
%{_libdir}/libNX_Xrender.so.1*
964

965
%files -n libNX_Xtst6
966
%defattr(-,root,root)
967
%{_libdir}/libNX_Xtst.so.6*
968 969

%files -n libXcomp-devel
970
%defattr(-,root,root)
971
%_libdir/libXcomp.so
972 973 974 975 976 977 978 979 980
%{_includedir}/nx/MD5.h
%{_includedir}/nx/NX.h
%{_includedir}/nx/NXalert.h
%{_includedir}/nx/NXmitshm.h
%{_includedir}/nx/NXpack.h
%{_includedir}/nx/NXproto.h
%{_includedir}/nx/NXrender.h
%{_includedir}/nx/NXvars.h

981
%files -n libXcomp3
982
%defattr(-,root,root)
983
%doc nxcomp/{COPYING,LICENSE,README}
984
%_libdir/libXcomp.so.3*
985 986

%files -n libXcompext-devel
987
%defattr(-,root,root)
988
%_libdir/libXcompext.so
989 990 991
%{_includedir}/nx/NXlib.h
%{_includedir}/nx/NXlibint.h

992
%files -n libXcompext3
993
%defattr(-,root,root)
994
%doc nxcompext/{COPYING,LICENSE,README}
995
%_libdir/libXcompext.so.3*
996 997

%files -n libXcompshad-devel
998
%defattr(-,root,root)
999
%_libdir/libXcompshad.so
1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011
%{_includedir}/nx/Core.h
%{_includedir}/nx/Input.h
%{_includedir}/nx/Logger.h
%{_includedir}/nx/Manager.h
%{_includedir}/nx/Misc.h
%{_includedir}/nx/Poller.h
%{_includedir}/nx/Regions.h
%{_includedir}/nx/Shadow.h
%{_includedir}/nx/Updater.h
%{_includedir}/nx/Win.h
%{_includedir}/nx/X11.h

1012
%files -n libXcompshad3
1013
%defattr(-,root,root)
1014
%doc nxcompshad/{CHANGELOG,COPYING,LICENSE}
1015
%_libdir/libXcompshad.so.3*
1016 1017

%files devel
1018
%defattr(-,root,root)
1019 1020 1021 1022 1023
%{_libdir}/libNX_Xcomposite.so
%{_libdir}/libNX_Xdamage.so
%{_libdir}/libNX_Xinerama.so
%{_libdir}/libNX_Xrandr.so
%{_libdir}/libNX_Xtst.so
1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061
%{_includedir}/nx/X11/X10.h
%dir %{_includedir}/nx/X11/extensions
%{_includedir}/nx/X11/extensions/XRes.h
%{_includedir}/nx/X11/extensions/XTest.h
%{_includedir}/nx/X11/extensions/Xcomposite.h
%{_includedir}/nx/X11/extensions/Xdamage.h
%{_includedir}/nx/X11/extensions/Xevie.h
%{_includedir}/nx/X11/extensions/Xinerama.h
%{_includedir}/nx/X11/extensions/Xrandr.h
%{_includedir}/nx/X11/extensions/dmxext.h
%{_includedir}/nx/X11/extensions/lbxbuf.h
%{_includedir}/nx/X11/extensions/lbxbufstr.h
%{_includedir}/nx/X11/extensions/lbxdeltastr.h
%{_includedir}/nx/X11/extensions/lbximage.h
%{_includedir}/nx/X11/extensions/lbxopts.h
%{_includedir}/nx/X11/extensions/lbxzlib.h
%{_includedir}/nx/X11/extensions/panoramiXext.h
%{_includedir}/nx/X11/extensions/record.h
%{_includedir}/nx/X11/extensions/xf86dga1.h
%{_includedir}/nx/X11/extensions/xf86vmode.h
%dir %{_includedir}/nx/X11/fonts
%{_includedir}/nx/X11/fonts/bdfint.h
%{_includedir}/nx/X11/fonts/bitmap.h
%{_includedir}/nx/X11/fonts/bufio.h
%{_includedir}/nx/X11/fonts/fntfil.h
%{_includedir}/nx/X11/fonts/fntfilio.h
%{_includedir}/nx/X11/fonts/fntfilst.h
%{_includedir}/nx/X11/fonts/fontencc.h
%{_includedir}/nx/X11/fonts/fontmisc.h
%{_includedir}/nx/X11/fonts/fontmod.h
%{_includedir}/nx/X11/fonts/fontshow.h
%{_includedir}/nx/X11/fonts/fontutil.h
%{_includedir}/nx/X11/fonts/fontxlfd.h
%{_includedir}/nx/X11/fonts/pcf.h
%{_includedir}/nx/X11/misc.h
%{_includedir}/nx/X11/os.h

%files -n nx-proto-devel
1062
%defattr(-,root,root)
1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133
%dir %{_includedir}/nx/X11
%{_includedir}/nx/X11/DECkeysym.h
%{_includedir}/nx/X11/HPkeysym.h
%{_includedir}/nx/X11/Sunkeysym.h
%{_includedir}/nx/X11/X.h
%{_includedir}/nx/X11/XF86keysym.h
%{_includedir}/nx/X11/XWDFile.h
%{_includedir}/nx/X11/Xalloca.h
%{_includedir}/nx/X11/Xarch.h
%{_includedir}/nx/X11/Xatom.h
%{_includedir}/nx/X11/Xdefs.h
%{_includedir}/nx/X11/Xfuncproto.h
%{_includedir}/nx/X11/Xfuncs.h
%{_includedir}/nx/X11/Xmd.h
%{_includedir}/nx/X11/Xos.h
%{_includedir}/nx/X11/Xos_r.h
%{_includedir}/nx/X11/Xosdefs.h
%{_includedir}/nx/X11/Xpoll.h
%{_includedir}/nx/X11/Xproto.h
%{_includedir}/nx/X11/Xprotostr.h
%{_includedir}/nx/X11/Xthreads.h
%{_includedir}/nx/X11/ap_keysym.h
%{_includedir}/nx/X11/keysym.h
%{_includedir}/nx/X11/keysymdef.h
%{_includedir}/nx/X11/extensions/Print.h
%{_includedir}/nx/X11/extensions/Printstr.h
%{_includedir}/nx/X11/extensions/XI.h
%{_includedir}/nx/X11/extensions/XIproto.h
%{_includedir}/nx/X11/extensions/XResproto.h
%{_includedir}/nx/X11/extensions/Xeviestr.h
%{_includedir}/nx/X11/extensions/bigreqstr.h
%{_includedir}/nx/X11/extensions/composite.h
%{_includedir}/nx/X11/extensions/compositeproto.h
%{_includedir}/nx/X11/extensions/damageproto.h
%{_includedir}/nx/X11/extensions/damagewire.h
%{_includedir}/nx/X11/extensions/dmxproto.h
%{_includedir}/nx/X11/extensions/panoramiXproto.h
%{_includedir}/nx/X11/extensions/randr.h
%{_includedir}/nx/X11/extensions/randrproto.h
%{_includedir}/nx/X11/extensions/recordstr.h
%{_includedir}/nx/X11/extensions/render.h
%{_includedir}/nx/X11/extensions/renderproto.h
%{_includedir}/nx/X11/extensions/shapestr.h
%{_includedir}/nx/X11/extensions/shmstr.h
%{_includedir}/nx/X11/extensions/syncstr.h
%{_includedir}/nx/X11/extensions/xcmiscstr.h
%{_includedir}/nx/X11/extensions/xf86bigfont.h
%{_includedir}/nx/X11/extensions/xf86bigfstr.h
%{_includedir}/nx/X11/extensions/xf86dga.h
%{_includedir}/nx/X11/extensions/xf86dga1str.h
%{_includedir}/nx/X11/extensions/xf86dgastr.h
%{_includedir}/nx/X11/extensions/xf86misc.h
%{_includedir}/nx/X11/extensions/xf86mscstr.h
%{_includedir}/nx/X11/extensions/xf86vmstr.h
%{_includedir}/nx/X11/extensions/xfixesproto.h
%{_includedir}/nx/X11/extensions/xfixeswire.h
%{_includedir}/nx/X11/extensions/xtrapbits.h
%{_includedir}/nx/X11/extensions/xtrapddmi.h
%{_includedir}/nx/X11/extensions/xtrapdi.h
%{_includedir}/nx/X11/extensions/xtrapemacros.h
%{_includedir}/nx/X11/extensions/xtraplib.h
%{_includedir}/nx/X11/extensions/xtraplibp.h
%{_includedir}/nx/X11/extensions/xtrapproto.h
%dir %{_includedir}/nx/X11/fonts
%{_includedir}/nx/X11/fonts/FS.h
%{_includedir}/nx/X11/fonts/FSproto.h
%{_includedir}/nx/X11/fonts/font.h
%{_includedir}/nx/X11/fonts/fontstruct.h
%{_includedir}/nx/X11/fonts/fsmasks.h

%files -n nxagent
1134
%defattr(-,root,root)
1135 1136
%dir %{_sysconfdir}/nxagent
%config(noreplace) %{_sysconfdir}/nxagent/keystrokes.cfg
1137 1138
%config(noreplace) %{_sysconfdir}/nxagent/nxagent.keyboard
%config(noreplace) %{_sysconfdir}/nxagent/rgb
1139 1140 1141
%{_bindir}/nxagent
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxagent
1142 1143
%{_datadir}/pixmaps/nxagent.xpm
%{_datadir}/nx/rgb
1144
%{_datadir}/man/man1/nxagent.1*
1145 1146 1147 1148
%dir %{_libdir}/nx/X11/Xinerama/
%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
%{_libdir}/nx/X11/Xinerama/libXinerama.so.1*
1149 1150

%files -n nxauth
1151
%defattr(-,root,root)
1152 1153 1154
%{_bindir}/nxauth
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxauth
1155
%{_datadir}/man/man1/nxauth.1*
1156 1157

%files -n nxproxy
1158
%defattr(-,root,root)
1159 1160
%{_bindir}/nxproxy
%{_mandir}/man1/nxproxy.1*
1161
%{_datadir}/man/man1/nxproxy.1*
1162 1163
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxproxy
1164 1165

%files -n x2goagent
1166
%defattr(-,root,root)
1167
#%%{_sysconfdir}/x2go is owned by x2goserver, which this requires
1168 1169 1170
%dir %{_sysconfdir}/x2go
%dir %{_libdir}/x2go
%dir %{_libdir}/x2go/bin
1171
%config(noreplace) %{_sysconfdir}/x2go/keystrokes.cfg
1172
%config(noreplace) %{_sysconfdir}/x2go/x2goagent.keyboard
1173
%config(noreplace) %{_sysconfdir}/x2go/x2goagent.options
1174
%config(noreplace) %{_sysconfdir}/x2go/rgb
1175 1176 1177 1178
%{_bindir}/x2goagent
%{_libdir}/x2go/bin/x2goagent
%{_datadir}/pixmaps/x2go.xpm
%{_datadir}/x2go/
1179
%{_datadir}/man/man1/x2goagent.1*
1180 1181 1182


%changelog
1183
* Thu Jan 29 2015 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> 3.5.0.29
Mike DePaulo's avatar
Mike DePaulo committed
1184
- See debian/changelog for details.