2015-08-07 09:48:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package baloo5-widgets
|
|
|
|
#
|
2023-03-02 15:20:36 +01:00
|
|
|
# Copyright (c) 2023 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
|
2023-08-18 08:24:43 +02:00
|
|
|
%define kf5_version 5.105.0
|
2022-01-06 13:44:23 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:43:54 +01:00
|
|
|
Name: baloo5-widgets
|
2023-12-07 23:52:47 +01:00
|
|
|
Version: 23.08.4
|
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
|
2019-08-15 16:00:13 +02:00
|
|
|
URL: https://www.kde.org
|
2023-08-24 12:27:49 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 13:44:23 +01:00
|
|
|
%if %{with released}
|
2023-08-24 12:27:49 +02:00
|
|
|
Source1: https://download.kde.org/stable/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
|
|
|
|
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
|
2022-11-17 23:57:59 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2015-08-07 09:48:36 +02:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:57:59 +01:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2015-08-07 09:48:36 +02:00
|
|
|
|
2023-03-02 15:20:36 +01:00
|
|
|
%ldconfig_scriptlets
|
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
|
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2015-08-07 09:48:36 +02:00
|
|
|
%changelog
|