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

Name:           nx-libs
4
Version:        3.5.0.33
5
Release:        0.0x2go1%{?dist}
6 7 8
Summary:        NX X11 protocol compression libraries

Group:          System Environment/Libraries
9 10 11
%if 0%{?suse_version}
License:        GPL-2.0+
%else
12
License:        GPLv2+
13
%endif
14
URL:            http://x2go.org/
15
Source0:        %{name}-%{version}.tar.gz
16

17 18 19 20 21
BuildRequires:  autoconf >= 2.13
BuildRequires:  gcc-c++
BuildRequires:  libjpeg-devel
BuildRequires:  pkgconfig

Mike Gabriel's avatar
Mike Gabriel committed
22 23
# suse_version 1315 is SLE-12
%if 0%{?suse_version} != 1315 && 0%{?suse_version} >= 1230
24 25 26 27 28 29 30 31 32 33 34 35
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)
36
BuildRequires:  pkgconfig(xext)
37 38 39 40 41 42 43
%else
BuildRequires:  libexpat-devel
BuildRequires:  fontconfig-devel
BuildRequires:  freetype2-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
BuildRequires:  xorg-x11-libX11-devel
44
BuildRequires:  xorg-x11-libXext-devel
45 46 47 48 49
BuildRequires:  xorg-x11-libfontenc-devel
%endif
BuildRequires:  xorg-x11-util-devel
%endif

50
%if 0%{?fedora} || 0%{?rhel}
51 52 53 54 55 56
BuildRequires:  expat-devel
BuildRequires:  fontconfig-devel
BuildRequires:  freetype-devel
BuildRequires:  libfontenc-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
57 58
%endif

59 60
# For imake
BuildRequires:  xorg-x11-proto-devel
61 62
BuildRequires:  zlib-devel

63
%if 0%{?suse_version} >= 1130 || 0%{?fedora}
64 65 66 67 68
%define cond_noarch BuildArch: noarch
%else
%define cond_noarch %nil
%endif

69 70 71 72 73
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Obsoletes:      nx%{?_isa} < 3.5.0-19
Provides:       nx%{?_isa} = %{version}-%{release}

74 75
# for Xinerama in NX to work:
%if 0%{?suse_version}
76 77 78 79
%if 0%{?suse_version} < 1140
Requires:       xorg-x11-libX11%{?_isa}
Requires:       xorg-x11-libXext%{?_isa}
%else
80 81
Requires:       libX11-6%{?_isa}
Requires:       libXext6%{?_isa}
Mike Gabriel's avatar
Mike Gabriel committed
82
%endif
83 84 85 86 87
%else
Requires:       libX11%{?_isa}
Requires:       libXext%{?_isa}
%endif

88
%if 0%{?el5}
Mike Gabriel's avatar
Mike Gabriel committed
89
# For compatibility with EPEL5
90
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
91 92
%else
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
93
%endif
94

95 96 97 98 99 100
%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.


101
%package -n libNX_X11-6
102 103
Group:          System Environment/Libraries
Summary:        Core NX protocol client library
104 105
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_X11
106 107 108
%if 0%{?suse_version}
Requires:       xorg-x11-fonts-core
%endif
109

110
%description -n libNX_X11-6
111 112 113 114
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.

115 116 117 118 119 120 121 122 123 124 125 126 127
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
128
Requires:       libNX_X11-6%{?_isa} = %{version}-%{release}
129 130 131
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_X11-devel
132 133 134 135
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.

136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
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
152
Requires:       libNX_Xau6%{?_isa} = %{version}-%{release}
153 154 155
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xau-devel
156 157 158 159 160
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
161
System display. It uses existing core protocol and library hooks for
162 163 164
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".
165 166 167 168 169

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


170
%package -n libNX_Xau6
171 172
Group:          System Environment/Libraries
Summary:        NX authorization protocol library
173 174
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xau
175

176
%description -n libNX_Xau6
177 178 179 180 181
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
182 183 184 185 186 187
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".


188
%package -n libNX_Xcomposite1
189 190
Group:          System Environment/Libraries
Summary:        NX protocol Composite extension client library
191 192
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xcomposite
193

194
%description -n libNX_Xcomposite1
195 196 197 198
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.

199 200 201 202 203 204 205
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.


206
%package -n libNX_Xdamage1
207 208
Group:          System Environment/Libraries
Summary:        NX Damage Extension library
209 210
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xdamage
211

212
%description -n libNX_Xdamage1
213 214 215 216
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.

217 218 219 220 221 222 223 224
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}
225
Requires:       libNX_Xdmcp6%{?_isa} = %{version}-%{release}
226 227 228
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xdmcp-devel
229 230 231 232
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.

233 234 235 236 237 238 239 240 241 242 243 244
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.


245
%package -n libNX_Xdmcp6
246 247
Group:          System Environment/Libraries
Summary:        NX Display Manager Control Protocol library
248 249
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xdmcp
250

251
%description -n libNX_Xdmcp6
252 253 254 255
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.

256 257 258 259 260 261 262 263 264 265 266 267
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
268 269
Requires:       libNX_Xext6%{?_isa} = %{version}-%{release}
Requires:       libNX_Xau6-devel%{?_isa} = %{version}-%{release}
270 271 272
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xext-devel
273 274 275 276 277
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:
278 279 280 281 282 283 284 285 286 287 288 289
- 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.


290
%package -n libNX_Xext6
291 292
Group:          System Environment/Libraries
Summary:        Common extensions to the NX protocol
293 294
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xext
295

296
%description -n libNX_Xext6
297 298 299 300 301
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:
302 303 304 305 306 307 308 309 310 311 312 313
- 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
314
Requires:       libNX_Xfixes3%{?_isa} = %{version}-%{release}
315 316 317 318
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xfixes-devel
319 320 321 322 323
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
324 325 326 327 328 329
various limitations in the core protocol.

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


330
%package -n libNX_Xfixes3
331 332
Group:          System Environment/Libraries
Summary:        NX miscellaneous "fixes" extension library
333
Requires:       %{name}%{?_isa} >= 3.5.0.29
334
Obsoletes:      libNX_Xfixes
335

336
%description -n libNX_Xfixes3
337 338 339 340 341
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
342 343 344
various limitations in the core protocol.


345
%package -n libNX_Xinerama1
346 347
Group:          System Environment/Libraries
Summary:        Xinerama extension to the NX Protocol
348 349
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xinerama
350

351
%description -n libNX_Xinerama1
352 353 354 355
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.

356 357 358 359 360 361 362 363
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
364
Requires:       libNX_Xpm4%{?_isa} = %{version}-%{release}
365 366

%description -n libNX_Xpm-devel
367 368 369 370
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.

371 372 373 374 375 376 377
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.


378
%package -n libNX_Xpm4
379 380
Group:          System Environment/Libraries
Summary:        NX Pixmap image file format library
381 382
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xpm
383

384
%description -n libNX_Xpm4
385 386 387 388 389
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
390 391 392
storing/retrieving X pixmaps to/from files.


393
%package -n libNX_Xrandr2
394 395
Group:          System Environment/Libraries
Summary:        NX Resize, Rotate and Reflection extension library
396 397
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xrandr
398

399
%description -n libNX_Xrandr2
400 401 402 403
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.

404 405 406 407 408 409 410 411
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
412
Requires:       libNX_Xrender1%{?_isa} = %{version}-%{release}
413 414 415 416
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_Xrender-devel
417 418 419 420
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.

421 422 423 424 425 426 427
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.


428
%package -n libNX_Xrender1
429 430
Group:          System Environment/Libraries
Summary:        NX Rendering Extension library
431 432
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xrender
433

434
%description -n libNX_Xrender1
435 436 437 438
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.

439 440 441 442
The Xrender library is designed as a lightweight library interface to
the Render extension.


443
%package -n libNX_Xtst6
444 445
Group:          System Environment/Libraries
Summary:        Xlib-based client API for the XTEST and RECORD extensions on NX
446 447
Requires:       %{name}%{?_isa} >= 3.5.0.29
Obsoletes:      libNX_Xtst
448

449
%description -n libNX_Xtst6
450 451 452 453
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.

454 455 456 457 458 459 460 461 462 463 464 465
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
466
Requires:       libXcomp3%{?_isa} = %{version}-%{release}
467 468 469
Requires:       nx-proto-devel = %{version}-%{release}

%description -n libXcomp-devel
470 471 472 473
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.

474 475 476
The NX differential compression library's development files.


477
%package -n libXcomp3
478 479
Group:          System Environment/Libraries
Summary:        NX differential compression library
480
Requires:       %{name}%{?_isa} >= 3.5.0.29
481
Obsoletes:      libXcomp
482

483
%description -n libXcomp3
484 485 486 487 488 489 490 491 492 493
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
494
Requires:       libXcompext3%{?_isa} = %{version}-%{release}
495 496 497 498
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libXcompext-devel
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.

503 504 505
The NX compression extensions library's development files.


506
%package -n libXcompext3
507 508
Group:          System Environment/Libraries
Summary:        NX protocol compression extensions library
509
Requires:       %{name}%{?_isa} >= 3.5.0.29
510
Obsoletes:      libXcompext
511

512
%description -n libXcompext3
513 514 515 516 517 518 519 520 521 522 523
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
524
Requires:       libXcompshad3%{?_isa} = %{version}-%{release}
525 526 527 528 529 530
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
531 532 533 534
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.

535 536 537
The NX session shadowing library's development files.


538
%package -n libXcompshad3
539 540
Group:          System Environment/Libraries
Summary:        NX session shadowing Library
541
Requires:       %{name}%{?_isa} >= 3.5.0.29
542
Obsoletes:      libXcompshad
543

544
%description -n libXcompshad3
545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565
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
566 567 568 569
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.

570
This package contains all necessary include files and libraries
571
needed to develop nx-X11 applications that require these.
572 573 574 575 576 577 578


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

%description -n nx-proto-devel
579 580 581 582
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.

583
This package contains all necessary include files and libraries
584
for the nx_X11 wire protocol.
585 586 587 588


%package -n nxagent
Group:          Applications/System
589
Summary:        NX Agent
590 591 592 593
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Obsoletes:      nx%{?_isa} < 3.5.0-19
Provides:       nx%{?_isa} = %{version}-%{release}
594 595 596
%if 0%{?suse_version}
Requires:       xorg-x11-fonts-core
%endif
597

598 599 600 601
# Should be a weak dependency, because this package
# works without the dependency.
Requires:       xkeyboard-config

602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
%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
624
Summary:        NX Auth
625 626

%description -n nxauth
627 628 629 630
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.

631 632 633 634 635
This package provides the NX xauth binary.


%package -n nxproxy
Group:          Applications/System
636
Summary:        NX Proxy
637 638 639 640 641 642
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
643 644 645 646
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.

647 648 649 650 651
This package provides the NX proxy (client) binary.


%package -n x2goagent
Group:          Applications/System
652
Summary:        X2Go Agent
653 654 655
Requires:       nxagent

%description -n x2goagent
656
X2Go Agent functionality has been completely incorporated into
657
nxagent's code base. If the nxagent binary is executed under the name
658
of "x2goagent", the X2Go functionalities get activated.
659 660 661 662 663 664 665 666

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
667 668 669 670 671 672 673 674
# 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
675 676 677
cp -v debian/rgb etc/rgb
cp -v debian/nxagent.keyboard etc/nxagent.keyboard
cp -v debian/x2goagent.keyboard etc/x2goagent.keyboard
678 679
cp -v debian/VERSION VERSION.x2goagent
cp -v debian/VERSION nxcomp/VERSION
680 681 682 683 684 685

### 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`
686
PRESERVE_INCLUDED_FILES=`cat debian/CODE-REDUCTION_PRESERVE-INCLUDED`
687 688 689 690 691 692 693 694 695 696 697
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
698
for path in ${UNUSED_FOLDERS} ${CLEANUP_FOLDERS} ${UNNEEDED_BACKUPS}; do
699 700 701 702 703 704 705 706
    rm -R "$path"
done

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

707 708
# remove build cruft that is in Git (also taken from roll-tarball.sh)
rm -Rf nx*/configure nx*/autom4te.cache*
709 710 711 712 713 714
# Install into /usr
sed -i -e 's,/usr/local,/usr,' nx-X11/config/cf/site.def
# Use rpm optflags
sed -i -e 's#-O3#%{optflags}#' nx-X11/config/cf/host.def
# Use multilib dirs
# We're installing binaries into %%{_libdir}/nx/bin rather than %%{_libexedir}/nx
715
# because upstream expects libraries and binaries in the same directory
716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739
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;
740 741
# The RPM macro for the linker flags does not exist on EPEL
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
742
export SHLIBGLOBALSFLAGS="%{__global_ldflags}"
743
export LOCAL_LDFLAGS="%{__global_ldflags}"
744
make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir}
745 746 747 748 749

%install
make install \
        DESTDIR=%{buildroot} \
        PREFIX=%{_prefix} \
750
        USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} \
751 752 753 754
        INSTALL_DIR="install -dm0755" \
        INSTALL_FILE="install -pm0644" \
        INSTALL_PROGRAM="install -pm0755"

755 756
# Remove static libs (they don't exist on SLES, so using -f here)
rm -f %{buildroot}%{_libdir}/*.a
757 758 759 760 761 762

# 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
763
chmod 755  %{buildroot}%{_libdir}/lib*.so*
764

Mike Gabriel's avatar
Mike Gabriel committed
765 766 767 768 769 770 771 772
#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

773 774 775
# 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
776
ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/Xinerama/libXinerama.so.1
777

778 779 780 781
%if 0%{?fdupes:1}
%fdupes %buildroot/%_prefix
%endif

782
%post -p /sbin/ldconfig
783 784 785 786 787 788 789 790 791 792 793 794 795 796 797
%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
798
%postun -p /sbin/ldconfig
799 800 801 802 803 804 805 806 807 808 809 810 811 812 813
%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
814 815

%files
816
%defattr(-,root,root)
817
%doc nx-X11/{COPYING,LICENSE,README}
818 819
%dir %{_libdir}/nx
%dir %{_libdir}/nx/X11
820
%dir %{_datadir}/nx
821
%{_datadir}/nx/SecurityPolicy
822 823 824 825
%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*
826

827
%files -n libNX_X11-6
828
%defattr(-,root,root)
829
%{_libdir}/libNX_X11.so.6*
830 831

%files -n libNX_X11-devel
832
%defattr(-,root,root)
833
%{_libdir}/libNX_X11.so
834 835 836 837 838 839 840 841 842 843 844 845 846 847 848
%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
849
%defattr(-,root,root)
850
%{_libdir}/libNX_Xau.so
851 852
%{_includedir}/nx/X11/Xauth.h

853
%files -n libNX_Xau6
854
%defattr(-,root,root)
855
%{_libdir}/libNX_Xau.so.6*
856

857
%files -n libNX_Xcomposite1
858
%defattr(-,root,root)
859
%{_libdir}/libNX_Xcomposite.so.1*
860

861
%files -n libNX_Xdamage1
862
%defattr(-,root,root)
863
%{_libdir}/libNX_Xdamage.so.1*
864 865

%files -n libNX_Xdmcp-devel
866
%defattr(-,root,root)
867
%{_libdir}/libNX_Xdmcp.so
868 869
%{_includedir}/nx/X11/Xdmcp.h

870
%files -n libNX_Xdmcp6
871
%defattr(-,root,root)
872
%{_libdir}/libNX_Xdmcp.so.6*
873 874

%files -n libNX_Xext-devel
875
%defattr(-,root,root)
876
%{_libdir}/libNX_Xext.so
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904
%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

905
%files -n libNX_Xext6
906
%defattr(-,root,root)
907
%{_libdir}/libNX_Xext.so.6*
908 909

%files -n libNX_Xfixes-devel
910
%defattr(-,root,root)
911
%{_libdir}/libNX_Xfixes.so
912 913
%{_includedir}/nx/X11/extensions/Xfixes.h

914
%files -n libNX_Xfixes3
915
%defattr(-,root,root)
916
%{_libdir}/libNX_Xfixes.so.3*
917

918
%files -n libNX_Xinerama1
919
%defattr(-,root,root)
920
%{_libdir}/libNX_Xinerama.so.1*
921 922

%files -n libNX_Xpm-devel
923
%defattr(-,root,root)
924
%{_libdir}/libNX_Xpm.so
925 926
%{_includedir}/nx/X11/xpm.h

927
%files -n libNX_Xpm4
928
%defattr(-,root,root)
929
%{_libdir}/libNX_Xpm.so.4*
930

931
%files -n libNX_Xrandr2
932
%defattr(-,root,root)
933
%{_libdir}/libNX_Xrandr.so.2*
934 935

%files -n libNX_Xrender-devel
936
%defattr(-,root,root)
937
%{_libdir}/libNX_Xrender.so
938 939
%{_includedir}/nx/X11/extensions/Xrender.h

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

944
%files -n libNX_Xtst6
945
%defattr(-,root,root)
946
%{_libdir}/libNX_Xtst.so.6*
947 948

%files -n libXcomp-devel
949
%defattr(-,root,root)
950
%_libdir/libXcomp.so
951 952 953 954 955 956 957 958 959
%{_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

960
%files -n libXcomp3
961
%defattr(-,root,root)
962
%doc nxcomp/{COPYING,LICENSE,README}
963
%_libdir/libXcomp.so.3*
964 965

%files -n libXcompext-devel
966
%defattr(-,root,root)
967
%_libdir/libXcompext.so
968 969 970
%{_includedir}/nx/NXlib.h
%{_includedir}/nx/NXlibint.h

971
%files -n libXcompext3
972
%defattr(-,root,root)
973
%doc nxcompext/{COPYING,LICENSE,README}
974
%_libdir/libXcompext.so.3*
975 976

%files -n libXcompshad-devel
977
%defattr(-,root,root)
978
%_libdir/libXcompshad.so
979 980 981 982 983 984 985 986 987 988 989 990
%{_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

991
%files -n libXcompshad3
992
%defattr(-,root,root)
993
%doc nxcompshad/{CHANGELOG,COPYING,LICENSE}
994
%_libdir/libXcompshad.so.3*
995 996

%files devel
997
%defattr(-,root,root)
998 999 1000 1001 1002
%{_libdir}/libNX_Xcomposite.so
%{_libdir}/libNX_Xdamage.so
%{_libdir}/libNX_Xinerama.so
%{_libdir}/libNX_Xrandr.so
%{_libdir}/libNX_Xtst.so
1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040
%{_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
1041
%defattr(-,root,root)
1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 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
%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
1113
%defattr(-,root,root)
1114 1115
%dir %{_sysconfdir}/nxagent
%config(noreplace) %{_sysconfdir}/nxagent/keystrokes.cfg
1116 1117
%config(noreplace) %{_sysconfdir}/nxagent/nxagent.keyboard
%config(noreplace) %{_sysconfdir}/nxagent/rgb
1118 1119 1120
%{_bindir}/nxagent
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxagent
1121 1122
%{_datadir}/pixmaps/nxagent.xpm
%{_datadir}/nx/rgb
1123
%{_datadir}/man/man1/nxagent.1*
1124 1125

%files -n nxauth
1126
%defattr(-,root,root)
1127 1128 1129
%{_bindir}/nxauth
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxauth
1130
%{_datadir}/man/man1/nxauth.1*
1131 1132

%files -n nxproxy
1133
%defattr(-,root,root)
1134 1135
%{_bindir}/nxproxy
%{_mandir}/man1/nxproxy.1*
1136
%{_datadir}/man/man1/nxproxy.1*
1137 1138
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxproxy
1139 1140

%files -n x2goagent
1141
%defattr(-,root,root)
1142
#%%{_sysconfdir}/x2go is owned by x2goserver, which this requires
1143 1144 1145
%dir %{_sysconfdir}/x2go
%dir %{_libdir}/x2go
%dir %{_libdir}/x2go/bin
1146
%config(noreplace) %{_sysconfdir}/x2go/keystrokes.cfg
1147 1148
%config(noreplace) %{_sysconfdir}/x2go/x2goagent.keyboard
%config(noreplace) %{_sysconfdir}/x2go/rgb
1149 1150 1151 1152
%{_bindir}/x2goagent
%{_libdir}/x2go/bin/x2goagent
%{_datadir}/pixmaps/x2go.xpm
%{_datadir}/x2go/
1153
%{_datadir}/man/man1/x2goagent.1*
1154 1155 1156


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