qmobipocket_kde4_includes_hint.patch

epel9
Rex Dieter 11 years ago
parent 95a80f9c7f
commit da0875cf02

@ -0,0 +1,12 @@
diff -up kdegraphics-mobipocket-4.12.0/QMobipocketConfig.cmake.kde_includes_hint kdegraphics-mobipocket-4.12.0/QMobipocketConfig.cmake
--- kdegraphics-mobipocket-4.12.0/QMobipocketConfig.cmake.kde_includes_hint 2013-11-04 14:42:18.000000000 -0600
+++ kdegraphics-mobipocket-4.12.0/QMobipocketConfig.cmake 2013-12-30 18:35:15.532983870 -0600
@@ -5,7 +5,7 @@ get_filename_component( _currentDir ${_
# find the full paths to the library and the includes:
find_path(QMOBIPOCKET_INCLUDE_DIR qmobipocket/mobipocket.h
- HINTS ${_currentDir}/include
+ HINTS ${_currentDir}/include ${KDE4_INCLUDE_DIR}
NO_DEFAULT_PATH)
find_library(QMOBIPOCKET_LIBRARY qmobipocket

@ -1,7 +1,7 @@
Name: kdegraphics-mobipocket
Summary: A collection of plugins to handle mobipocket files
Version: 4.12.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
URL: https://projects.kde.org/projects/kde/kdegraphics/mobipocket
@ -13,6 +13,9 @@ URL: https://projects.kde.org/projects/kde/kdegraphics/mobipocket
%endif
Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz
## upstreamable patches
Patch50: kdegraphics-mobipocket-4.12.0-qmobipocket_kde4_includes_hint.patch
BuildRequires: desktop-file-utils
BuildRequires: kdelibs4-devel >= %{version}
BuildRequires: pkgconfig(libstreams)
@ -46,6 +49,8 @@ Requires: qmobipocket%{?_isa} = %{version}-%{release}
%prep
%setup -q
%patch50 -p1 -b .qmobipocket_kde4_includes_hint
%build
mkdir -p %{_target_platform}
@ -80,6 +85,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Mon Dec 30 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.12.0-2
- qmobipocket_kde4_includes_hint.patch
* Wed Dec 18 2013 Rex Dieter <rdieter@fedoraproject.org> - 4.12.0-1
- 4.12.0

Loading…
Cancel
Save