Luca Beltrame
2019-08-11 21:06:58 +00:00
committed by Git OBS Bridge
parent 1a49bdc8dd
commit 0c5fd463bf
6 changed files with 68 additions and 7 deletions

View File

@@ -17,20 +17,26 @@
%define lname libKF5Archive5
%define _tar_path 5.60
%define _tar_path 5.61
# 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}')}
# Only needed for the package signature condition
%bcond_without lang
Name: karchive
Version: 5.60.0
Version: 5.61.0
Release: 0
Summary: Qt 5 addon providing access to numerous types of archives
License: LGPL-2.1-or-later
Group: System/GUI/KDE
URL: https://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
%if %{with_lang}
Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig
Source2: frameworks.keyring
%endif
Source99: baselibs.conf
BuildRequires: cmake >= 3.0
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes