|
|
@ -1,18 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 5
|
|
|
|
|
|
|
|
%define system_minilzo 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Library to make writing a vnc server easy
|
|
|
|
Summary: Library to make writing a vnc server easy
|
|
|
|
Name: libvncserver
|
|
|
|
Name: libvncserver
|
|
|
|
Version: 0.9.9
|
|
|
|
Version: 0.9.9
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
# NOTE: --with-tightvnc-filetransfer => GPLv2
|
|
|
|
# NOTE: --with-tightvnc-filetransfer => GPLv2
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
URL: http://libvncserver.sourceforge.net/
|
|
|
|
URL: http://libvncserver.sourceforge.net/
|
|
|
|
Source0: http://downloads.sf.net/libvncserver/LibVNCServer-%{version}.tar.gz
|
|
|
|
Source0: http://downloads.sf.net/libvncserver/LibVNCServer-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# workaround there being no x11vnc/ dir in tarball
|
|
|
|
# workaround there being no x11vnc/ dir in tarball
|
|
|
|
Patch0: LibVNCServer-0.9.9-no_x11vnc.patch
|
|
|
|
Patch0: LibVNCServer-0.9.9-no_x11vnc.patch
|
|
|
@ -28,9 +23,16 @@ Provides: LibVNCServer = %{version}-%{release}
|
|
|
|
BuildRequires: automake autoconf
|
|
|
|
BuildRequires: automake autoconf
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
%{?system_minilzo:BuildRequires: lzo-minilzo lzo-devel}
|
|
|
|
BuildRequires: lzo-minilzo lzo-devel
|
|
|
|
BuildRequires: pkgconfig(gnutls)
|
|
|
|
BuildRequires: pkgconfig(gnutls)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libcrypto) pkgconfig(libssl)
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
BuildRequires: pkgconfig(libpng)
|
|
|
|
|
|
|
|
# Additional deps for --with-x11vnc, see https://bugzilla.redhat.com/show_bug.cgi?id=864947
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(avahi-client)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(ice) pkgconfig(x11) pkgconfig(xdamage)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(xext) pkgconfig(xfixes) pkgconfig(xi)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(xinerama) pkgconfig(xrandr) pkgconfig(xtst)
|
|
|
|
|
|
|
|
|
|
|
|
# for %%check
|
|
|
|
# for %%check
|
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
BuildRequires: xorg-x11-server-Xvfb
|
|
|
|
BuildRequires: xorg-x11-xauth
|
|
|
|
BuildRequires: xorg-x11-xauth
|
|
|
@ -45,7 +47,6 @@ compression schemata.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
# libvncserver-config deps
|
|
|
|
# libvncserver-config deps
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: coreutils
|
|
|
@ -60,11 +61,9 @@ Provides: LibVNCServer-devel = %{version}-%{release}
|
|
|
|
%setup -q -n LibVNCServer-%{version}
|
|
|
|
%setup -q -n LibVNCServer-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .no_x11vnc
|
|
|
|
%patch0 -p1 -b .no_x11vnc
|
|
|
|
%if 0%{?system_minilzo}
|
|
|
|
|
|
|
|
%patch1 -p1 -b .system_minilzo
|
|
|
|
%patch1 -p1 -b .system_minilzo
|
|
|
|
#nuke bundled minilzo
|
|
|
|
#nuke bundled minilzo
|
|
|
|
rm -f common/lzodefs.h common/lzoconf.h commmon/minilzo.h common/minilzo.c
|
|
|
|
rm -f common/lzodefs.h common/lzoconf.h commmon/minilzo.h common/minilzo.c
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%patch2 -p1 -b .multilib
|
|
|
|
%patch2 -p1 -b .multilib
|
|
|
|
%patch3 -p1 -b .pkgconfig
|
|
|
|
%patch3 -p1 -b .pkgconfig
|
|
|
|
|
|
|
|
|
|
|
@ -81,20 +80,20 @@ autoreconf
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static \
|
|
|
|
--without-tightvnc-filetransfer \
|
|
|
|
--without-tightvnc-filetransfer \
|
|
|
|
--with-gcrypt \
|
|
|
|
--with-gcrypt \
|
|
|
|
--with-png
|
|
|
|
--with-png \
|
|
|
|
|
|
|
|
--with-x11vnc
|
|
|
|
|
|
|
|
|
|
|
|
# hack to omit unused-direct-shlib-dependencies
|
|
|
|
# hack to omit unused-direct-shlib-dependencies
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|
|
|
|
|
|
|
|
|
|
|
make V=1 %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
# unpackaged files
|
|
|
|
# unpackaged files
|
|
|
@ -111,21 +110,15 @@ unset DISPLAY
|
|
|
|
xvfb-run -a make -C test test ||:
|
|
|
|
xvfb-run -a make -C test test ||:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
|
|
%{_libdir}/libvncclient.so.0*
|
|
|
|
%{_libdir}/libvncclient.so.0*
|
|
|
|
%{_libdir}/libvncserver.so.0*
|
|
|
|
%{_libdir}/libvncserver.so.0*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_bindir}/libvncserver-config
|
|
|
|
%{_bindir}/libvncserver-config
|
|
|
|
%{_includedir}/rfb/
|
|
|
|
%{_includedir}/rfb/
|
|
|
|
%{_libdir}/libvncclient.so
|
|
|
|
%{_libdir}/libvncclient.so
|
|
|
@ -135,6 +128,11 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Dec 21 2013 Rex Dieter <rdieter@fedoraproject.org> - 0.9.9-10
|
|
|
|
|
|
|
|
- include additional dependencies for x11vnc (#864947)
|
|
|
|
|
|
|
|
- %%build: --disable-silent-rules
|
|
|
|
|
|
|
|
- cleanup spec, drop support for old rpm (el5)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-9
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|