1 |
# most of the descriptions are stolen from the debian package |
%define srcname %{name}-libs |
2 |
# build section stolen from fedora spec |
|
3 |
%define _pkglibdir %{_libdir}/nx |
%define _pkglibdir %{_libdir}/nx |
4 |
%define _pkgincdir %{_includedir}/nx |
%define _pkgincdir %{_includedir}/nx |
5 |
%define _pkgdatadir %{_datadir}/nx |
%define _pkgdatadir %{_datadir}/nx |
6 |
%define _pkglibexecdir %{_libexecdir}/nx |
%define _pkglibexecdir %{_libexecdir}/nx |
7 |
|
|
|
%define develname %mklibname -d %{name} |
|
|
|
|
|
# Do not provide certain libs to not create problems for other packages |
|
|
%define _exclude_files_from_autoprov .*Xcomposite.*\\|.*Xdamage.*\\|.*Xext.*\\|.*Xfixes.*\\|.*Xpm.*\\|.*Xrandr.*\\|.*Xrender.*\\|.*Xtst.*\\|.*X11.* |
|
|
|
|
|
Name: nx |
|
|
Version: 3.5.0 |
|
|
Release: %mkrel 3 |
|
|
Summary: NoMachine NX |
|
|
License: GPLv2+ and MIT |
|
|
Group: Networking/Remote access |
|
|
URL: http://www.nomachine.com/sources.php |
|
|
|
|
|
# Compression Libraries and Proxy Sources |
|
|
Source0: http://64.34.161.181/download/%{version}/sources/nxproxy-%{version}-1.tar.gz |
|
|
Source1: http://64.34.161.181/download/%{version}/sources/nxcomp-%{version}-2.tar.gz |
|
|
Source2: http://64.34.161.181/download/%{version}/sources/nxcompext-%{version}-1.tar.gz |
|
|
Source3: http://64.34.161.181/download/%{version}/sources/nxssh-%{version}-2.tar.gz |
|
|
# Shadowing Libraries |
|
|
Source4: http://64.34.161.181/download/%{version}/sources/nxcompshad-%{version}-2.tar.gz |
|
|
# X11 Support Programs and Libraries |
|
|
Source5: http://64.34.161.181/download/%{version}/sources/nx-X11-%{version}-2.tar.gz |
|
|
Source6: http://64.34.161.181/download/%{version}/sources/nxauth-%{version}-1.tar.gz |
|
|
Source7: http://64.34.161.181/download/%{version}/sources/nxwin-%{version}-2.tar.gz |
|
|
# X11 Agent Sources |
|
|
# use patched, redistributed sources from x2go |
|
|
Source8: http://code.x2go.org/releases/source/nx-libs/nxagent/nxagent-3.5.0-7.tar.gz |
|
|
# NX Example Scripts |
|
|
Source9: http://64.34.161.181/download/%{version}/sources/nxscripts-%{version}-1.tar.gz |
|
|
# Documentation |
|
|
Source10: docs.tar.bz2 |
|
|
Source11: GUUG-Presentation-NX.pdf |
|
|
|
|
|
Patch0: nx-3.5.0-fdr-optflags.patch |
|
|
Patch1: nx-X11-3.5.0-fdr-syslibs.patch |
|
|
Patch2: nx-X11-3.5.0-mga-mdv-fix-format-errors.patch |
|
|
Patch3: nxcomp-3.5.0-openbsd-png-1.5.patch |
|
|
Patch4: nxssh-3.5.0-mga-mdv-fix-format-errors.patch |
|
|
|
|
|
BuildRequires: gcc-c++ |
|
|
BuildRequires: libstdc++-devel |
|
|
BuildRequires: hardlink |
|
|
BuildRequires: expat-devel |
|
|
BuildRequires: pkgconfig(audiofile) |
|
|
BuildRequires: pkgconfig(openssl) |
|
|
BuildRequires: jpeg-devel |
|
|
BuildRequires: pkgconfig(libpng15) |
|
|
BuildRequires: pkgconfig(xt) |
|
|
BuildRequires: pkgconfig(xproto) |
|
|
BuildRequires: pkgconfig(xp) |
|
|
BuildRequires: imake |
|
|
BuildRequires: pkgconfig(xdamage) |
|
|
BuildRequires: pkgconfig(xrandr) |
|
|
BuildRequires: pkgconfig(xtst) |
|
|
BuildRequires: fontconfig-devel |
|
|
|
|
|
%description |
|
|
NoMachine NX is the next-generation X compression and roundtrip |
|
|
suppression scheme. It can operate remote X11 sessions over |
|
|
56k modem dialup links or anything better. |
|
|
|
|
|
############ |
|
|
# nx-devel # |
|
|
############ |
|
|
%package -n %{develname} |
|
|
Summary: Development files for %{name} |
|
|
Group: System/Libraries |
|
|
Provides: %{name}-devel |
|
|
|
|
|
%description -n %{develname} |
|
|
Development files needed for developing with the nx libraries |
|
|
|
|
|
#################### |
|
|
# xcompext lib # |
|
|
#################### |
|
|
%define lib_name_orig_xcompext libxcompext |
|
8 |
%define lib_major_xcompext 3 |
%define lib_major_xcompext 3 |
9 |
%define lib_name_xcompext %mklibname xcompext %{lib_major_xcompext} |
%define lib_name_xcompext %mklibname xcompext %{lib_major_xcompext} |
|
%package -n %{lib_name_xcompext} |
|
|
Summary: Xcompext/Xcompshad library for NX |
|
|
Group: System/Libraries |
|
|
Provides: xcompext = %{version}-%{release} |
|
|
Provides: xcompshad = %{version}-%{release} |
|
|
|
|
|
%description -n %{lib_name_xcompext} |
|
|
Xcompext and Xcompshad library needed by the NX framework |
|
10 |
|
|
|
############### |
|
|
# nx-X11 lib # |
|
|
############### |
|
|
%define lib_name_orig_nxx11 libnxX11 |
|
11 |
%define lib_major_nxx11 0 |
%define lib_major_nxx11 0 |
12 |
%define lib_name_nxx11 %mklibname nxX11_ %{lib_major_nxx11} |
%define lib_name_nxx11 %mklibname nxX11_ %{lib_major_nxx11} |
13 |
|
|
14 |
|
%define lib_major_nxcomp 3 |
15 |
|
%define lib_name_nxcomp %mklibname xcomp %{lib_major_nxcomp} |
16 |
|
|
17 |
|
|
18 |
|
Name: nx |
19 |
|
Version: 3.5.0.11 |
20 |
|
Release: %mkrel 1 |
21 |
|
Summary: NX core libraries |
22 |
|
License: GPLv2 |
23 |
|
Group: Networking/Remote access |
24 |
|
Url: http://x2go.org/ |
25 |
|
|
26 |
|
Source0: http://code.x2go.org/releases/source/%{srcname}/%{srcname}_%{version}-full.tar.gz |
27 |
|
|
28 |
|
BuildRequires: autoconf |
29 |
|
BuildRequires: gcc-c++ |
30 |
|
BuildRequires: jpeg-devel |
31 |
|
BuildRequires: pkgconfig(libpng) |
32 |
|
Buildrequires: X11-devel |
33 |
|
BuildRequires: pkgconfig(zlib) |
34 |
|
BuildRequires: pkgconfig(liblzma) |
35 |
|
|
36 |
|
Requires: fontconfig |
37 |
|
|
38 |
|
%description |
39 |
|
|
40 |
%package -n %{lib_name_nxx11} |
%package -n %{lib_name_nxx11} |
41 |
Summary: Nx-X11 lib for NX |
Summary: Nx-X11 lib for NX |
42 |
Group: System/Libraries |
Group: System/Libraries |
43 |
Provides: nxX11 = %{version}-%{release} |
Provides: nxX11 = %{version}-%{release} |
44 |
|
|
45 |
%description -n %{lib_name_nxx11} |
%description -n %{lib_name_nxx11} |
46 |
NX-X11 lib for the NX framework |
NX-X11 lib for the NX framework |
47 |
|
|
48 |
########## |
%package -n %{lib_name_nxcomp} |
49 |
# nxcomp # |
Summary: Xcomp library for NX |
50 |
########## |
Group: System/Libraries |
51 |
%define lib_name_orig_nxcomp libxcomp |
Provides: xcomp = %{version}-%{release} |
|
%define lib_major_nxcomp 3 |
|
|
%define lib_name_nxcomp %mklibname xcomp %{lib_major_nxcomp} |
|
|
|
|
|
%package -n %{lib_name_nxcomp} |
|
|
Summary: Xcomp library for NX |
|
|
Group: System/Libraries |
|
|
Provides: xcomp = %{version}-%{release} |
|
52 |
|
|
53 |
%description -n %{lib_name_nxcomp} |
%description -n %{lib_name_nxcomp} |
54 |
Xcomp library for NX subsystem |
Xcomp library for NX subsystem |
55 |
|
|
56 |
########### |
%package -n %{lib_name_xcompext} |
57 |
# nxproxy # |
Summary: Xcompext/Xcompshad library for NX |
58 |
########### |
Group: System/Libraries |
59 |
%package -n nxproxy |
Provides: xcompext = %{version}-%{release} |
60 |
Summary: Provide the protocol compression and caching part of the NX scheme |
Provides: xcompshad = %{version}-%{release} |
61 |
Group: Networking/Remote access |
|
62 |
|
%description -n %{lib_name_xcompext} |
63 |
|
Xcompext and Xcompshad library needed by the NX framework |
64 |
|
|
65 |
|
%package -n nxproxy |
66 |
|
Summary: Provide the protocol compression and caching part of the NX scheme |
67 |
|
Group: Networking/Remote access |
68 |
|
|
69 |
%description -n nxproxy |
%description -n nxproxy |
70 |
The nxproxy runs on the X server side of the wire and thus accompanies |
The nxproxy runs on the X server side of the wire and thus accompanies |
71 |
the nxagent running on X client side. It provides the protocol |
the nxagent running on X client side. It provides the protocol |
72 |
compression and caching part of the NX scheme. |
compression and caching part of the NX scheme. |
73 |
|
|
74 |
########### |
%package -n nxagent |
75 |
# nxagent # |
Summary: NX X server based on Xnest |
76 |
########### |
Group: Networking/Remote access |
|
%package -n nxagent |
|
|
Summary: NX X server based on Xnest |
|
|
Group: Networking/Remote access |
|
77 |
|
|
78 |
%description -n nxagent |
%description -n nxagent |
79 |
The nxagent is an X server based on Xnest, but modified |
The nxagent is an X server based on Xnest, but modified |
82 |
that is, on the machine where X clients run. It connects, |
that is, on the machine where X clients run. It connects, |
83 |
over the wire, to your regular X server, possibly through nxproxy. |
over the wire, to your regular X server, possibly through nxproxy. |
84 |
|
|
85 |
######### |
%package -n x2goagent |
86 |
# nxssh # |
Summary: Wrapper arround nxagent to use with x2goserver |
87 |
######### |
Group: Networking/Remote access |
88 |
|
Requires: nxagent |
89 |
%package -n nxssh |
|
90 |
Summary: NX ssh client |
%description -n x2goagent |
91 |
Group: Networking/Remote access |
The x2goagent is a wrapper arround nxagent, that is used for running |
92 |
|
x2goserver |
|
%description -n nxssh |
|
|
Nx ssh client |
|
|
|
|
|
########## |
|
|
# nx-doc # |
|
|
########## |
|
|
|
|
|
%package -n nx-doc |
|
|
Summary: NX documentation |
|
|
Group: Networking/Remote access |
|
|
|
|
|
%description -n nx-doc |
|
|
Documentation for the nx libraries |
|
93 |
|
|
94 |
%prep |
%prep |
95 |
%setup -q -c %{name}-%{version} -T -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 |
%setup -q -n %{srcname}_%{version} |
|
%apply_patches |
|
|
|
|
|
cat <<EOF >>nx-X11/config/cf/host.def |
|
|
#define UseRpath YES |
|
|
#define UsrLibDir %{_pkglibdir} |
|
|
EOF |
|
|
find nx-X11 -name "*.[ch]" -print0 | xargs -0 chmod -c -x |
|
96 |
|
|
97 |
%build |
%build |
98 |
|
|
99 |
|
cat >"tmp_configure" <<EOF |
100 |
export CFLAGS="-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4" |
export CFLAGS="-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4" |
101 |
%ifarch x86_64 ppc64 |
%ifarch x86_64 ppc64 |
102 |
export CFLAGS="$CFLAGS -fPIC -DPIC" |
export CFLAGS="$CFLAGS -fPIC -DPIC" |
105 |
export RPM_OPT_FLAGS="$CFLAGS" |
export RPM_OPT_FLAGS="$CFLAGS" |
106 |
export LDFLAGS="%{?__global_ldflags} -Wl,-rpath,%{_pkglibdir}" |
export LDFLAGS="%{?__global_ldflags} -Wl,-rpath,%{_pkglibdir}" |
107 |
|
|
108 |
# The commented parts show how the build would proceed step by step. |
CONFIGURE_TOP="."; |
109 |
# This information is important in case someone wants to split this package |
/usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool ; |
110 |
# (which would be the proper thing to do). |
/usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool ; |
111 |
# Within the commented area the make World invocation does all for |
/usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking ; |
112 |
# you. It isn't placed by accident in the middle of the commented |
/usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs ; |
113 |
# build instructions, as this is where the X11 libs would be built |
/usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib lib64 ; |
114 |
|
(cd ; [ ! -f configure.in -a ! -f configure.ac ] || libtoolize --copy --force); |
115 |
# build Compression Library and Proxy |
[ -f ./configure.in -o -f /configure.ac ] && |
116 |
for i in nxcomp nxcompshad nxproxy; do |
CONFIGURE_XPATH="--x-includes=/usr/include --x-libraries=/usr/lib64" |
117 |
pushd $i; ./configure; make %{?_smp_mflags} CCFLAGS="$CFLAGS"; popd |
./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} \ |
118 |
done |
--sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} \ |
119 |
# build X11 Support Libraries and Agents |
--includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libdir} \ |
120 |
SHLIBGLOBALSFLAGS="$LDFLAGS" make %{?_smp_mflags} -C nx-X11 World |
--localstatedir=%{_localstatedir} --mandir=%{_mandir} \ |
121 |
%if 0 |
--infodir=%{_infodir} |
122 |
# build Extended Compression Library |
EOF |
123 |
pushd nxcompext |
|
124 |
./configure; make %{?_smp_mflags} |
chmod a+x tmp_configure |
125 |
popd |
make CONFIGURE="$PWD/tmp_configure" |
|
%endif |
|
|
pushd nxssh |
|
|
./configure --without-zlib-version-check |
|
|
make %{?_smp_mflags} nxssh |
|
|
popd |
|
126 |
|
|
127 |
%install |
%install |
128 |
|
#%makeinstall_std PREFIX="%{_prefix}" \ |
129 |
|
# INSTALL_DIR="install -dm0755" \ |
130 |
|
# INSTALL_FILE="install -pm0644" \ |
131 |
|
# INSTALL_PROGRAM="install -pm0755" |
132 |
|
#rm -rf %{buildroot}%{_sysconfdir}/fonts |
133 |
|
#rm -rf %{buildroot}%{_includedir}/GL |
134 |
|
#find %{buildroot} -name "*.la" -delete |
135 |
|
#find %{buildroot} -name "*.a" -delete |
136 |
mkdir -p %{buildroot}%{_bindir} |
mkdir -p %{buildroot}%{_bindir} |
137 |
mkdir -p %{buildroot}%{_pkglibdir} |
mkdir -p %{buildroot}%{_pkglibdir} |
138 |
mkdir -p %{buildroot}%{_pkglibexecdir} |
mkdir -p %{buildroot}%{_pkglibexecdir} |
139 |
mkdir -p %{buildroot}%{_mandir}/man1 |
mkdir -p %{buildroot}%{_mandir}/man1 |
140 |
|
|
141 |
# install X11 Support Libraries and Agents |
# install X11 Support Libraries and Agents |
142 |
install -p -m 0755 nx-X11/lib/X11/libX11.so.*.* \ |
install -pm0755 \ |
143 |
nx-X11/lib/Xcomposite/libXcomposite.so.*.* \ |
nx-X11/lib/freetype2/libNX_freetype.so.*.* \ |
144 |
nx-X11/lib/Xdamage/libXdamage.so.*.* \ |
nx-X11/lib/X11/libNX_X11.so.*.* \ |
145 |
nx-X11/lib/Xext/libXext.so.*.* \ |
nx-X11/lib/Xau/libNX_Xau.so.*.* \ |
146 |
nx-X11/lib/Xfixes/libXfixes.so.*.* \ |
nx-X11/lib/Xcomposite/libNX_Xcomposite.so.*.* \ |
147 |
nx-X11/lib/Xpm/libXpm.so.*.* \ |
nx-X11/lib/Xdamage/libNX_Xdamage.so.*.* \ |
148 |
nx-X11/lib/Xrandr/libXrandr.so.*.* \ |
nx-X11/lib/Xdmcp/libNX_Xdmcp.so.*.* \ |
149 |
nx-X11/lib/Xrender/libXrender.so.*.* \ |
nx-X11/lib/Xext/libNX_Xext.so.*.* \ |
150 |
nx-X11/lib/Xtst/libXtst.so.*.* \ |
nx-X11/lib/Xfixes/libNX_Xfixes.so.*.* \ |
151 |
%{buildroot}%{_pkglibdir} |
nx-X11/lib/Xinerama/libNX_Xinerama.so.*.* \ |
152 |
install -p -m 0755 nx-X11/programs/Xserver/nxagent \ |
nx-X11/lib/Xpm/libNX_Xpm.so.*.* \ |
153 |
%{buildroot}%{_pkglibexecdir} |
nx-X11/lib/Xrandr/libNX_Xrandr.so.*.* \ |
154 |
ln -s %{_pkglibexecdir}/nxagent %{buildroot}%{_bindir}/nxagent |
nx-X11/lib/Xrender/libNX_Xrender.so.*.* \ |
155 |
|
nx-X11/lib/Xtst/libNX_Xtst.so.*.* \ |
156 |
|
%{buildroot}%{_pkglibdir} |
157 |
|
install -pm0755 nx-X11/programs/Xserver/nxagent \ |
158 |
|
%{buildroot}%{_pkglibexecdir} |
159 |
|
install -pm0755 nx-X11/programs/nxauth/nxauth \ |
160 |
|
%{buildroot}%{_pkglibexecdir} |
161 |
|
|
162 |
# install Compression Libraries and Proxy |
# install Compression Libraries and Proxy |
163 |
install -p -m 0755 nxcomp/libXcomp.so.*.* \ |
install -pm0755 nxcomp/libXcomp.so.*.* \ |
164 |
nxcompext/libXcompext.so.*.* \ |
nxcompext/libXcompext.so.*.* \ |
165 |
nxcompshad/libXcompshad.so.*.* \ |
nxcompshad/libXcompshad.so.*.* \ |
166 |
%{buildroot}%{_pkglibdir} |
%{buildroot}%{_pkglibdir} |
167 |
install -p -m 0755 nxssh/nxssh %{buildroot}%{_pkglibexecdir} |
install -pm0755 nxproxy/nxproxy %{buildroot}%{_pkglibexecdir} |
168 |
ln -s %{_pkglibexecdir}/nxssh %{buildroot}%{_bindir}/nxssh |
|
|
install -p -m 0755 nxproxy/nxproxy %{buildroot}%{_pkglibexecdir} |
|
|
ln -s %{_pkglibexecdir}/nxproxy %{buildroot}%{_bindir}/nxproxy |
|
169 |
# set up shared lib symlinks |
# set up shared lib symlinks |
170 |
/sbin/ldconfig -n %{buildroot}%{_pkglibdir} |
/sbin/ldconfig -n %{buildroot}%{_pkglibdir} |
171 |
for i in libX11 libXcompext libXcomposite libXcompshad libXcomp libXdamage \ |
|
172 |
libXext libXfixes libXpm libXrandr libXrender libXtst; do |
cat > %{buildroot}%{_bindir}/nxagent << EOF |
173 |
for j in $(seq 0 9); do |
#!/bin/sh |
174 |
[ -f %{buildroot}%{_pkglibdir}/$i.so.$j ] && ln -s \ |
LD_LIBRARY_PATH="%{_pkglibdir}:\$LD_LIBRARY_PATH" exec "%{_pkglibexecdir}/nxagent" "\$@" |
175 |
%{_pkglibdir}/$i.so.$j %{buildroot}%{_pkglibdir}/$i.so |
EOF |
176 |
done |
|
177 |
done |
cat > %{buildroot}%{_bindir}/nxauth << EOF |
178 |
# install scripts |
#!/bin/sh |
179 |
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
LD_LIBRARY_PATH="%{_pkglibdir}:\$LD_LIBRARY_PATH" exec "%{_pkglibexecdir}/nxauth" "\$@" |
180 |
cp -a nxscripts %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
EOF |
181 |
# documentation and license |
|
182 |
# TODO: docs tarball contains dupes wrt nxscripts |
cat > %{buildroot}%{_bindir}/nxproxy << EOF |
183 |
tar xjf %{SOURCE10} -C %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
#!/bin/sh |
184 |
for i in nxcomp nxcompext nxcompshad nxproxy nxssh nx-X11 \ |
LD_LIBRARY_PATH="%{_pkglibdir}:\$LD_LIBRARY_PATH" exec "%{_pkglibexecdir}/nxproxy" "\$@" |
185 |
|
EOF |
186 |
|
|
187 |
|
# create x2goagent symlink |
188 |
|
ln -s %{_bindir}/nxagent %{buildroot}%{_bindir}/x2goagent |
189 |
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/ |
190 |
|
mkdir -p %{buildroot}%{_mandir}/man1/ |
191 |
|
install -pm0644 nx-X11/programs/Xserver/hw/nxagent/x2go.xpm %{buildroot}%{_datadir}/pixmaps/ |
192 |
|
install -pm0644 nx-X11/programs/Xserver/hw/nxagent/man/x2goagent.1 %{buildroot}%{_mandir}/man1/ |
193 |
|
install -pm0644 nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1 %{buildroot}%{_mandir}/man1/ |
194 |
|
install -pm0644 nxproxy/man/nxproxy.1 %{buildroot}%{_mandir}/man1/ |
195 |
|
|
196 |
|
#install doc files |
197 |
|
for i in nxcomp nxcompext nxcompshad nxproxy nx-X11 \ |
198 |
nx-X11/programs/nxauth nx-X11/programs/Xserver/hw/nxagent; do |
nx-X11/programs/nxauth nx-X11/programs/Xserver/hw/nxagent; do |
199 |
for j in CHANGELOG COPYING LICENSE; do |
for j in CHANGELOG COPYING LICENSE; do |
200 |
[ -f $i/$j ] && install -Dpm 0644 $i/$j \ |
[ -f $i/$j ] && install -Dpm 0644 $i/$j \ |
201 |
%{buildroot}%{_defaultdocdir}/%{name}-%{version}/${i##*/}/$j |
%{buildroot}%{_defaultdocdir}/%{name}-%{version}/${i##*/}/$j |
202 |
done |
done |
203 |
done |
done |
|
# save a bit of space |
|
|
%{_sbindir}/hardlink -cv %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
|
|
|
|
|
install -m0644 %{SOURCE11} %{buildroot}%{_defaultdocdir}/%{name}-%{version} |
|
204 |
|
|
205 |
%files -n nxproxy |
%files -n nxproxy |
206 |
%{_bindir}/nxproxy |
%dir %{_pkglibdir} |
207 |
|
%dir %{_defaultdocdir}/%{name}-%{version} |
208 |
%{_pkglibdir}/nxproxy |
%{_pkglibdir}/nxproxy |
209 |
|
%attr(0755,root,root) %{_bindir}/nxproxy |
210 |
|
%{_mandir}/man1/nxproxy* |
211 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nxproxy |
212 |
|
|
213 |
%files -n nxagent |
%files -n nxagent |
214 |
%{_bindir}/nxagent |
%dir %{_pkglibdir} |
215 |
|
%dir %{_defaultdocdir}/%{name}-%{version} |
216 |
%{_pkglibdir}/nxagent |
%{_pkglibdir}/nxagent |
217 |
|
%attr(0755,root,root) %{_bindir}/nxagent |
218 |
|
%{_mandir}/man1/nxagent* |
219 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nxagent |
220 |
|
|
221 |
%files -n %{develname} |
%files -n %{lib_name_nxx11} |
222 |
%{_pkglibdir}/*.so |
%dir %{_pkglibdir} |
223 |
|
%dir %{_defaultdocdir}/%{name}-%{version} |
224 |
|
%{_pkglibdir}/libNX_freetype*.so.* |
225 |
|
%{_pkglibdir}/libNX_X11*.so.* |
226 |
|
%{_pkglibdir}/libNX_Xau*.so.* |
227 |
|
%{_pkglibdir}/libNX_Xcomposite*.so.* |
228 |
|
%{_pkglibdir}/libNX_Xdamage*.so.* |
229 |
|
%{_pkglibdir}/libNX_Xdmcp*.so.* |
230 |
|
%{_pkglibdir}/libNX_Xext*.so.* |
231 |
|
%{_pkglibdir}/libNX_Xfixes*.so.* |
232 |
|
%{_pkglibdir}/libNX_Xinerama*.so.* |
233 |
|
%{_pkglibdir}/libNX_Xpm*.so.* |
234 |
|
%{_pkglibdir}/libNX_Xrandr*.so.* |
235 |
|
%{_pkglibdir}/libNX_Xrender*.so.* |
236 |
|
%{_pkglibdir}/libNX_Xtst*.so.* |
237 |
|
%{_pkglibdir}/nxauth |
238 |
|
%attr(0755,root,root) %{_bindir}/nxauth |
239 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nx-X11 |
240 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nxauth |
241 |
|
|
|
#---------- nxcomp |
|
242 |
%files -n %{lib_name_nxcomp} |
%files -n %{lib_name_nxcomp} |
243 |
|
%dir %{_pkglibdir} |
244 |
|
%dir %{_defaultdocdir}/%{name}-%{version} |
245 |
%{_pkglibdir}/libXcomp.so.* |
%{_pkglibdir}/libXcomp.so.* |
246 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nxcomp |
247 |
|
|
|
#---------- nx-x11 |
|
|
%files -n %{lib_name_nxx11} |
|
|
%{_pkglibdir}/libX11*.so.* |
|
|
%{_pkglibdir}/libXcomposite*.so.* |
|
|
%{_pkglibdir}/libXdamage*.so.* |
|
|
%{_pkglibdir}/libXext*.so.* |
|
|
%{_pkglibdir}/libXfixes*.so.* |
|
|
%{_pkglibdir}/libXpm*.so.* |
|
|
%{_pkglibdir}/libXrandr*.so.* |
|
|
%{_pkglibdir}/libXrender*.so.* |
|
|
%{_pkglibdir}/libXtst*.so.* |
|
|
|
|
|
#-------- lib xcompext |
|
248 |
%files -n %{lib_name_xcompext} |
%files -n %{lib_name_xcompext} |
249 |
|
%dir %{_pkglibdir} |
250 |
|
%dir %{_defaultdocdir}/%{name}-%{version} |
251 |
%{_pkglibdir}/libXcompext.so.* |
%{_pkglibdir}/libXcompext.so.* |
252 |
%{_pkglibdir}/libXcompshad.so.* |
%{_pkglibdir}/libXcompshad.so.* |
253 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nxcompext |
254 |
|
%doc %{_defaultdocdir}/%{name}-%{version}/nxcompshad |
255 |
|
|
256 |
#-------- nxssh |
%files -n x2goagent |
257 |
%files -n nxssh |
%{_bindir}/x2goagent |
258 |
%{_bindir}/nxssh |
%{_mandir}/man1/x2goagent* |
259 |
%{_pkglibdir}/nxssh |
%{_datadir}/pixmaps/x2go.xpm |
|
|
|
|
#-------- docs |
|
|
%files -n nx-doc |
|
|
%{_datadir}/doc/nx-3.5.0 |
|
|
|
|
|
|
|