diff --git a/.gitignore b/.gitignore index fc1ebbb..9fe1f44 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -/kdegraphics-mobipocket-15.12.3.tar.xz -/kdegraphics-mobipocket-16.03.80.tar.xz /kdegraphics-mobipocket-16.04.0.tar.xz diff --git a/kdegraphics-mobipocket.spec b/kdegraphics-mobipocket.spec index 9880019..2da61c4 100644 --- a/kdegraphics-mobipocket.spec +++ b/kdegraphics-mobipocket.spec @@ -1,7 +1,12 @@ + +%if 0%{?fedora} < 25 +%global strigi 1 +%endif + Name: kdegraphics-mobipocket Summary: A collection of plugins to handle mobipocket files Version: 16.04.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://quickgit.kde.org/?p=%{name}.git @@ -18,7 +23,9 @@ Patch50: kdegraphics-mobipocket-4.12.0-qmobipocket_kde4_includes_hint.patch BuildRequires: desktop-file-utils BuildRequires: kdelibs4-devel >= 4.14 +%if 0%{?strigi} BuildRequires: pkgconfig(libstreams) +%endif Requires: qmobipocket%{?_isa} = %{version}-%{release} @@ -54,7 +61,8 @@ Requires: qmobipocket%{?_isa} = %{version}-%{release} %build mkdir %{_target_platform} pushd %{_target_platform} -%{cmake_kde4} .. +%{cmake_kde4} .. \ + %{!?strigi:-DBUILD_strigi:BOOL=OFF} popd make %{?_smp_mflags} -C %{_target_platform} @@ -67,8 +75,10 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files %license COPYING %{_kde4_libdir}/kde4/mobithumbnail.so -%{_kde4_libdir}/strigi/strigila_mobi.so %{_kde4_datadir}/kde4/services/mobithumbnail.desktop +%if 0%{?strigi} +%{_kde4_libdir}/strigi/strigila_mobi.so +%endif %post -n qmobipocket -p /sbin/ldconfig %postun -n qmobipocket -p /sbin/ldconfig @@ -85,6 +95,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Fri May 06 2016 Rex Dieter - 16.04.0-3 +- disable mobi strigi analyzer (f25+) + * Wed Apr 20 2016 Rex Dieter - 16.04.0-2 - rebuild (qt)