]> git.pld-linux.org Git - packages/ebook-tools.git/blobdiff - ebook-tools.spec
- fix 64bit build
[packages/ebook-tools.git] / ebook-tools.spec
index 2cfe9bdc948c52846cffa1bb260e592042d82a1e..90884f3041752f8bcfde88606bee111a3e3199dc 100644 (file)
@@ -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}
 
This page took 0.057095 seconds and 4 git commands to generate.