2024-01-06 06:04:41 +01:00
|
|
|
Name: libvncserver
|
2024-01-06 06:04:42 +01:00
|
|
|
Version: 0.9.14
|
2024-01-06 06:04:41 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: LibVNCServer is ripped out of Xvnc to provide an easy API to write one's own vnc server
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 06:04:42 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://sourceforge.net/projects/libvncserver/
|
2024-01-06 06:04:42 +01:00
|
|
|
Source: https://github.com/LibVNC/libvncserver.git/LibVNCServer-%{version}/libvncserver-%{version}.tar.bz2
|
2024-01-06 06:04:41 +01:00
|
|
|
Patch0: %{name}-0.9.1-backport-x11vnc0.9.5.patch
|
2024-01-06 06:04:42 +01:00
|
|
|
Patch1: libvncserver-0.9.10-gcc-6.1.0-rfbmax.patch
|
|
|
|
Patch2: libvncserver-0.9.10-libva-1.7.1.patch
|
2024-01-06 06:04:41 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 06:04:42 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgnutls-devel
|
2024-01-06 06:04:41 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-06 06:04:42 +01:00
|
|
|
BuildRequires: liblzo-devel
|
2024-01-06 06:04:42 +01:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 06:04:42 +01:00
|
|
|
BuildRequires: libsasl2-devel
|
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-06 06:04:41 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
BuildRequires: libdirectfb-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
LibVNCServer is ripped out of Xvnc to provide an easy API to write one's own vnc server.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
LibVNCServer is ripped out of Xvnc to provide an easy API to write one's own vnc server.
|
2024-01-06 06:04:42 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 06:04:41 +01:00
|
|
|
|
2024-01-06 06:04:42 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 06:04:41 +01:00
|
|
|
%prep
|
2024-01-06 06:04:42 +01:00
|
|
|
%setup -q
|
2024-01-06 06:04:42 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
2024-01-06 06:04:42 +01:00
|
|
|
%ifarch x86_64
|
|
|
|
sed -i "s|/lib |/%{_lib} |" CMakeLists.txt
|
|
|
|
sed -i "s|/lib/|/%{_lib}/|" CMakeLists.txt
|
|
|
|
%endif
|
2024-01-06 06:04:41 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 06:04:42 +01:00
|
|
|
%cmake -d build
|
|
|
|
|
2024-01-06 06:04:41 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 06:04:42 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 06:04:41 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 06:04:42 +01:00
|
|
|
#%{_bindir}/linuxvnc
|
2024-01-06 06:04:41 +01:00
|
|
|
%{_libdir}/libvncclient.so.*
|
|
|
|
%{_libdir}/libvncserver.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/rfb
|
|
|
|
%{_includedir}/rfb/*.h
|
|
|
|
%{_libdir}/libvncclient.so
|
|
|
|
%{_libdir}/libvncserver.so
|
|
|
|
%{_libdir}/pkgconfig/libvncclient.pc
|
|
|
|
%{_libdir}/pkgconfig/libvncserver.pc
|
2024-01-06 06:04:42 +01:00
|
|
|
%dir %{_libdir}/cmake/LibVNCServer
|
|
|
|
%{_libdir}/cmake/LibVNCServer/LibVNCServer*.cmake
|
2024-01-06 06:04:42 +01:00
|
|
|
%doc ChangeLog
|
2024-01-06 06:04:41 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:04:42 +01:00
|
|
|
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 0.9.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:04:42 +01:00
|
|
|
* Mon Jun 15 2020 Automatic Build System <autodist@mambasoft.it> 0.9.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:04:42 +01:00
|
|
|
* Sun May 26 2019 Automatic Build System <autodist@mambasoft.it> 0.9.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:04:42 +01:00
|
|
|
* Tue Mar 14 2017 Automatic Build System <autodist@mambasoft.it> 0.9.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:04:42 +01:00
|
|
|
* Wed Jun 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10-1mamba
|
|
|
|
- update to 0.9.10
|
|
|
|
|
2024-01-06 06:04:41 +01:00
|
|
|
* Tue Aug 14 2012 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 02 2011 Automatic Build System <autodist@mambasoft.it> 0.9.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-3mamba
|
|
|
|
- rebuilt with libjpeg 8
|
|
|
|
|
|
|
|
* Sat Sep 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-2mamba
|
|
|
|
- rebuilt against libjpeg 7
|
|
|
|
|
|
|
|
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
|
|
|
|
- added patch to backport changes from x11vnc 0.9.5
|
|
|
|
|
|
|
|
* Mon May 12 2008 Aleph0 <aleph0@openmamba.org> 0.9.1-1mamba
|
|
|
|
- package created by autospec
|