SPECS: gocr.spec - lib64 build fix; rel 2

glen glen at pld-linux.org
Tue Jan 9 15:15:45 CET 2007


Author: glen                         Date: Tue Jan  9 14:15:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lib64 build fix; rel 2

---- Files affected:
SPECS:
   gocr.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: SPECS/gocr.spec
diff -u SPECS/gocr.spec:1.39 SPECS/gocr.spec:1.40
--- SPECS/gocr.spec:1.39	Tue Dec 19 22:44:59 2006
+++ SPECS/gocr.spec	Tue Jan  9 15:15:40 2007
@@ -3,7 +3,7 @@
 Summary(pl):	Program GNU do OCR
 Name:		gocr
 Version:	0.43
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/Graphics
 Source0:	http://dl.sourceforge.net/jocr/%{name}-%{version}.tar.gz
@@ -11,6 +11,7 @@
 Source1:	%{name}.desktop
 Source2:	%{name}.png
 Patch0:		%{name}-link.patch
+Patch1:		%{name}-lib64.patch
 URL:		http://jocr.sourceforge.net/
 BuildRequires:	autoconf >= 2.13
 BuildRequires:	automake
@@ -63,12 +64,16 @@
 %prep
 %setup -q
 %patch0 -p1
+%if "%{_lib}" != "lib"
+%patch1 -p1
+%endif
 
 %build
 %{__aclocal}
 cp -f /usr/share/automake/config.* .
 %{__autoconf}
-%configure
+%configure \
+	--with-netpbm=/usr
 %{__make}
 
 # ok its ugly..but works
@@ -129,6 +134,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2007/01/09 14:15:40  glen
+- lib64 build fix; rel 2
+
 Revision 1.39  2006/12/19 21:44:59  qboosh
 - check-files cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gocr.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list