-htmlthumbnail subpkg

epel9
Rex Dieter 8 years ago
parent 897f39a0a7
commit 9c07eaf5de

@ -8,7 +8,7 @@
Name: kio-extras
Version: 16.12.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Additional components to increase the functionality of KIO Framework
License: GPLv2+
@ -56,12 +56,11 @@ BuildRequires: phonon-qt5-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtsvg-devel
%if 0%{?fedora} > 24
%global htmlthumbnail 1
BuildRequires: qt5-qtwebengine-devel >= 5.7
# work around possibly missing macro
%{!?qt5_qtwebengine_arches:%global qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
# handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
%ifarch %{qt5_qtwebengine_arches}
%global htmlthumbnail 1
%endif
%endif
%if 0%{?tests}
@ -89,6 +88,15 @@ BuildArch: noarch
%description docs
%{summary}.
%if 0%{?htmlthumbnail}
%package htmlthumbnail
Summary: KIO HTML thumbnailer
BuildRequires: qt5-qtwebengine-devel >= 5.7
Requires: %{name}%{?_isa} = %{version}-%{release}
%description htmlthumbnail
%{summary}.
%endif
%prep
%autosetup -p1
@ -159,10 +167,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%{_kf5_qtplugindir}/exrthumbnail.so
%{_kf5_qtplugindir}/imagethumbnail.so
%{_kf5_qtplugindir}/jpegthumbnail.so
# make subpkg? -- rex
%if 0%{?htmlthumbnail}
%{_kf5_qtplugindir}/htmlthumbnail.so
%endif
%{_kf5_qtplugindir}/kactivitymanagerd_fileitem_linking_plugin.so
%{_kf5_qtplugindir}/kfileaudiopreview.so
%{_kf5_qtplugindir}/libkio_about.so
@ -197,8 +201,16 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files docs
%{_docdir}/HTML/en/kioslave5/
%if 0%{?htmlthumbnail}
%files htmlthumbnail
%{_kf5_qtplugindir}/htmlthumbnail.so
%endif
%changelog
* Wed Jan 11 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.1-2
- -htmlthumbnail subpkg
* Tue Jan 10 2017 Rex Dieter <rdieter@fedoraproject.org> - 16.12.1-1
- 16.12.1

Loading…
Cancel
Save