libvncserver/libvncserver.spec

125 lines
3.7 KiB
RPMSpec

Name: libvncserver
Version: 0.9.15
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
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/libvncserver/
Source: https://github.com/LibVNC/libvncserver.git/LibVNCServer-%{version}/libvncserver-%{version}.tar.bz2
Patch0: %{name}-0.9.1-backport-x11vnc0.9.5.patch
Patch1: libvncserver-0.9.10-gcc-6.1.0-rfbmax.patch
Patch2: libvncserver-0.9.10-libva-1.7.1.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
BuildRequires: libjpeg-turbo
BuildRequires: liblzo-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: libsasl2-devel
BuildRequires: libsystemd-devel
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.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
#%patch1 -p1
#%patch2 -p1
%ifarch x86_64
sed -i "s|/lib |/%{_lib} |" CMakeLists.txt
sed -i "s|/lib/|/%{_lib}/|" CMakeLists.txt
%endif
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
#%{_bindir}/linuxvnc
%{_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
%dir %{_libdir}/cmake/LibVNCServer
%{_libdir}/cmake/LibVNCServer/LibVNCServer*.cmake
%doc ChangeLog
%changelog
* Sun Dec 22 2024 Automatic Build System <autodist@openmamba.org> 0.9.15-1mamba
- automatic version update by autodist
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 0.9.14-1mamba
- automatic version update by autodist
* Mon Jun 15 2020 Automatic Build System <autodist@mambasoft.it> 0.9.13-1mamba
- automatic version update by autodist
* Sun May 26 2019 Automatic Build System <autodist@mambasoft.it> 0.9.12-1mamba
- automatic version update by autodist
* Tue Mar 14 2017 Automatic Build System <autodist@mambasoft.it> 0.9.11-1mamba
- automatic version update by autodist
* Wed Jun 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10-1mamba
- update to 0.9.10
* 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