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

3
# Override values for specific architectures.
4
%ifarch ppc64le && 0%{?rhel} == 7
5 6 7
# 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!
8 9
%global __global_cflags %{?__global_cflags} -mno-vsx
%global __global_cxxflags %{?__global_cxxflags} -mno-vsx
10 11
%endif

12
Name:           nx-libs
Mike Gabriel's avatar
Mike Gabriel committed
13
Version:        3.5.99.23
14
Release:        0.0build1%{?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://github.com/ArcticaProject/nx-libs/
24
Source0:        %{name}-%{version}.tar.gz
25

26
BuildRequires:  autoconf >= 2.13
27
BuildRequires:  automake
28 29
BuildRequires:  gcc-c++
BuildRequires:  libjpeg-devel
30
BuildRequires:  libtool
31
BuildRequires:  pkgconfig
32 33 34
%if 0%{?suse_version} && 0%{?suse_version} < 1210
BuildRequires:  xorg-x11-util-devel
%else
35
BuildRequires:  imake
36
%endif
37 38 39 40 41 42 43 44 45
# For xkbcomp.pc.
%if 0%{?suse_version}
# Earlier versions don't have xkbcomp.pc at all.
%if 0%{?suse_version} >= 1210
BuildRequires:  xkbcomp-devel
%endif
%else
BuildRequires:  xorg-x11-xkb-utils-devel
%endif
46

47 48 49 50 51 52 53 54 55 56 57 58 59
# ideally we build with quilt (for mesa-quilt patch appliance script),
# it seems Fedora has it...
%if 0%{?fedora}
BuildRequires:  quilt
%endif

# other distros sometimes do have quilt, sometimes don't, let's
# not differentiate here when it is available and when not. Rather
# rely on stupid patch application fallback mode in mesa-quilt...
%if 0%{?rhel} || 0%{?suse_version}
BuildRequires:  patch
%endif

60 61
%if 0%{?suse_version}
BuildRequires:  fdupes
62 63 64 65

# This is what provides /usr/share/fonts on SUSE systems...
BuildRequires: filesystem

66 67 68 69
%if 0%{?suse_version} >= 1130
BuildRequires:  pkgconfig(expat)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(libxml-2.0)
70
BuildRequires:  pkgconfig(pixman-1) >= 0.13.2
71
BuildRequires:  pkgconfig(x11)
72
BuildRequires:  pkgconfig(xext)
73
BuildRequires:  pkgconfig(xpm)
74 75 76
#%%if 0%%{?suse_version} >= 42XX
#BuildRequires:  pkgconfig(xfont2)
#%%else
77
BuildRequires:  pkgconfig(xfont) >= 1.4.2
78
#%%endif
79
BuildRequires:  pkgconfig(xdmcp)
80
BuildRequires:  pkgconfig(xdamage)
81
BuildRequires:  pkgconfig(xcomposite)
82
BuildRequires:  pkgconfig(xrandr)
83
BuildRequires:  pkgconfig(xfixes)
84
BuildRequires:  pkgconfig(xtst)
85
BuildRequires:  pkgconfig(xinerama)
86 87 88 89
%else
BuildRequires:  libexpat-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
90
BuildRequires:  libpixman-1-0-devel
91
BuildRequires:  xorg-x11-libX11-devel
92
BuildRequires:  xorg-x11-libXext-devel
93
BuildRequires:  xorg-x11-libXpm-devel
94
BuildRequires:  xorg-x11-devel
95
BuildRequires:  xorg-x11-proto-devel
96
BuildRequires:  xorg-x11-libXdmcp-devel
97
BuildRequires:  xorg-x11-libXfixes-devel
98 99 100
%endif
%endif

101
%if 0%{?fedora} || 0%{?rhel}
102 103 104
BuildRequires:  expat-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
105
BuildRequires:  pixman-devel >= 0.13.2
106 107
BuildRequires:  libX11-devel
BuildRequires:  libXext-devel
108
BuildRequires:  libXpm-devel
109
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
110 111
BuildRequires:  libXfont2-devel
%else
112
BuildRequires:  libXfont-devel >= 1.4.2
113
%endif
114
BuildRequires:  libXdmcp-devel
115
BuildRequires:  libXdamage-devel
116
BuildRequires:  libXcomposite-devel
117
BuildRequires:  libXrandr-devel
118
BuildRequires:  libXfixes-devel
119
BuildRequires:  libXtst-devel
120
BuildRequires:  libXinerama-devel
121
BuildRequires:  xorg-x11-font-utils
122 123
%endif

124 125
# For imake
BuildRequires:  xorg-x11-proto-devel
126 127
BuildRequires:  zlib-devel

128 129
# RPC headers. Fedora 28+ and OpenSuSE Tumbleweed phased them out of glibc, like upstream did.
%if 0%{?fedora} > 27 || 0%{?suse_version} > 1500
130 131 132
BuildRequires:  libtirpc-devel
%endif

133 134 135
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Provides:       nx%{?_isa} = %{version}-%{release}
136 137 138 139 140 141 142 143 144 145 146 147
Obsoletes:      libNX_Xau6 < 3.5.99.1
Obsoletes:      libNX_Xcomposite1 < 3.5.99.1
Obsoletes:      libNX_Xdamage1 < 3.5.99.1
Obsoletes:      libNX_Xdmcp6 < 3.5.99.1
Obsoletes:      libNX_Xext6 < 3.5.99.1
Obsoletes:      libNX_Xfixes3 < 3.5.99.1
Obsoletes:      libNX_Xinerama1 < 3.5.99.1
Obsoletes:      libNX_Xpm4 < 3.5.99.1
Obsoletes:      libNX_Xrandr2 < 3.5.99.1
Obsoletes:      libNX_Xrender1 < 3.5.99.1
Obsoletes:      libNX_Xtst6 < 3.5.99.1
Obsoletes:      libXcompext < 3.5.99.3
148

149
%if 0%{?el5}
Mike Gabriel's avatar
Mike Gabriel committed
150
# For compatibility with EPEL5
151
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
152 153
%else
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
154
%endif
155

156 157 158 159 160 161
%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.


162
%package -n libNX_X11-6
163 164
Group:          System Environment/Libraries
Summary:        Core NX protocol client library
165
Requires:       %{name}%{?_isa} >= 3.5.0.29
166 167 168
Obsoletes:      libNX_X11 < 3.5.0.30
Provides:       libNX_X11 = %{version}-%{release}
Provides:       libNX_X11%{?_isa} = %{version}-%{release}
169 170 171
%if 0%{?suse_version}
Requires:       xorg-x11-fonts-core
%endif
172

173
%description -n libNX_X11-6
174 175 176 177
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.

178 179 180 181 182 183 184 185 186 187 188 189 190
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
191
Requires:       libNX_X11-6%{?_isa} = %{version}-%{release}
192 193 194
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}

%description -n libNX_X11-devel
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 206 207 208 209 210 211 212 213
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 libXcomp-devel
Group:          Development/Libraries
Summary:        Development files for the NX differential compression library
214
Requires:       libXcomp3%{?_isa} = %{version}-%{release}
215 216 217
Requires:       nx-proto-devel = %{version}-%{release}

%description -n libXcomp-devel
218 219 220 221
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.

222 223 224
The NX differential compression library's development files.


225
%package -n libXcomp3
226 227
Group:          System Environment/Libraries
Summary:        NX differential compression library
228
Requires:       %{name}%{?_isa} >= 3.5.0.29
229 230 231
Obsoletes:      libXcomp <= 3.5.1
Provides:       libXcomp = %{version}-%{release}
Provides:       libXcomp%{?_isa} = %{version}-%{release}
232

233
%description -n libXcomp3
234 235 236 237 238 239 240 241 242 243
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 libXcompshad-devel
Group:          Development/Libraries
Summary:        Development files for the NX session shadowing library
244
Requires:       libXcompshad3%{?_isa} = %{version}-%{release}
245 246 247 248 249
Requires:       libNX_X11-devel%{?_isa} = %{version}-%{release}
Requires:       nx-proto-devel%{?_isa} = %{version}-%{release}
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}

%description -n libXcompshad-devel
250 251 252 253
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.

254 255 256
The NX session shadowing library's development files.


257
%package -n libXcompshad3
258 259
Group:          System Environment/Libraries
Summary:        NX session shadowing Library
260
Requires:       %{name}%{?_isa} >= 3.5.0.29
261 262 263
Obsoletes:      libXcompshad <= 3.5.1
Provides:       libXcompshad = %{version}-%{release}
Provides:       libXcompshad%{?_isa} = %{version}-%{release}
264

265
%description -n libXcompshad3
266 267 268 269 270 271 272 273 274 275 276 277 278
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:       nx-proto-devel%{?_isa} = %{version}-%{release}
Requires:       %{name}%{?_isa} = %{version}-%{release}
279 280 281 282 283 284
Obsoletes:      libNX_Xau-devel < 3.5.99.1
Obsoletes:      libNX_Xdmcp-devel < 3.5.0.32-2
Obsoletes:      libNX_Xext-devel < 3.5.99.1
Obsoletes:      libNX_Xfixes-devel < 3.5.99.1
Obsoletes:      libNX_Xpm-devel < 3.5.0.32-2
Obsoletes:      libNX_Xrender-devel < 3.5.99.1
285 286

%description devel
287 288 289 290
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.

291
This package contains all necessary include files and libraries
292
needed to develop nx-X11 applications that require these.
293 294 295 296 297 298 299


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

%description -n nx-proto-devel
300 301 302 303
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.

304
This package contains all necessary include files and libraries
305
for the nx_X11 wire protocol.
306 307 308 309


%package -n nxagent
Group:          Applications/System
310
Summary:        NX Agent
311 312 313
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Provides:       nx%{?_isa} = %{version}-%{release}
314
Obsoletes:      nxauth < 3.5.99.1
315 316
%if 0%{?fedora} || 0%{?rhel}
# For /usr/share/X11/fonts
317
Requires:       xorg-x11-font-utils
318
%endif
319

320 321
# Should be a weak dependency, because this package
# works without the dependency.
322 323 324 325 326 327 328 329 330
# *SUSE supports weak dependencies since version 10,
# so when it comes to our "supported" platforms any
# *SUSE version supports that feature.
# Fedora supports it since version 21. RHEL has not
# yet had any release based on anything newer than
# FC19, so no support on RHEL.
%if 0%{?fedora} >= 21 || 0%{?suse_version}
Recommends:     xkeyboard-config
%else
331
Requires:       xkeyboard-config
332
%endif
333

334 335 336 337 338 339 340 341 342 343 344 345 346 347
# 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

348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369
%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 nxproxy
Group:          Applications/System
370
Summary:        NX Proxy
371 372 373 374 375
Obsoletes:      nx < 3.5.0-19
Provides:       nx = %{version}-%{release}
Provides:       nx%{?_isa} = %{version}-%{release}

%description -n nxproxy
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
This package provides the NX proxy (client) binary.


%prep
%setup -q
385 386
# remove build cruft that is in Git (also taken from roll-tarball.sh)
rm -Rf nx*/configure nx*/autom4te.cache*
387 388 389 390 391 392 393 394
# Install into /usr
sed -i -e 's,/usr/local,/usr,' nx-X11/config/cf/site.def
# 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
395 396 397 398
# Some systems do not know -Wpedantic
%if ( 0%{?rhel} && 0%{?rhel} < 7 ) || ( 0%{?suse_version} && 0%{?suse_version} < 1310 )
sed -i -e 's/Wpedantic/pedantic/g' nx-X11/config/cf/{{host,xorgsite}.def,xorg.cf}
%endif
399 400 401 402 403 404 405 406 407

# Bundled nx-X11/extras
# Mesa - Used by the X server

# Xcursor - Other code still references files in it


%build
cat >"my_configure" <<'EOF'
408
%configure \
409 410
  --disable-silent-rules \
  "${@}"
411 412
EOF
chmod a+x my_configure;
413 414
# The RPM macro for the linker flags does not exist on EPEL
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
415 416 417
SHLIBGLOBALSFLAGS="%{__global_ldflags}"
LOCAL_LDFLAGS="%{__global_ldflags}"
CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags} %{?optflags}"
418 419 420 421 422 423
IMAKE_DEFINES=''
FORCE_TIRPC='NO'
%if 0%{?fedora} > 27 || 0%{?suse_version} > 1500
FORCE_TIRPC='YES'
%endif
IMAKE_DEFINES="-DUseTIRPC=${FORCE_TIRPC}"
424
make CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} LIBDIR=%{_libdir} CDEBUGFLAGS="${CDEBUGFLAGS}" LOCAL_LDFLAGS="${LOCAL_LDFLAGS}" SHLIBGLOBALSFLAGS="${SHLIBGLOBALSFLAGS}" IMAKE_DEFINES="${IMAKE_DEFINES}"
425 426 427 428 429

%install
make install \
        DESTDIR=%{buildroot} \
        PREFIX=%{_prefix} \
430
        LIBDIR=%{_libdir} SHLIBDIR=%{_libdir} \
431 432 433 434
        INSTALL_DIR="install -dm0755" \
        INSTALL_FILE="install -pm0644" \
        INSTALL_PROGRAM="install -pm0755"

435 436 437
# this needs to be adapted distribution-wise...
%if 0%{?suse_version}
ln -s ../fonts %{buildroot}%{_datadir}/nx/fonts
438 439
%else
%if 0%{?fedora} || 0%{?rhel}
440 441
ln -s ../X11/fonts %{buildroot}%{_datadir}/nx/fonts
%endif
442
%endif
443

444 445
# Remove static libs (they don't exist on SLES, so using -f here)
rm -f %{buildroot}%{_libdir}/*.a
446 447

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

Mike Gabriel's avatar
Mike Gabriel committed
450
#Remove extras, GL, and other unneeded headers
451 452 453
rm -r %{buildroot}%{_includedir}/GL
rm -r %{buildroot}%{_includedir}/nx-X11/extensions/XK*.h
rm -r %{buildroot}%{_includedir}/nx-X11/extensions/*Xv*.h
454 455 456
rm -r %{buildroot}%{_includedir}/nx-X11/extensions/XRes*.h
rm -r %{buildroot}%{_includedir}/nx-X11/extensions/XIproto.h
rm -r %{buildroot}%{_includedir}/nx-X11/extensions/XI.h
457
rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans
Mike Gabriel's avatar
Mike Gabriel committed
458

459
#Remove our shared libraries' .la files before wrapping up the packages
460
rm %{buildroot}%{_libdir}/*.la
461

462 463 464 465
#FIXME: leaving nxdialog integration to Ionic
rm -f %{buildroot}%{_bindir}/nxdialog
rm -f %{buildroot}%{_datadir}/man/man1/nxdialog.1*

466
%if 0%{?fdupes:1}
467
%fdupes %{buildroot}%{_prefix}
468 469
%endif

470
%post -p /sbin/ldconfig
471 472 473
%post -n libNX_X11-6 -p /sbin/ldconfig
%post -n libXcomp3 -p /sbin/ldconfig
%post -n libXcompshad3 -p /sbin/ldconfig
474
%postun -p /sbin/ldconfig
475 476 477
%postun -n libNX_X11-6 -p /sbin/ldconfig
%postun -n libXcomp3 -p /sbin/ldconfig
%postun -n libXcompshad3 -p /sbin/ldconfig
478 479

%files
480
%defattr(-,root,root)
481
%doc COPYING
482
%dir %{_libdir}/nx
483
%dir %{_datadir}/nx
484
%dir %{_datadir}/nx/X11
485
%{_datadir}/nx/SecurityPolicy
486 487
%{_datadir}/nx/X11/XErrorDB
%{_datadir}/nx/X11/Xcms.txt
488

489
%files -n libNX_X11-6
490
%defattr(-,root,root)
491
%{_libdir}/libNX_X11.so.6*
492 493

%files -n libNX_X11-devel
494
%defattr(-,root,root)
495
%{_libdir}/libNX_X11.so
496
%{_libdir}/pkgconfig/nx-x11.pc
497
%dir %{_includedir}/nx
498 499
%dir %{_includedir}/nx-X11
%{_includedir}/nx-X11/ImUtil.h
500
%{_includedir}/nx-X11/Xauth.h
501 502 503 504 505 506 507 508 509 510
%{_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
511 512

%files -n libXcomp-devel
513
%defattr(-,root,root)
514
%{_libdir}/libXcomp.so
515 516 517 518 519 520
%{_includedir}/nx/MD5.h
%{_includedir}/nx/NX.h
%{_includedir}/nx/NXalert.h
%{_includedir}/nx/NXpack.h
%{_includedir}/nx/NXproto.h
%{_includedir}/nx/NXvars.h
521
%{_libdir}/pkgconfig/nxcomp.pc
522

523
%files -n libXcomp3
524
%defattr(-,root,root)
525
%doc COPYING
526 527
%doc doc/nxcomp/README.on-retroactive-DXPC-license
%doc doc/nxcomp/nxcomp-3.6-drops-compat-code-3.4.x-testing.pdf
528
%{_libdir}/libXcomp.so.3*
529 530

%files -n libXcompshad-devel
531
%defattr(-,root,root)
532
%{_libdir}/libXcompshad.so
533
%{_includedir}/nx/Shadow.h
534
%{_libdir}/pkgconfig/nxcompshad.pc
535

536
%files -n libXcompshad3
537
%defattr(-,root,root)
538
%doc COPYING
539
%{_libdir}/libXcompshad.so.3*
540 541

%files devel
542
%defattr(-,root,root)
543 544 545 546
%dir %{_includedir}/nx-X11/extensions
%{_includedir}/nx-X11/extensions/panoramiXext.h
%{_includedir}/nx-X11/misc.h
%{_includedir}/nx-X11/os.h
547 548

%files -n nx-proto-devel
549
%defattr(-,root,root)
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
%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/keysym.h
%{_includedir}/nx-X11/keysymdef.h
573
%{_includedir}/nx-X11/extensions/Xdbeproto.h
574 575 576
%{_includedir}/nx-X11/extensions/bigreqstr.h
%{_includedir}/nx-X11/extensions/composite.h
%{_includedir}/nx-X11/extensions/compositeproto.h
577 578
%{_includedir}/nx-X11/extensions/damagewire.h
%{_includedir}/nx-X11/extensions/damageproto.h
579
%{_includedir}/nx-X11/extensions/dpms.h
580
%{_includedir}/nx-X11/extensions/dpmsstr.h
581
%{_includedir}/nx-X11/extensions/panoramiXproto.h
582 583
%{_includedir}/nx-X11/extensions/randr.h
%{_includedir}/nx-X11/extensions/randrproto.h
584
%{_includedir}/nx-X11/extensions/record*.h
585 586
%{_includedir}/nx-X11/extensions/render.h
%{_includedir}/nx-X11/extensions/renderproto.h
587 588 589
%{_includedir}/nx-X11/extensions/saver.h
%{_includedir}/nx-X11/extensions/saverproto.h
%{_includedir}/nx-X11/extensions/scrnsaver.h
590
%{_includedir}/nx-X11/extensions/security.h
591
%{_includedir}/nx-X11/extensions/securstr.h
592
%{_includedir}/nx-X11/extensions/shapeconst.h
593
%{_includedir}/nx-X11/extensions/sync.h
594 595 596
%{_includedir}/nx-X11/extensions/syncstr.h
%{_includedir}/nx-X11/extensions/xcmiscstr.h
%{_includedir}/nx-X11/extensions/xf86bigfont.h
597
%{_includedir}/nx-X11/extensions/xf86bigfproto.h
598 599
%{_includedir}/nx-X11/extensions/xfixesproto.h
%{_includedir}/nx-X11/extensions/xfixeswire.h
600 601
%{_includedir}/nx-X11/extensions/xtestconst.h
%{_includedir}/nx-X11/extensions/xteststr.h
602 603

%files -n nxagent
604
%defattr(-,root,root)
605 606
%dir %{_sysconfdir}/nxagent
%config(noreplace) %{_sysconfdir}/nxagent/keystrokes.cfg
607
%doc doc/nxagent/README.keystrokes
608
%{_bindir}/nxagent
609
# FIXME: compatibility symlink to BINDIR/nxagent, remove for 3.6.0
610 611
%dir %{_libdir}/nx/bin
%{_libdir}/nx/bin/nxagent
612 613
%dir %{_libdir}/nx/X11
%{_libdir}/nx/X11/libX11.so*
614 615
%dir %{_datadir}/nx
%{_datadir}/nx/VERSION.nxagent
616
%{_datadir}/man/man1/nxagent.1*
617
%{_datadir}/nx/fonts
618 619

%files -n nxproxy
620
%defattr(-,root,root)
621
%doc doc/nxproxy/README-VALGRIND
622
%{_bindir}/nxproxy
623
%{_datadir}/man/man1/nxproxy.1*
624 625
%dir %{_datadir}/nx
%{_datadir}/nx/VERSION.nxproxy
626 627 628


%changelog
Mike Gabriel's avatar
Mike Gabriel committed
629
* Thu Jan 30 2020 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> 3.5.99.23
630
- See upstream ChangeLog and debian/changelog for details.