automatic version update by autodist [release 3.5.99.27-1mamba;Fri Sep 15 2023]
This commit is contained in:
parent
184d571748
commit
766117b301
39
nx-libs.spec
39
nx-libs.spec
@ -1,6 +1,6 @@
|
||||
%define sover %(echo %version | cut -d. -f1-3)
|
||||
Name: nx-libs
|
||||
Version: 3.5.99.26
|
||||
Version: 3.5.99.27
|
||||
Release: 1mamba
|
||||
Summary: NX X11 protocol compression libraries redistributed by X2Go dev team
|
||||
Group: System/X11
|
||||
@ -14,32 +14,27 @@ License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libXcomposite-devel
|
||||
BuildRequires: libXdamage-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: libXfont2-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpixman-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: libnx = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
NX X11 protocol compression libraries redistributed by X2Go dev team.
|
||||
@ -94,7 +89,7 @@ This package contains libraries and header files for developing applications tha
|
||||
%setup -q
|
||||
#-D -T
|
||||
#:<< _EOF
|
||||
%patch0 -p1
|
||||
#%patch 0 -p1
|
||||
|
||||
# Fix FSF address
|
||||
find -name LICENSE | xargs sed -i \
|
||||
@ -163,30 +158,6 @@ sed -i "s|env python$|env python3|" %{buildroot}%{_bindir}/nxdialog
|
||||
|
||||
ln -s nxagent %{buildroot}%{_bindir}/x2goagent
|
||||
|
||||
:<< _OLD
|
||||
## 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
|
||||
ln -s ../lib/NX3/bin/nxagent %{buildroot}%{_bindir}/x2goagent
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf << _EOF
|
||||
%{_libdir}/nx
|
||||
_EOF
|
||||
|
||||
# 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
|
||||
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}/libXext.so.6 %{buildroot}%{_libdir}/nx/X11/Xinerama/libNX_Xext.so.6
|
||||
ln -s -f ../../../../%{_lib}/libNX_Xinerama.so.1 %{buildroot}%{_libdir}/nx/X11/Xinerama/libXinerama.so.1
|
||||
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
_OLD
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -240,16 +211,16 @@ _OLD
|
||||
%dir %{_includedir}/nx-X11/extensions
|
||||
%{_includedir}/nx-X11/extensions/*.h
|
||||
%{_libdir}/libNX_*.so
|
||||
%{_libdir}/libNX_X11.la
|
||||
%{_libdir}/libXcomp.la
|
||||
%{_libdir}/libXcomp.so
|
||||
%{_libdir}/libXcompshad.la
|
||||
%{_libdir}/libXcompshad.so
|
||||
%{_libdir}/pkgconfig/nx-x11.pc
|
||||
%{_libdir}/pkgconfig/nxcomp.pc
|
||||
%{_libdir}/pkgconfig/nxcompshad.pc
|
||||
|
||||
%changelog
|
||||
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 3.5.99.27-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Apr 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.99.26-1mamba
|
||||
- update to 3.5.99.26
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user