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:
commit
1a92227af0
@ -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
|
@ -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
3
sweeper-17.12.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:525ae0719df849c16487fea28e3fdedffb58e746265402058c82cb3b5a674c33
|
||||
size 382308
|
@ -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
|
||||
|
||||
|
80
sweeper.spec
80
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.12.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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user