SHA256
1
0
forked from pool/sweeper

Accepting request 556312 from KDE:Applications

KDE Applications 17.12.0 final (release on 2017-12-14)

OBS-URL: https://build.opensuse.org/request/show/556312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sweeper?expand=0&rev=79
This commit is contained in:
Dominique Leuenberger 2017-12-18 07:56:18 +00:00 committed by Git OBS Bridge
commit 1a92227af0
5 changed files with 89 additions and 41 deletions

View File

@ -1,12 +0,0 @@
Index: sweeper.desktop
===================================================================
--- sweeper.desktop.orig
+++ sweeper.desktop
@@ -2,6 +2,7 @@
X-DocPath=
Icon=sweeper
Exec=sweeper
+OnlyShowIn=KDE;
Type=Application
Terminal=false
X-KDE-StartupNotify=true

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b61bb0e9e86f3aeeedb5aae4b7d6d909cd7bf26dd6df2e3cd29a7b22c09fd54b
size 82304

3
sweeper-17.12.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:525ae0719df849c16487fea28e3fdedffb58e746265402058c82cb3b5a674c33
size 382308

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Sat Dec 09 14:59:13 CET 2017 - lbeltrame@kde.org
- Update to 17.12.0
* New feature release
* For more details please see:
* https://www.kde.org/announcements/announce-applications-17.12.0.php
- Changes since 17.11.90:
* None
- Removed patches, no longer needed:
* desktop-files.diff
-------------------------------------------------------------------
Sat Dec 02 10:12:39 CET 2017 - lbeltrame@kde.org
- Update to 17.11.90
* New feature release
* For more details please see:
* https://www.kde.org/announcements/announce-applications-17.12-rc.php
- Changes since 17.11.80:
* None
-------------------------------------------------------------------
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 Thu Nov 09 23:13:26 CET 2017 - lbeltrame@kde.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package sweeper # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,53 +15,81 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%bcond_without lang
Name: sweeper Name: sweeper
Version: 17.08.3 Version: 17.12.0
Release: 0 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 Summary: KDE Privacy Utility
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/GUI/KDE Group: System/GUI/KDE
Url: http://www.kde.org Url: http://www.kde.org
Source0: sweeper-%{version}.tar.xz Source0: sweeper-%{version}.tar.xz
Patch1: desktop-files.diff BuildRequires: breeze5-icons
BuildRequires: libkde4-devel BuildRequires: extra-cmake-modules
BuildRequires: oxygen5-icon-theme 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires %if %{with lang}
Recommends: %{name}-lang
%endif
%description %description
Helps clean unwanted traces the user leaves on the system. Helps clean unwanted traces the user leaves on the system.
%if %{with lang}
%lang_package
%endif
%prep %prep
%setup -q -n sweeper-%{version} %setup -q -n sweeper-%{version}
%patch1
%build %build
%cmake_kde4 -d build %cmake_kf5 -d build
%make_jobs %make_jobs
%install %install
cd build %kf5_makeinstall -C build
%make_install %if %{with lang}
for i in 16 22 32 48; do %find_lang %{name} --with-man --all-name
mkdir -p %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps %kf5_find_htmldocs
cp %{_kde4_iconsdir}/oxygen/base/${i}x${i}/actions/trash-empty.png %{buildroot}%{_kde4_iconsdir}/hicolor/${i}x${i}/apps/sweeper.png %endif
done %suse_update_desktop_file org.kde.sweeper Utility Security
%suse_update_desktop_file sweeper Utility Security mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/actions
%kde_post_install mkdir -p %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
cp %{_kf5_iconsdir}/breeze/actions/24/trash-empty.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/actions/
%post -p /sbin/ldconfig cp %{_kf5_iconsdir}/breeze/apps/48/sweeper.svg %{buildroot}%{_kf5_iconsdir}/hicolor/scalable/apps/
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%_kde4_bindir/sweeper %doc %lang(en) %{_kf5_htmldir}/en/sweeper/
%_kde4_applicationsdir/sweeper.desktop %{_kf5_applicationsdir}/org.kde.sweeper.desktop
%{_datadir}/dbus-1/interfaces/*.xml %{_kf5_appstreamdir}/org.kde.sweeper.appdata.xml
%_kde4_htmldir/en/sweeper/ %{_kf5_bindir}/sweeper
%_kde4_appsdir/sweeper/ %{_kf5_iconsdir}/hicolor/scalable/*/*
%{_kde4_iconsdir}/hicolor/*/*/* %{_kf5_kxmlguidir}/sweeper/
%{_kf5_sharedir}/dbus-1/interfaces/*.xml
%if %{with lang}
%files lang -f %{name}.lang
%endif
%changelog %changelog