This commit is contained in:
parent
dfba07dda8
commit
8a67794d63
@ -16,12 +16,12 @@
|
||||
#
|
||||
|
||||
|
||||
%define _tar_path 5.103
|
||||
# Full KF5 version (e.g. 5.33.0)
|
||||
%{!?_kf5_version: %global _kf5_version %{version}}
|
||||
# Last major and minor KF5 version (e.g. 5.33)
|
||||
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
||||
%bcond_without ffmpeg
|
||||
%define qt5_version 5.15.2
|
||||
%bcond_without released
|
||||
Name: kfilemetadata5
|
||||
Version: 5.114.0
|
||||
@ -34,20 +34,19 @@ Source: kfilemetadata-%{version}.tar.xz
|
||||
Source1: kfilemetadata-%{version}.tar.xz.sig
|
||||
Source2: frameworks.keyring
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
||||
BuildRequires: libattr-devel
|
||||
BuildRequires: libepub-devel
|
||||
BuildRequires: libexiv2-devel >= 0.21
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: taglib-devel >= 1.9
|
||||
BuildRequires: cmake(KF5Archive) >= %{_kf5_bugfix_version}
|
||||
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version}
|
||||
BuildRequires: cmake(KF5Config) >= %{_kf5_bugfix_version}
|
||||
BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version}
|
||||
BuildRequires: cmake(KF5Archive) >= %{_kf5_version}
|
||||
BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_version}
|
||||
BuildRequires: cmake(KF5Config) >= %{_kf5_version}
|
||||
BuildRequires: cmake(KF5I18n) >= %{_kf5_version}
|
||||
BuildRequires: cmake(QMobipocket)
|
||||
BuildRequires: cmake(Qt5Test) >= 5.15.0
|
||||
BuildRequires: cmake(Qt5Xml) >= 5.15.0
|
||||
BuildRequires: cmake(Qt5Test) >= %{qt5_version}
|
||||
BuildRequires: cmake(Qt5Xml) >= %{qt5_version}
|
||||
BuildRequires: pkgconfig(poppler-qt5)
|
||||
%if %{with ffmpeg}
|
||||
BuildRequires: pkgconfig(libavcodec)
|
||||
@ -61,7 +60,7 @@ A library for extracting file metadata.
|
||||
%package devel
|
||||
Summary: Development package for kfilemetadata
|
||||
Requires: %{name} = %{version}
|
||||
Requires: cmake(Qt5Core) >= 5.15.0
|
||||
Requires: cmake(Qt5Core) >= %{qt5_version}
|
||||
|
||||
%description devel
|
||||
A library for extracting file metadata. Development files
|
||||
|
Loading…
x
Reference in New Issue
Block a user