added nxproxy and x2goagent packages; fix ldconfig problems [release 3.5.0.13-2mamba;Thu Mar 24 2016]
This commit is contained in:
parent
b2acb15bcb
commit
19f3550d59
53
nx-libs.spec
53
nx-libs.spec
@ -1,6 +1,7 @@
|
|||||||
|
%define sover %(echo %version | cut -d. -f1-3)
|
||||||
Name: nx-libs
|
Name: nx-libs
|
||||||
Version: 3.5.0.13
|
Version: 3.5.0.13
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: NX X11 protocol compression libraries redistributed by X2Go dev team
|
Summary: NX X11 protocol compression libraries redistributed by X2Go dev team
|
||||||
Group: System/X11
|
Group: System/X11
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -21,12 +22,30 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
NX X11 protocol compression libraries redistributed by X2Go dev team.
|
NX X11 protocol compression libraries redistributed by X2Go dev team.
|
||||||
|
|
||||||
|
%package -n nxproxy
|
||||||
|
Group: System/Tools
|
||||||
|
Summary: X2GO Client proxy component
|
||||||
|
Requires: libnx = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n nxproxy
|
||||||
|
X2GO Client proxy component.
|
||||||
|
|
||||||
|
%package -n x2goagent
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: X2GO Server Agent component
|
||||||
|
Requires: libnx = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: nx-libs
|
||||||
|
Obsoletes: nx-libs
|
||||||
|
|
||||||
|
%description -n x2goagent
|
||||||
|
X2GO Server Agent component.
|
||||||
|
|
||||||
%package -n libnx
|
%package -n libnx
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Shared libraries for %{name}
|
Summary: NX X11 protocol compression libraries redistributed by X2Go dev team.
|
||||||
|
|
||||||
%description -n libnx
|
%description -n libnx
|
||||||
This package contains shared libraries for %{name}.
|
NX X11 protocol compression libraries redistributed by X2Go dev team.
|
||||||
|
|
||||||
%package -n libnx-devel
|
%package -n libnx-devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -109,6 +128,10 @@ _EOF
|
|||||||
# Fix permissions on shared libraries
|
# Fix permissions on shared libraries
|
||||||
chmod 755 %{buildroot}%{_libdir}/lib*.so*
|
chmod 755 %{buildroot}%{_libdir}/lib*.so*
|
||||||
|
|
||||||
|
# Fix '/usr/lib64/nx/libXcompext.so.3 is not a symbolic link'
|
||||||
|
rm -f %{buildroot}%{_libdir}/nx/libXcompext.so.3
|
||||||
|
ln -s libXcompext.so.%{sover} %{buildroot}%{_libdir}/nx/libXcompext.so.3
|
||||||
|
|
||||||
# Needed for Xinerama support
|
# Needed for Xinerama support
|
||||||
install -d -m0755 %{buildroot}%{_libdir}/nx/X11/Xinerama/
|
install -d -m0755 %{buildroot}%{_libdir}/nx/X11/Xinerama/
|
||||||
ln -s -f ../../../../%{_lib}/libX11.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
|
ln -s -f ../../../../%{_lib}/libX11.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_X11.so.6
|
||||||
@ -120,10 +143,20 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%post -n libnx -p /sbin/ldconfig
|
%post -n libnx
|
||||||
%postun -n libnx -p /sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
:
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%postun -n libnx
|
||||||
|
/sbin/ldconfig
|
||||||
|
:
|
||||||
|
|
||||||
|
%files -n nxproxy
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/nxproxy
|
||||||
|
%{_mandir}/man1/nxproxy.1*
|
||||||
|
|
||||||
|
%files -n x2goagent
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/x2goagent
|
%{_bindir}/x2goagent
|
||||||
#%{_sysconfdir}/X11/xkb/compiled
|
#%{_sysconfdir}/X11/xkb/compiled
|
||||||
@ -134,11 +167,8 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X
|
|||||||
%{_prefix}/lib/NX3/bin/*
|
%{_prefix}/lib/NX3/bin/*
|
||||||
%dir %{_prefix}/lib/NX3/lib
|
%dir %{_prefix}/lib/NX3/lib
|
||||||
%{_prefix}/lib/NX3/lib/*
|
%{_prefix}/lib/NX3/lib/*
|
||||||
%dir %{_prefix}/lib/NX3/include
|
|
||||||
%{_bindir}/nxproxy
|
|
||||||
%{_mandir}/man1/nxproxy.1*
|
|
||||||
|
|
||||||
%files -n libnx
|
%files -n libnx -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
%{_sysconfdir}/ld.so.conf.d/%{name}.conf
|
||||||
%{_libdir}/libNX_FS.so.*
|
%{_libdir}/libNX_FS.so.*
|
||||||
@ -226,5 +256,8 @@ ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/X
|
|||||||
%{_libdir}/pkgconfig/xrender.pc
|
%{_libdir}/pkgconfig/xrender.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0.13-2mamba
|
||||||
|
- added nxproxy and x2goagent packages; fix ldconfig problems
|
||||||
|
|
||||||
* Thu Nov 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0.13-1mamba
|
* Thu Nov 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0.13-1mamba
|
||||||
- package created using the webbuild interface
|
- package created using the webbuild interface
|
||||||
|
Loading…
Reference in New Issue
Block a user