|
|
@ -1,10 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
%global kf5_version_min 5.26.0
|
|
|
|
%global kf5_version_min 5.26.0
|
|
|
|
|
|
|
|
%if 0%{?fedora} < 26
|
|
|
|
|
|
|
|
# support kde4-based konqueror (or not)
|
|
|
|
|
|
|
|
%global konq4 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: plasma-desktop
|
|
|
|
Name: plasma-desktop
|
|
|
|
Summary: Plasma Desktop shell
|
|
|
|
Summary: Plasma Desktop shell
|
|
|
|
Version: 5.9.4
|
|
|
|
Version: 5.9.5
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and (GPLv2 or GPLv3)
|
|
|
|
License: GPLv2+ and (GPLv2 or GPLv3)
|
|
|
|
URL: https://cgit.kde.org/%{name}.git
|
|
|
|
URL: https://cgit.kde.org/%{name}.git
|
|
|
@ -24,12 +28,6 @@ Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.
|
|
|
|
Patch100: plasma-desktop-5.8-default_favorites.patch
|
|
|
|
Patch100: plasma-desktop-5.8-default_favorites.patch
|
|
|
|
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
## upstream patches
|
|
|
|
Patch1: 0001-Add-missing-member-initialization.patch
|
|
|
|
|
|
|
|
Patch2: 0002-Set-wrapMode-to-NoWrap-when-maximumLineCount-is-1.patch
|
|
|
|
|
|
|
|
Patch3: 0003-Set-wrapMode-to-NoWrap-when-maximumLineCount-is-1.patch
|
|
|
|
|
|
|
|
Patch4: 0004-Task-Manager-Don-t-delay-appearance-of-audio-stream-.patch
|
|
|
|
|
|
|
|
Patch5: 0005-Applet-Alternatives-Fix-icon-size.patch
|
|
|
|
|
|
|
|
Patch6: 0006-Applet-Alternatives-Don-t-animate-highlight-resize.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
## upstreamable patches
|
|
|
|
|
|
|
|
|
|
|
@ -81,10 +79,11 @@ BuildRequires: kf5-kinit-devel >= %{kf5_version_min}
|
|
|
|
%{?kf5_kinit_requires}
|
|
|
|
%{?kf5_kinit_requires}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-ksysguard-devel >= %{majmin_ver}
|
|
|
|
BuildRequires: kf5-ksysguard-devel >= %{majmin_ver}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kscreenlocker-devel >= %{majmin_ver}
|
|
|
|
BuildRequires: kscreenlocker-devel >= %{majmin_ver}
|
|
|
|
BuildRequires: plasma-workspace-devel >= %{majmin_ver}
|
|
|
|
|
|
|
|
BuildRequires: kwin-devel >= %{majmin_ver}
|
|
|
|
BuildRequires: kwin-devel >= %{majmin_ver}
|
|
|
|
|
|
|
|
# see %%prep below -- rex
|
|
|
|
|
|
|
|
BuildRequires: plasma-breeze >= %{majmin_ver}}
|
|
|
|
|
|
|
|
BuildRequires: plasma-workspace-devel >= %{majmin_ver}
|
|
|
|
|
|
|
|
|
|
|
|
# Optional
|
|
|
|
# Optional
|
|
|
|
BuildRequires: kf5-kactivities-devel >= %{kf5_version_min}
|
|
|
|
BuildRequires: kf5-kactivities-devel >= %{kf5_version_min}
|
|
|
@ -177,15 +176,15 @@ BuildArch: noarch
|
|
|
|
%patch100 -p1
|
|
|
|
%patch100 -p1
|
|
|
|
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
## upstream patches
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
|
|
|
%patch5 -p1
|
|
|
|
|
|
|
|
%patch6 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
## upstreamable patches
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME: relax plasma-breeze dep
|
|
|
|
|
|
|
|
sed -i.breeze_ver \
|
|
|
|
|
|
|
|
-e "s|find_package(Breeze \${PROJECT_VERSION} |find_package(Breeze %{majmin_ver} |" \
|
|
|
|
|
|
|
|
CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%ifarch s390 %{arm}
|
|
|
|
%ifarch s390 %{arm}
|
|
|
|
# Decrease debuginfo verbosity to reduce memory consumption even more
|
|
|
|
# Decrease debuginfo verbosity to reduce memory consumption even more
|
|
|
@ -202,15 +201,20 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang plasmadesktop5 --with-qt --all-name
|
|
|
|
%find_lang %{name} --with-html --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
grep "%{_kf5_docdir}" %{name}.lang > %{name}-doc.lang
|
|
|
|
|
|
|
|
cat %{name}.lang %{name}-doc.lang | sort | uniq -u > plasmadesktop5.lang
|
|
|
|
|
|
|
|
|
|
|
|
# No -devel
|
|
|
|
# No -devel
|
|
|
|
rm -fv %{buildroot}%{_libdir}/libkfontinst{,ui}.so
|
|
|
|
rm -fv %{buildroot}%{_libdir}/libkfontinst{,ui}.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?konq4}
|
|
|
|
# Copy konqsidebartng to kde4/apps so that KDE Konqueror can find it
|
|
|
|
# Copy konqsidebartng to kde4/apps so that KDE Konqueror can find it
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/
|
|
|
|
cp %{buildroot}%{_datadir}/konqsidebartng/virtual_folders/services/fonts.desktop \
|
|
|
|
cp %{buildroot}%{_datadir}/konqsidebartng/virtual_folders/services/fonts.desktop \
|
|
|
|
%{buildroot}%{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services
|
|
|
|
%{buildroot}%{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# rename script to force it to run again (initial 5.5.0 version was buggy)
|
|
|
|
# rename script to force it to run again (initial 5.5.0 version was buggy)
|
|
|
|
mv %{buildroot}%{_datadir}/plasma/shells/org.kde.plasma.desktop/contents/updates/obsolete_kickoffrc.js \
|
|
|
|
mv %{buildroot}%{_datadir}/plasma/shells/org.kde.plasma.desktop/contents/updates/obsolete_kickoffrc.js \
|
|
|
@ -261,7 +265,6 @@ fi
|
|
|
|
# TODO: -libs subpkg -- rex
|
|
|
|
# TODO: -libs subpkg -- rex
|
|
|
|
%{_kf5_libdir}/libkfontinst.so.*
|
|
|
|
%{_kf5_libdir}/libkfontinst.so.*
|
|
|
|
%{_kf5_libdir}/libkfontinstui.so.*
|
|
|
|
%{_kf5_libdir}/libkfontinstui.so.*
|
|
|
|
#{_kf5_libdir}/libKF5ActivitiesExperimentalStats.so.*
|
|
|
|
|
|
|
|
%{_kf5_qtplugindir}/*.so
|
|
|
|
%{_kf5_qtplugindir}/*.so
|
|
|
|
%{_kf5_qtplugindir}/kcms/*.so
|
|
|
|
%{_kf5_qtplugindir}/kcms/*.so
|
|
|
|
%{_kf5_plugindir}/kded/*.so
|
|
|
|
%{_kf5_plugindir}/kded/*.so
|
|
|
@ -290,10 +293,11 @@ fi
|
|
|
|
%{_kf5_datadir}/kcm_phonon
|
|
|
|
%{_kf5_datadir}/kcm_phonon
|
|
|
|
%{_kf5_datadir}/kfontinst
|
|
|
|
%{_kf5_datadir}/kfontinst
|
|
|
|
%{_kf5_datadir}/kcmkeyboard
|
|
|
|
%{_kf5_datadir}/kcmkeyboard
|
|
|
|
#{_kf5_datadir}/ksmserver
|
|
|
|
|
|
|
|
%{_kf5_datadir}/kpackage/kcms/*
|
|
|
|
%{_kf5_datadir}/kpackage/kcms/*
|
|
|
|
%{_datadir}/konqsidebartng/virtual_folders/services/fonts.desktop
|
|
|
|
%{_datadir}/konqsidebartng/virtual_folders/services/fonts.desktop
|
|
|
|
|
|
|
|
%if %{?konq4}
|
|
|
|
%{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/fonts.desktop
|
|
|
|
%{_datadir}/kde4/apps/konqsidebartng/virtual_folders/services/fonts.desktop
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%{_kf5_datadir}/kf5/kactivitymanagerd/workspace/
|
|
|
|
%{_kf5_datadir}/kf5/kactivitymanagerd/workspace/
|
|
|
|
%{_kf5_datadir}/kcmsolidactions/
|
|
|
|
%{_kf5_datadir}/kcmsolidactions/
|
|
|
|
%{_kf5_datadir}/solid/devices/*.desktop
|
|
|
|
%{_kf5_datadir}/solid/devices/*.desktop
|
|
|
@ -317,28 +321,13 @@ fi
|
|
|
|
%files kimpanel-scim
|
|
|
|
%files kimpanel-scim
|
|
|
|
%{_libexecdir}/kimpanel-scim-panel
|
|
|
|
%{_libexecdir}/kimpanel-scim-panel
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc -f %{name}-doc.lang
|
|
|
|
#lang(ca) %{_docdir}/HTML/ca/kcontrol/
|
|
|
|
|
|
|
|
#lang(ca) %{_docdir}/HTML/ca/kfontview/
|
|
|
|
|
|
|
|
#lang(ca) %{_docdir}/HTML/ca/knetattach/
|
|
|
|
|
|
|
|
#lang(ca) %{_docdir}/HTML/ca/plasma-desktop/
|
|
|
|
|
|
|
|
#lang(cs) %{_docdir}/HTML/cs/kcontrol/
|
|
|
|
|
|
|
|
%lang(de) %{_docdir}/HTML/de/kfontview/
|
|
|
|
|
|
|
|
%lang(de) %{_docdir}/HTML/de/knetattach/
|
|
|
|
|
|
|
|
%lang(de) %{_docdir}/HTML/de/plasma-desktop/
|
|
|
|
|
|
|
|
%lang(en) %{_docdir}/HTML/en/kcontrol/
|
|
|
|
|
|
|
|
%lang(en) %{_docdir}/HTML/en/kfontview/
|
|
|
|
|
|
|
|
%lang(en) %{_docdir}/HTML/en/knetattach/
|
|
|
|
|
|
|
|
%lang(en) %{_docdir}/HTML/en/plasma-desktop/
|
|
|
|
|
|
|
|
%lang(it) %{_docdir}/HTML/it/plasma-desktop
|
|
|
|
|
|
|
|
%lang(nl) %{_docdir}/HTML/nl/plasma-desktop/
|
|
|
|
|
|
|
|
%lang(pt_BR) %{_docdir}/HTML/pt_BR/plasma-desktop/
|
|
|
|
|
|
|
|
%lang(ru) %{_docdir}/HTML/ru/plasma-desktop/
|
|
|
|
|
|
|
|
%lang(sv) %{_docdir}/HTML/sv/plasma-desktop/
|
|
|
|
|
|
|
|
%lang(uk) %{_docdir}/HTML/uk/plasma-desktop/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 26 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.5-1
|
|
|
|
|
|
|
|
- 5.9.5, cleanup, BR: plasma-breeze, use %%find_lang more
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.4-2
|
|
|
|
* Fri Apr 14 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.4-2
|
|
|
|
- pull in upstream fixes, update URL
|
|
|
|
- pull in upstream fixes, update URL
|
|
|
|
|
|
|
|
|
|
|
|