diff --git a/kf5-kfilemetadata.spec b/kf5-kfilemetadata.spec index 392b047..e36e8f1 100644 --- a/kf5-kfilemetadata.spec +++ b/kf5-kfilemetadata.spec @@ -3,14 +3,19 @@ # Define to 1 to enable ffmpeg extractor #global ffmpeg 1 +%if 0%{?fedora} +%global ebook 1 +%global poppler 1 +%endif + Name: kf5-%{framework} Summary: A Tier 2 KDE Framework for extracting file metadata Version: 5.21.0 -Release: 1%{?dist} +Release: 2%{?dist} # # KDE e.V. may determine that future LGPL versions are accepted License: LGPLv2 or LGPLv3 -URL: http://projects.kde.org/kfilemetadata +URL: https://quickgit.kde.org/?p=%{framework}.git %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -21,15 +26,18 @@ URL: http://projects.kde.org/kfilemetadata %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz -BuildRequires: cmake +%if 0%{?ebook} BuildRequires: ebook-tools-devel +%endif BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf5-karchive-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: libattr-devel BuildRequires: pkgconfig(exiv2) >= 0.20 +%if 0%{?poppler} BuildRequires: pkgconfig(poppler-qt5) +%endif BuildRequires: pkgconfig(taglib) BuildRequires: qt5-qtbase-devel %if 0%{?ffmpeg} @@ -80,6 +88,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Tue Apr 05 2016 Rex Dieter - 5.21.0-2 +- update URL, make some deps fedora-only + * Mon Apr 04 2016 Rex Dieter - 5.21.0-1 - KDE Frameworks 5.21.0