2015-08-07 09:48:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package baloo5-widgets
|
|
|
|
#
|
2019-01-12 02:58:24 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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-04-28 08:37:20 +02:00
|
|
|
%define kf5_version 5.57.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}')}
|
2018-11-25 00:43:54 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: baloo5-widgets
|
2019-07-26 16:01:09 +02:00
|
|
|
Version: 19.07.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
|
2018-11-25 00:43:54 +01:00
|
|
|
URL: http://www.kde.org
|
2015-08-07 09:48:36 +02:00
|
|
|
Source: baloo-widgets-%{version}.tar.xz
|
|
|
|
Source99: baloo5-widgets-rpmlintrc
|
|
|
|
BuildRequires: baloo5-devel
|
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
|
|
|
|
BuildRequires: kfilemetadata5-devel
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: kservice-devel
|
2019-04-28 08:37:20 +02:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.8.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.8.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.8.0
|
2018-11-25 00:43:54 +01:00
|
|
|
Recommends: %{name}-lang
|
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}
|
|
|
|
Requires: kio-devel
|
2019-04-28 08:37:20 +02:00
|
|
|
Requires: cmake(Qt5Widgets) >= 5.8.0
|
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
|
|
|
|
%setup -q -n baloo-widgets-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:27:46 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%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
|
2018-11-25 00:43:54 +01:00
|
|
|
%license COPYING*
|
2019-04-03 10:50:44 +02:00
|
|
|
%dir %{_kf5_plugindir}/kf5/
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kfileitemaction
|
2015-08-07 09:48:36 +02:00
|
|
|
%{_kf5_bindir}/baloo_filemetadata_temp_extractor
|
|
|
|
%{_kf5_libdir}/libKF5BalooWidgets.so.*
|
2018-04-10 15:19:28 +02:00
|
|
|
%{_kf5_plugindir}/baloofilepropertiesplugin.so
|
2019-04-03 10:50:44 +02:00
|
|
|
%{_kf5_plugindir}/kf5/kfileitemaction/tagsfileitemaction.so
|
2018-04-10 15:19:28 +02:00
|
|
|
%{_kf5_servicesdir}/*.desktop
|
2015-08-07 09:48:36 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-11-25 00:43:54 +01:00
|
|
|
%license COPYING*
|
2015-08-22 15:29:16 +02:00
|
|
|
%{_kf5_includedir}/
|
2015-08-07 09:48:36 +02:00
|
|
|
%{_kf5_libdir}/libKF5BalooWidgets.so
|
2017-08-12 00:52:26 +02:00
|
|
|
%{_kf5_cmakedir}/KF5BalooWidgets/
|
2015-08-07 09:48:36 +02:00
|
|
|
|
2017-04-15 15:27:46 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
2018-11-25 00:43:54 +01:00
|
|
|
%license COPYING*
|
2017-04-15 15:27:46 +02:00
|
|
|
%endif
|
|
|
|
|
2015-08-07 09:48:36 +02:00
|
|
|
%changelog
|