96 lines
2.7 KiB
RPMSpec
96 lines
2.7 KiB
RPMSpec
|
Name: libvncserver
|
||
|
Version: 0.9.9
|
||
|
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: Aleph0 <aleph0@openmamba.org>
|
||
|
URL: http://sourceforge.net/projects/libvncserver/
|
||
|
Source: http://downloads.sourceforge.net/libvncserver/LibVNCServer-%{version}.tar.gz
|
||
|
Patch0: %{name}-0.9.1-backport-x11vnc0.9.5.patch
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libjpeg-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 -n LibVNCServer-%{version} -q
|
||
|
|
||
|
%build
|
||
|
%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
|
||
|
* 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
|