diff --git a/sweeper-17.08.3.tar.xz b/sweeper-17.08.3.tar.xz deleted file mode 100644 index fa6fe09..0000000 --- a/sweeper-17.08.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b61bb0e9e86f3aeeedb5aae4b7d6d909cd7bf26dd6df2e3cd29a7b22c09fd54b -size 82304 diff --git a/sweeper-17.11.80.tar.xz b/sweeper-17.11.80.tar.xz new file mode 100644 index 0000000..ed05e76 --- /dev/null +++ b/sweeper-17.11.80.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:200a9427730234c67a57870df45a2386801560ac6d0f0e8e507ce26a744eb518 +size 382028 diff --git a/sweeper.changes b/sweeper.changes index 8a52a5f..214c67c 100644 --- a/sweeper.changes +++ b/sweeper.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Nov 20 06:59:52 CET 2017 - lbeltrame@kde.org + +- Update to 17.11.80 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.12-beta.php +- Changes since 17.08.3: + * Too many changes to list here + ------------------------------------------------------------------- Thu Nov 09 23:13:26 CET 2017 - lbeltrame@kde.org diff --git a/sweeper.spec b/sweeper.spec index d834346..d39afc6 100644 --- a/sweeper.spec +++ b/sweeper.spec @@ -1,7 +1,7 @@ # # spec file for package sweeper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,53 +15,81 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +%bcond_without lang Name: sweeper -Version: 17.08.3 +Version: 17.11.80 Release: 0 +%define kf5_version 5.26.0 +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) +%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: KDE Privacy Utility License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source0: sweeper-%{version}.tar.xz -Patch1: desktop-files.diff -BuildRequires: libkde4-devel -BuildRequires: oxygen5-icon-theme +BuildRequires: breeze5-icons +BuildRequires: extra-cmake-modules +BuildRequires: kbookmarks-devel +BuildRequires: kconfig-devel +BuildRequires: kconfigwidgets-devel +BuildRequires: kcoreaddons-devel +BuildRequires: kcrash-devel +BuildRequires: kdoctools-devel +BuildRequires: ki18n-devel +BuildRequires: kio-devel +BuildRequires: ktextwidgets-devel +BuildRequires: kxmlgui-devel +BuildRequires: kactivities-stats-devel +BuildRequires: pkgconfig +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build -%kde4_runtime_requires +%if %{with lang} +Recommends: %{name}-lang +%endif + %description Helps clean unwanted traces the user leaves on the system. +%if %{with lang} +%lang_package +%endif + %prep %setup -q -n sweeper-%{version} -%patch1 %build -%cmake_kde4 -d build +%cmake_kf5 -d build %make_jobs %install -cd build -%make_install -for i in 16 22 32 48; do -mkdir -p %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps -cp %{_kde4_iconsdir}/oxygen/base/${i}x${i}/actions/trash-empty.png %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps/sweeper.png -done -%suse_update_desktop_file sweeper Utility Security -%kde_post_install - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name + %kf5_find_htmldocs +%endif +%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/actions/24/trash-empty.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/actions/ +cp %{_kf5_iconsdir}/breeze/apps/48/sweeper.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/ %files %defattr(-,root,root) -%_kde4_bindir/sweeper -%_kde4_applicationsdir/sweeper.desktop -%{_datadir}/dbus-1/interfaces/*.xml -%_kde4_htmldir/en/sweeper/ -%_kde4_appsdir/sweeper/ -%{_kde4_iconsdir}/hicolor/*/*/* +%doc %lang(en) %{_kf5_htmldir}/en/sweeper/ +%{_kf5_applicationsdir}/org.kde.sweeper.desktop +%{_kf5_appstreamdir}/org.kde.sweeper.appdata.xml +%{_kf5_bindir}/sweeper +%{_kf5_iconsdir}/hicolor/scalable/*/* +%{_kf5_kxmlguidir}/sweeper/ +%{_kf5_sharedir}/dbus-1/interfaces/*.xml + +%if %{with lang} +%files lang -f %{name}.lang +%endif %changelog