]> git.pld-linux.org Git - packages/hplip.git/blobdiff - hplip.spec
- fix unresolved symbols bug
[packages/hplip.git] / hplip.spec
index e0717a66bb63f65233bf45e49e60210adfe4b839..da3dc979c5909114bf6a17c375cee1bbf16c99be 100644 (file)
@@ -8,6 +8,7 @@ Group:          Applications/System
 Source0:       http://dl.sourceforge.net/hplip/%{name}-%{version}.tar.gz
 # Source0-md5: 609718830a26874fc0ea84a47b8132f3
 Patch0:                %{name}-desktop.patch
+Patch1:                unresolved.patch
 URL:           http://hplipopensource.com/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -139,12 +140,16 @@ HAL device information for HPLIP supported devices
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %{__sed} -i -e's,^#!/usr/bin/env python$,#!/usr/bin/python,' *.py
-%{__sed} -i -e 's#test -d /usr/share/polkit-1#true#' configure
 
 %build
-install /usr/share/automake/config.* .
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 install /usr/share/automake/config.* prnt
+%{__sed} -i -e 's#test -d /usr/share/polkit-1#true#' configure
 CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti"
 %configure \
        --enable-hpcups-install \
This page took 0.089763 seconds and 4 git commands to generate.