From: shadzik Date: Fri, 20 Jun 2008 19:14:04 +0000 (+0000) Subject: - fix 64bit build X-Git-Tag: auto/th/ebook-tools-0_1_1-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Febook-tools.git;a=commitdiff_plain;h=67bc8a058a80cf5d2eeaf916e0d0003357cfd88d - fix 64bit build - add patch0 Changed files: ebook-tools.spec -> 1.8 --- diff --git a/ebook-tools.spec b/ebook-tools.spec index 2cfe9bd..90884f3 100644 --- a/ebook-tools.spec +++ b/ebook-tools.spec @@ -7,6 +7,7 @@ License: GPL v3 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 @@ -35,12 +36,16 @@ Pakiet ten zawiera pliki nagłówkowe do ebook-tools. %prep %setup -q +%patch0 -p0 %build install -d build cd build %cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%if "%{_lib}" == "lib64" + -DLIB_SUFFIX=64 \ +%endif ../ %{__make}