diff --git a/krename-4.0.9-cmake.patch b/krename-4.0.9-cmake.patch new file mode 100644 index 0000000..d3c9237 --- /dev/null +++ b/krename-4.0.9-cmake.patch @@ -0,0 +1,8 @@ +--- krename-4.0.9/CMakeLists.txt.orig 2015-11-14 11:10:27.034746518 +0100 ++++ krename-4.0.9/CMakeLists.txt 2015-11-14 11:09:52.558020277 +0100 +@@ -1,4 +1,5 @@ + project(krename) ++cmake_minimum_required(VERSION 3.1) + + + # search packages used by KDE diff --git a/krename-4.0.9-libpodofo-0.9.3.patch b/krename-4.0.9-libpodofo-0.9.3.patch new file mode 100644 index 0000000..c497247 --- /dev/null +++ b/krename-4.0.9-libpodofo-0.9.3.patch @@ -0,0 +1,11 @@ +--- krename-4.0.9/cmake/modules/FindLIBPODOFO.cmake.orig 2015-11-14 11:13:31.410280416 +0100 ++++ krename-4.0.9/cmake/modules/FindLIBPODOFO.cmake 2015-11-14 11:12:53.859579262 +0100 +@@ -23,7 +23,7 @@ + ENDIF(LIBPODOFO_H) + + FIND_LIBRARY(LIBPODOFO_LIB +- NAMES libpodofo-doc podofo-doc ++ NAMES libpodofo podofo + PATHS "${LIBPODOFO_DIR}/lib" "${LIBPODOFO_DIR}/src" "${LIBPODOFO_DIR}") + IF(LIBPODOFO_LIB) + MESSAGE("podofo lib: ${LIBPODOFO_LIB}") diff --git a/krename.spec b/krename.spec index 936106e..19d850e 100644 --- a/krename.spec +++ b/krename.spec @@ -1,6 +1,6 @@ Name: krename Version: 4.0.9 -Release: 3mamba +Release: 4mamba Summary: krename offers an easy way to rename hundreds of files in one go Group: Graphical Desktop/Applications/Utilities Vendor: openmamba @@ -9,6 +9,8 @@ Packager: Silvan Calarco URL: http://www.krename.net/ Source: http://downloads.sourceforge.net/sourceforge/krename/%{name}-%{version}.tar.bz2 Patch0: krename-4.0.9-libfreetype-2.4.11.patch +Patch1: krename-4.0.9-cmake.patch +Patch2: krename-4.0.9-libpodofo-0.9.3.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -43,6 +45,7 @@ BuildRequires: libXrender-devel BuildRequires: libXt-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END +BuildRequires: libtag-devel >= 1.9 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -53,6 +56,8 @@ Krename integrates into the Konqueror or Krusader filemanager. %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build %cmake_kde4 -d build @@ -79,6 +84,9 @@ Krename integrates into the Konqueror or Krusader filemanager. %doc AUTHORS COPYING README TODO %changelog +* Sat Nov 14 2015 Silvan Calarco 4.0.9-4mamba +- rebuilt with libtag 1.9.1 + * Sat Nov 10 2012 Silvan Calarco 4.0.9-3mamba - rebuilt with libkexiv2 4.9.3