|
|
@ -6,6 +6,7 @@
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%global ebook 1
|
|
|
|
%global ebook 1
|
|
|
|
%global poppler 1
|
|
|
|
%global poppler 1
|
|
|
|
|
|
|
|
%global taglib 1
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
@ -38,7 +39,9 @@ BuildRequires: pkgconfig(exiv2) >= 0.20
|
|
|
|
%if 0%{?poppler}
|
|
|
|
%if 0%{?poppler}
|
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(taglib)
|
|
|
|
%if 0%{?taglib}
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(taglib) >= 1.9
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
%if 0%{?ffmpeg}
|
|
|
|
%if 0%{?ffmpeg}
|
|
|
|
BuildRequires: ffmpeg-devel
|
|
|
|
BuildRequires: ffmpeg-devel
|
|
|
@ -82,7 +85,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%dir %{_kf5_plugindir}/kfilemetadata/
|
|
|
|
%dir %{_kf5_plugindir}/kfilemetadata/
|
|
|
|
%{_kf5_plugindir}/kfilemetadata/kfilemetadata_*.so
|
|
|
|
%{_kf5_plugindir}/kfilemetadata/kfilemetadata_*.so
|
|
|
|
%dir %{_kf5_plugindir}/kfilemetadata/writers/
|
|
|
|
%dir %{_kf5_plugindir}/kfilemetadata/writers/
|
|
|
|
|
|
|
|
%if 0%{?taglib}
|
|
|
|
%{_kf5_plugindir}/kfilemetadata/writers/kfilemetadata_taglibwriter.so
|
|
|
|
%{_kf5_plugindir}/kfilemetadata/writers/kfilemetadata_taglibwriter.so
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so
|
|
|
|
%{_kf5_libdir}/libKF5FileMetaData.so
|
|
|
|