2015-08-07 09:48:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package baloo5-widgets
|
|
|
|
#
|
2021-01-06 15:50:54 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-08-07 09:48:36 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-12 10:43:25 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-07 09:48:36 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-08-15 16:00:13 +02:00
|
|
|
%define rname baloo-widgets
|
2019-11-29 12:38:52 +01:00
|
|
|
%define kf5_version 5.60.0
|
2017-08-12 00:52:26 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:20:46 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 13:44:23 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:43:54 +01:00
|
|
|
Name: baloo5-widgets
|
2022-03-29 08:44:13 +02:00
|
|
|
Version: 22.03.80
|
2018-11-25 00:43:54 +01:00
|
|
|
Release: 0
|
2015-08-07 09:48:36 +02:00
|
|
|
Summary: Framework for searching and managing metadata
|
2018-03-10 13:10:09 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only
|
2015-08-07 09:48:36 +02:00
|
|
|
Group: System/GUI/KDE
|
2019-08-15 16:00:13 +02:00
|
|
|
URL: https://www.kde.org
|
2022-03-29 08:44:13 +02:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:23 +01:00
|
|
|
%if %{with released}
|
2022-03-29 08:44:13 +02:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 15:30:46 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2015-08-07 09:48:36 +02:00
|
|
|
Source99: baloo5-widgets-rpmlintrc
|
2016-12-03 15:21:16 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= %{kf5_version}
|
2015-08-07 09:48:36 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2019-11-29 12:38:52 +01:00
|
|
|
BuildRequires: cmake(KF5Baloo)
|
|
|
|
BuildRequires: cmake(KF5FileMetaData)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5Service)
|
2021-03-28 09:26:49 +02:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2015-08-07 09:48:36 +02:00
|
|
|
Obsoletes: libKF5BalooWidgets5
|
|
|
|
Provides: libKF5BalooNaturalQueryParser1 = %{version}
|
|
|
|
Obsoletes: libKF5BalooNaturalQueryParser1 < %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Baloo is a framework for searching and managing metada
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for baloo5-widgets
|
2015-08-22 15:27:51 +02:00
|
|
|
Group: Development/Libraries/KDE
|
2015-08-07 09:48:36 +02:00
|
|
|
Requires: %{name} = %{version}
|
2019-11-29 12:38:52 +01:00
|
|
|
Requires: cmake(KF5KIO)
|
2021-03-28 09:26:49 +02:00
|
|
|
Requires: cmake(Qt5Widgets)
|
2015-08-07 09:48:36 +02:00
|
|
|
Provides: baloo-widgets5-devel
|
|
|
|
Obsoletes: baloo-widgets5-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development package for baloo5-widgets
|
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%lang_package
|
|
|
|
|
2015-08-07 09:48:36 +02:00
|
|
|
%prep
|
2021-04-19 15:30:46 +02:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2015-08-07 09:48:36 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:38:26 +01:00
|
|
|
%cmake_build
|
2015-08-07 09:48:36 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2022-01-06 13:44:23 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:27:46 +02:00
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%endif
|
2015-08-07 09:48:36 +02:00
|
|
|
|
2016-12-03 15:21:16 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2015-08-07 09:48:36 +02:00
|
|
|
|
|
|
|
%files
|
2022-03-29 08:44:13 +02:00
|
|
|
%license LICENSES/*
|
2019-04-03 10:50:44 +02:00
|
|
|
%dir %{_kf5_plugindir}/kf5/
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kfileitemaction
|
2021-11-30 08:58:13 +01:00
|
|
|
%dir %{_kf5_plugindir}/kf5/propertiesdialog
|
2015-08-07 09:48:36 +02:00
|
|
|
%{_kf5_bindir}/baloo_filemetadata_temp_extractor
|
2020-03-28 14:56:44 +01:00
|
|
|
%{_kf5_debugdir}/baloo-widgets.categories
|
2015-08-07 09:48:36 +02:00
|
|
|
%{_kf5_libdir}/libKF5BalooWidgets.so.*
|
2021-11-30 08:58:13 +01:00
|
|
|
%{_kf5_plugindir}/kf5/propertiesdialog/baloofilepropertiesplugin.so
|
2019-04-03 10:50:44 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kfileitemaction/tagsfileitemaction.so
|
2015-08-07 09:48:36 +02:00
|
|
|
|
|
|
|
%files devel
|
2021-04-19 15:30:46 +02:00
|
|
|
%{_kf5_cmakedir}/KF5BalooWidgets/
|
2015-08-22 15:29:16 +02:00
|
|
|
%{_kf5_includedir}/
|
2015-08-07 09:48:36 +02:00
|
|
|
%{_kf5_libdir}/libKF5BalooWidgets.so
|
|
|
|
|
2022-01-06 13:44:23 +01:00
|
|
|
%if %{with released}
|
2017-04-15 15:27:46 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2015-08-07 09:48:36 +02:00
|
|
|
%changelog
|