From 257c22b779795c3d7d69ef359d65cc866719ad32 Mon Sep 17 00:00:00 2001 From: Manuel Wolfshant Date: Apr 14 2008 20:40:24 +0000 Subject: do not use bundled copy of minilzo --- diff --git a/.cvsignore b/.cvsignore index 427fb29..f5ae850 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ LibVNCServer-0.9.1.tar.gz +libvnc-minilzo.patch diff --git a/libvncserver.spec b/libvncserver.spec index 2c02fad..d429873 100644 --- a/libvncserver.spec +++ b/libvncserver.spec @@ -4,12 +4,13 @@ Summary: Library to make writing a vnc server easy Name: libvncserver Version: 0.9.1 -Release: 2%{?dist} +Release: 3%{?dist} # NOTE: --with-tightvnc-filetransfer => GPLv2 License: GPLv2+ Group: System Environment/Libraries URL: http://libvncserver.sourceforge.net/ Source0: http://downloads.sf.net/libvncserver/LibVNCServer-%{version}.tar.gz +Patch0: libvnc-minilzo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # FIXME/TODO @@ -26,6 +27,7 @@ BuildRequires: findutils BuildRequires: libjpeg-devel #BuildRequires: libICE-devel libXdamage-devel libXfixes-devel libXinerama-devel libXrandr-devel BuildRequires: zlib-devel +BuildRequires: lzo-minilzo lzo-devel %description LibVNCServer makes writing a VNC server (or more correctly, a program @@ -49,6 +51,9 @@ Provides: LibVNCServer-devel = %{version}-%{release} %prep %setup -q -n LibVNCServer-%{version} +#nuke bundled minilzo +%patch0 -p1 +find . -name minilzo\* -exec rm -f {} \; #patch1 -p1 -b .pkgconfig #aclocal @@ -70,11 +75,10 @@ find -name "*.c" -o -name "*.h" | xargs chmod 644 %configure \ --disable-static \ --without-tightvnc-filetransfer - # hack to omit unused-direct-shlib-dependencies sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -make %{?_smp_mflags} +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I %{_includedir}/lzo" LDFLAGS="$LDFLAGS -lminilzo" %install @@ -110,6 +114,9 @@ rm -rf %{buildroot} %changelog +* Thu Apr 10 2008 Manuel Wolfshant 0.9.1-3 +- do not use bundled copy of minilzo + * Sun Jan 27 2008 Rex Dieter 0.9.1-2 - hack libtool to omit unused shlib dependencies - fix AUTHORS encoding diff --git a/sources b/sources index aa400e7..5824292 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ aa00efc3dabde82fde9509bfbab0aba4 LibVNCServer-0.9.1.tar.gz +0e0db2560a08d993306442294121c3b7 libvnc-minilzo.patch