2012-03-05 18:02:21 +01:00
|
|
|
#
|
|
|
|
# spec file for package sweeper
|
|
|
|
#
|
2023-03-02 15:21:59 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-03-05 18:02:21 +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-11-25 00:45:39 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-03-05 18:02:21 +01:00
|
|
|
#
|
|
|
|
|
2012-03-13 09:39:57 +01:00
|
|
|
|
2022-01-06 13:45:16 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:45:39 +01:00
|
|
|
Name: sweeper
|
2023-08-24 12:29:42 +02:00
|
|
|
Version: 23.08.0
|
2018-11-25 00:45:39 +01:00
|
|
|
Release: 0
|
2012-03-05 18:02:21 +01:00
|
|
|
Summary: KDE Privacy Utility
|
2018-11-25 00:45:39 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2021-04-19 15:31:17 +02:00
|
|
|
URL: https://apps.kde.org/sweeper
|
2023-08-24 12:29:42 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:45:16 +01:00
|
|
|
%if %{with released}
|
2023-08-24 12:29:42 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:31:17 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-11-21 23:47:37 +01:00
|
|
|
BuildRequires: breeze5-icons
|
|
|
|
BuildRequires: extra-cmake-modules
|
2020-03-28 14:58:44 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2019-11-29 12:40:57 +01:00
|
|
|
BuildRequires: cmake(KF5ActivitiesStats)
|
|
|
|
BuildRequires: cmake(KF5Bookmarks)
|
|
|
|
BuildRequires: cmake(KF5Config)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5Crash)
|
|
|
|
BuildRequires: cmake(KF5DocTools)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5TextWidgets)
|
|
|
|
BuildRequires: cmake(KF5XmlGui)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5DBus)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2017-11-21 23:47:37 +01:00
|
|
|
|
2012-03-05 18:02:21 +01:00
|
|
|
%description
|
|
|
|
Helps clean unwanted traces the user leaves on the system.
|
|
|
|
|
2017-11-21 23:47:37 +01:00
|
|
|
%lang_package
|
|
|
|
|
2012-03-05 18:02:21 +01:00
|
|
|
%prep
|
2021-04-19 15:31:17 +02:00
|
|
|
%autosetup -p1 -n sweeper-%{version}
|
2012-03-05 18:02:21 +01:00
|
|
|
|
|
|
|
%build
|
2017-11-21 23:47:37 +01:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 10:23:51 +01:00
|
|
|
%cmake_build
|
2012-03-05 18:02:21 +01:00
|
|
|
|
|
|
|
%install
|
2017-11-21 23:47:37 +01:00
|
|
|
%kf5_makeinstall -C build
|
2022-11-17 23:59:06 +01:00
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%{kf5_find_htmldocs}
|
|
|
|
|
2017-11-21 23:47:37 +01:00
|
|
|
%suse_update_desktop_file org.kde.sweeper Utility Security
|
|
|
|
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/actions
|
|
|
|
mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
|
|
|
|
cp %{_kf5_iconsdir}/breeze/apps/48/sweeper.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
|
2012-03-05 18:02:21 +01:00
|
|
|
|
|
|
|
%files
|
2021-11-30 08:58:50 +01:00
|
|
|
%license LICENSES/*
|
2017-11-21 23:47:37 +01:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/sweeper/
|
|
|
|
%{_kf5_applicationsdir}/org.kde.sweeper.desktop
|
|
|
|
%{_kf5_appstreamdir}/org.kde.sweeper.appdata.xml
|
|
|
|
%{_kf5_bindir}/sweeper
|
2021-03-28 09:28:00 +02:00
|
|
|
%{_kf5_debugdir}/sweeper.categories
|
2017-11-21 23:47:37 +01:00
|
|
|
%{_kf5_iconsdir}/hicolor/scalable/*/*
|
|
|
|
%{_kf5_kxmlguidir}/sweeper/
|
|
|
|
%{_kf5_sharedir}/dbus-1/interfaces/*.xml
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2012-03-05 18:02:21 +01:00
|
|
|
|
|
|
|
%changelog
|