|
|
@ -1,7 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 25
|
|
|
|
|
|
|
|
%global strigi 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: kdegraphics-mobipocket
|
|
|
|
Name: kdegraphics-mobipocket
|
|
|
|
Summary: A collection of plugins to handle mobipocket files
|
|
|
|
Summary: A collection of plugins to handle mobipocket files
|
|
|
|
Version: 16.04.0
|
|
|
|
Version: 16.04.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://quickgit.kde.org/?p=%{name}.git
|
|
|
|
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: desktop-file-utils
|
|
|
|
BuildRequires: kdelibs4-devel >= 4.14
|
|
|
|
BuildRequires: kdelibs4-devel >= 4.14
|
|
|
|
|
|
|
|
%if 0%{?strigi}
|
|
|
|
BuildRequires: pkgconfig(libstreams)
|
|
|
|
BuildRequires: pkgconfig(libstreams)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Requires: qmobipocket%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: qmobipocket%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -54,7 +61,8 @@ Requires: qmobipocket%{?_isa} = %{version}-%{release}
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kde4} ..
|
|
|
|
%{cmake_kde4} .. \
|
|
|
|
|
|
|
|
%{!?strigi:-DBUILD_strigi:BOOL=OFF}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
@ -67,8 +75,10 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{_kde4_libdir}/kde4/mobithumbnail.so
|
|
|
|
%{_kde4_libdir}/kde4/mobithumbnail.so
|
|
|
|
%{_kde4_libdir}/strigi/strigila_mobi.so
|
|
|
|
|
|
|
|
%{_kde4_datadir}/kde4/services/mobithumbnail.desktop
|
|
|
|
%{_kde4_datadir}/kde4/services/mobithumbnail.desktop
|
|
|
|
|
|
|
|
%if 0%{?strigi}
|
|
|
|
|
|
|
|
%{_kde4_libdir}/strigi/strigila_mobi.so
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%post -n qmobipocket -p /sbin/ldconfig
|
|
|
|
%post -n qmobipocket -p /sbin/ldconfig
|
|
|
|
%postun -n qmobipocket -p /sbin/ldconfig
|
|
|
|
%postun -n qmobipocket -p /sbin/ldconfig
|
|
|
@ -85,6 +95,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Wed Apr 20 2016 Rex Dieter <rdieter@fedoraproject.org> - 16.04.0-2
|
|
|
|
- rebuild (qt)
|
|
|
|
- rebuild (qt)
|
|
|
|
|
|
|
|
|
|
|
|