SPECS: ebook-tools.spec - fix 64bit build - add patch0

shadzik shadzik at pld-linux.org
Fri Jun 20 21:14:09 CEST 2008


Author: shadzik                      Date: Fri Jun 20 19:14:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix 64bit build
- add patch0

---- Files affected:
SPECS:
   ebook-tools.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/ebook-tools.spec
diff -u SPECS/ebook-tools.spec:1.7 SPECS/ebook-tools.spec:1.8
--- SPECS/ebook-tools.spec:1.7	Fri Jun 20 21:04:59 2008
+++ SPECS/ebook-tools.spec	Fri Jun 20 21:14:04 2008
@@ -8,6 +8,7 @@
 Group:		X11/Libraries
 Source0:	http://dl.sourceforge.net/ebook-tools/%{name}-%{version}.tar.gz
 # Source0-md5:	15946af6f946eabe8247cdef9ada2b88
+Patch0:		%{name}-lib64.patch
 URL:		http://sourceforge.net/projects/ebook-tools
 BuildRequires:	cmake
 BuildRequires:	libzip-devel
@@ -36,12 +37,16 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 install -d build
 cd build
 %cmake \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
 	../
 %{__make}
 
@@ -73,6 +78,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2008/06/20 19:14:04  shadzik
+- fix 64bit build
+- add patch0
+
 Revision 1.7  2008/06/20 19:04:59  shadzik
 - BR: libzip-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ebook-tools.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list