disable mobi strigi analyzer (f25+)

epel9
Rex Dieter 9 years ago
parent 15b8769393
commit 6f93e5facf

2
.gitignore vendored

@ -1,3 +1 @@
/kdegraphics-mobipocket-15.12.3.tar.xz
/kdegraphics-mobipocket-16.03.80.tar.xz
/kdegraphics-mobipocket-16.04.0.tar.xz

@ -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 <rdieter@fedoraproject.org> - 16.04.0-3
- disable mobi strigi analyzer (f25+)
* Wed Apr 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.0-2
- rebuild (qt)

Loading…
Cancel
Save