This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libvncserver0/libvncserver0.spec

127 lines
3.7 KiB
RPMSpec

Name: libvncserver0
Version: 0.9.10
Release: 2mamba
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: Aleph0 <aleph0@openmamba.org>
URL: http://sourceforge.net/projects/libvncserver/
Source: https://github.com/LibVNC/libvncserver.git/LibVNCServer-%{version}/libvncserver-%{version}.tar.bz2
Patch0: libvncserver-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: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libbsd-devel
BuildRequires: libdrm-devel
BuildRequires: libffi-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgmp-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libidn-devel
BuildRequires: libjpeg-devel
BuildRequires: libnettle-devel
BuildRequires: libopenssl-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpng-devel
BuildRequires: libtasn1-devel
BuildRequires: libva-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
%if "%{stage1}" != "1"
BuildRequires: libdirectfb-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 need for development.
%prep
%setup -q -n libvncserver-%{version}
%patch1 -p1
%patch2 -p1
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
#%{_bindir}/linuxvnc
%{_libdir}/libvncclient.so.*
%{_libdir}/libvncserver.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/libvncserver-config
%dir %{_includedir}/rfb
%{_includedir}/rfb/*.h
%{_libdir}/libvncclient.a
%{_libdir}/libvncclient.la
%{_libdir}/libvncclient.so
%{_libdir}/libvncserver.a
%{_libdir}/libvncserver.la
%{_libdir}/libvncserver.so
%{_libdir}/pkgconfig/libvncclient.pc
%{_libdir}/pkgconfig/libvncserver.pc
#%doc examples/*.c
%doc ChangeLog NEWS README TODO
%changelog
* Mon Jun 19 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.10-2mamba
- legacy package
* 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