2016-12-12 10:23:14 +01:00
|
|
|
#
|
2016-12-03 16:20:31 +01:00
|
|
|
# spec file for package kfind
|
|
|
|
#
|
2022-11-17 23:58:19 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2016-12-03 16:20:31 +01: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:45:29 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-03 16:20:31 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2018-11-25 00:44:40 +01:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2022-01-06 13:44:40 +01:00
|
|
|
%bcond_without released
|
2016-12-03 16:20:31 +01:00
|
|
|
Name: kfind
|
2022-11-30 15:30:14 +01:00
|
|
|
Version: 22.11.90
|
2016-12-03 16:20:31 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: KDE Find File Utility
|
2018-03-10 13:10:48 +01:00
|
|
|
License: GPL-2.0-or-later
|
2021-04-19 15:30:56 +02:00
|
|
|
URL: https://apps.kde.org/kfind
|
2022-11-17 23:58:19 +01:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:40 +01:00
|
|
|
%if %{with released}
|
2022-11-17 23:58:19 +01:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:30:56 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2016-12-03 16:20:31 +01:00
|
|
|
BuildRequires: extra-cmake-modules
|
2017-01-14 11:33:40 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2016-12-03 16:20:31 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 12:39:35 +01:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5FileMetaData)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(KF5WidgetsAddons)
|
2018-04-10 15:20:14 +02:00
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
2018-11-25 00:44:40 +01:00
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2016-12-03 16:20:31 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
KFind allows you to search for directories and files.
|
|
|
|
|
2017-04-15 15:28:16 +02:00
|
|
|
%lang_package
|
|
|
|
|
2016-12-03 16:20:31 +01:00
|
|
|
%prep
|
2021-04-19 15:30:56 +02:00
|
|
|
%autosetup -p1
|
2016-12-03 16:20:31 +01:00
|
|
|
|
|
|
|
%build
|
2022-11-17 23:58:19 +01:00
|
|
|
%cmake_kf5 -d build
|
|
|
|
%cmake_build
|
2016-12-03 16:20:31 +01:00
|
|
|
|
|
|
|
%install
|
2022-11-17 23:58:19 +01:00
|
|
|
%kf5_makeinstall -C build
|
2016-12-03 16:20:31 +01:00
|
|
|
|
2022-11-17 23:58:19 +01:00
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
|
|
|
%suse_update_desktop_file org.kde.kfind System Filesystem core
|
2016-12-03 16:20:31 +01:00
|
|
|
|
|
|
|
%files
|
2021-03-28 09:27:11 +02:00
|
|
|
%license LICENSES/*
|
2017-08-12 00:55:56 +02:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/kfind/
|
2016-12-03 16:20:31 +01:00
|
|
|
%doc %{_kf5_mandir}/man1/kfind.*
|
2017-08-05 22:05:55 +02:00
|
|
|
%{_kf5_applicationsdir}/org.kde.kfind.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.kfind.appdata.xml
|
|
|
|
%{_kf5_bindir}/kfind
|
2021-04-19 15:30:56 +02:00
|
|
|
%{_kf5_debugdir}/kfind.categories
|
2017-08-05 22:05:55 +02:00
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/kfind.*
|
2016-12-03 16:20:31 +01:00
|
|
|
|
2017-04-15 15:28:16 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2016-12-03 16:20:31 +01:00
|
|
|
%changelog
|