|
@@ -1,57 +1,73 @@
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
-# for .0 releases we have to use '00' as '0' is treated as null by cmake, dont' forget to update
|
|
|
|
-%define kde4workspace_version 4.6.4
|
|
|
|
-
|
|
|
|
Name: kdebase-workspace
|
|
Name: kdebase-workspace
|
|
Summary: KDE Workspace
|
|
Summary: KDE Workspace
|
|
Summary(ja): KDE ワークスペース
|
|
Summary(ja): KDE ワークスペース
|
|
-Version: 4.6.4
|
|
+Version: 4.7.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: User Interface/Desktops
|
|
Group: User Interface/Desktops
|
|
URL: http://www.kde.org/
|
|
URL: http://www.kde.org/
|
|
|
|
|
|
-Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdebase-workspace-%{version}.tar.bz2
|
|
+Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kde-workspace-%{version}.tar.bz2
|
|
|
|
+Source1: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kde-wallpapers-%{version}.tar.bz2
|
|
|
|
|
|
# RH/Fedora-specific startkde changes
|
|
# RH/Fedora-specific startkde changes
|
|
-Patch1: kdebase-workspace-4.5.80-redhat_startkde.patch
|
|
+Patch1: kdebase-workspace-4.6.95-redhat_startkde.patch
|
|
|
|
+
|
|
# add konsole menuitem
|
|
# add konsole menuitem
|
|
Patch2: kdebase-workspace-4.5.0-plasma-konsole.patch
|
|
Patch2: kdebase-workspace-4.5.0-plasma-konsole.patch
|
|
|
|
+
|
|
# only show in KDE
|
|
# only show in KDE
|
|
Patch3: kdebase-workspace-4.4.92-systemsettings_onlyshowin_kde.patch
|
|
Patch3: kdebase-workspace-4.4.92-systemsettings_onlyshowin_kde.patch
|
|
|
|
+
|
|
# 441062: packagekit tools do not show icons correctly on KDE
|
|
# 441062: packagekit tools do not show icons correctly on KDE
|
|
-Patch7: kdebase-workspace-4.0.3-krdb.patch
|
|
+Patch7: kdebase-workspace-4.6.80-krdb.patch
|
|
|
|
+
|
|
# correct quoting
|
|
# correct quoting
|
|
Patch8: kdebase-workspace-4.2.85-klipper-url.patch
|
|
Patch8: kdebase-workspace-4.2.85-klipper-url.patch
|
|
|
|
+
|
|
# 434824: KDE4 System Settings - No Method To Enter Administrative Mode
|
|
# 434824: KDE4 System Settings - No Method To Enter Administrative Mode
|
|
Patch9: kdebase-workspace-4.4.90-rootprivs.patch
|
|
Patch9: kdebase-workspace-4.4.90-rootprivs.patch
|
|
|
|
+
|
|
# drop useless kde font directories
|
|
# drop useless kde font directories
|
|
-Patch11: kdebase-workspace-4.1.96-font.patch
|
|
+Patch11: kdebase-workspace-4.6.90-font.patch
|
|
|
|
+
|
|
# no klipper action on selection for Arora browser
|
|
# no klipper action on selection for Arora browser
|
|
Patch14: kdebase-workspace-4.2.0-klipper-arora.patch
|
|
Patch14: kdebase-workspace-4.2.0-klipper-arora.patch
|
|
|
|
+
|
|
# kio_sysinfo based on OpenSUSE's patch
|
|
# kio_sysinfo based on OpenSUSE's patch
|
|
Patch15: kdebase-workspace-4.3.75-kio_sysinfo.patch
|
|
Patch15: kdebase-workspace-4.3.75-kio_sysinfo.patch
|
|
|
|
+
|
|
# show the remaining time in the battery plasmoid's popup (#515166)
|
|
# show the remaining time in the battery plasmoid's popup (#515166)
|
|
Patch16: kdebase-workspace-4.5.80-battery-plasmoid-showremainingtime.patch
|
|
Patch16: kdebase-workspace-4.5.80-battery-plasmoid-showremainingtime.patch
|
|
|
|
+
|
|
# allow adding a "Leave..." button which brings up the complete shutdown dialog
|
|
# allow adding a "Leave..." button which brings up the complete shutdown dialog
|
|
# to the classic menu (as in KDE <= 4.2.x); the default is still the upstream
|
|
# to the classic menu (as in KDE <= 4.2.x); the default is still the upstream
|
|
# default Leave submenu
|
|
# default Leave submenu
|
|
Patch17: kdebase-workspace-4.5.80-classicmenu-logout.patch
|
|
Patch17: kdebase-workspace-4.5.80-classicmenu-logout.patch
|
|
|
|
+
|
|
# kubuntu kudos! bulletproof-X bits ripped out
|
|
# kubuntu kudos! bulletproof-X bits ripped out
|
|
Patch19: kdebase-workspace-4.4.92-kdm_plymouth081.patch
|
|
Patch19: kdebase-workspace-4.4.92-kdm_plymouth081.patch
|
|
Patch20: kdebase-workspace-4.4.92-xsession_errors_O_APPEND.patch
|
|
Patch20: kdebase-workspace-4.4.92-xsession_errors_O_APPEND.patch
|
|
|
|
+
|
|
# support the widgetStyle4 hack in the Qt KDE platform plugin
|
|
# support the widgetStyle4 hack in the Qt KDE platform plugin
|
|
Patch21: kdebase-workspace-4.3.98-platformplugin-widgetstyle4.patch
|
|
Patch21: kdebase-workspace-4.3.98-platformplugin-widgetstyle4.patch
|
|
|
|
+
|
|
# drop hard dep on xorg-x11-apps (for xmessage), http://bugzilla.redhat.com/537609
|
|
# drop hard dep on xorg-x11-apps (for xmessage), http://bugzilla.redhat.com/537609
|
|
Patch23: kdebase-workspace-4.5.2-startkde_zenity.patch
|
|
Patch23: kdebase-workspace-4.5.2-startkde_zenity.patch
|
|
|
|
|
|
-# upstream patches:
|
|
+# multilib QT_PLUGIN_PATH, http://bugzilla.redhat.com/704840
|
|
|
|
+Patch24: kdebase-workspace-4.6.90-multilib_qt_plugin_path.patch
|
|
|
|
+
|
|
|
|
+## upstreamable patches:
|
|
# "keyboard stops working", https://bugs.kde.org/show_bug.cgi?id=171685#c135
|
|
# "keyboard stops working", https://bugs.kde.org/show_bug.cgi?id=171685#c135
|
|
-Patch50: kdebase-workspace-4.3.3-kde#171685.patch
|
|
+Patch50: kdebase-workspace-4.6.80-kde#171685.patch
|
|
|
|
|
|
-## 4.6 patches
|
|
+# fix for "lightdm integration breaks gdm integration" (4.7 regression)
|
|
|
|
+# https://bugs.kde.org/show_bug.cgi?id=278206 (patch by Alex Fiestas)
|
|
|
|
+Patch51: kdebase-workspace-4.7.0-kde#278206.patch
|
|
|
|
|
|
# trunk
|
|
# trunk
|
|
# HALsectomy
|
|
# HALsectomy
|
|
@@ -73,55 +89,48 @@ BuildRequires: google-gadgets-devel >= 0.10.5
|
|
BuildRequires: gpsd-devel
|
|
BuildRequires: gpsd-devel
|
|
BuildRequires: kdelibs4-devel >= %{version}
|
|
BuildRequires: kdelibs4-devel >= %{version}
|
|
BuildRequires: kdepimlibs-devel >= %{version}
|
|
BuildRequires: kdepimlibs-devel >= %{version}
|
|
-BuildRequires: libcaptury-devel
|
|
+#BuildRequires: libcaptury-devel
|
|
-BuildRequires: libboost-devel
|
|
+#BuildRequires: libboost-devel
|
|
BuildRequires: libdmtx-devel
|
|
BuildRequires: libdmtx-devel
|
|
BuildRequires: libqalculate-devel
|
|
BuildRequires: libqalculate-devel
|
|
BuildRequires: libraw1394-devel
|
|
BuildRequires: libraw1394-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libutempter-devel
|
|
BuildRequires: libutempter-devel
|
|
-%if %{?_dist_release} !="vl5"
|
|
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libuuid-devel
|
|
-%else
|
|
|
|
-BuildRequires: e2fsprogs-devel
|
|
|
|
-%endif
|
|
|
|
BuildRequires: libxklavier-devel >= 3.0
|
|
BuildRequires: libxklavier-devel >= 3.0
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libxml2-devel
|
|
|
|
+BuildRequires: libXau-devel
|
|
|
|
+BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libXpm-devel
|
|
BuildRequires: libXres-devel
|
|
BuildRequires: libXres-devel
|
|
BuildRequires: libXScrnSaver-devel
|
|
BuildRequires: libXScrnSaver-devel
|
|
BuildRequires: libXtst-devel
|
|
BuildRequires: libXtst-devel
|
|
BuildRequires: libxkbfile-devel
|
|
BuildRequires: libxkbfile-devel
|
|
BuildRequires: lm-sensors-devel
|
|
BuildRequires: lm-sensors-devel
|
|
-BuildRequires: NetworkManager-devel
|
|
+BuildRequires: NetworkManager-devel NetworkManager-glib-devel
|
|
BuildRequires: pam-devel
|
|
BuildRequires: pam-devel
|
|
BuildRequires: pciutils-devel
|
|
BuildRequires: pciutils-devel
|
|
BuildRequires: polkit-qt-devel
|
|
BuildRequires: polkit-qt-devel
|
|
|
|
+BuildRequires: prison-devel
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-devel
|
|
-BuildRequires: qedje-devel >= 0.4.0
|
|
+#BuildRequires: qedje-devel >= 0.4.0
|
|
BuildRequires: qimageblitz-devel
|
|
BuildRequires: qimageblitz-devel
|
|
BuildRequires: soprano-devel
|
|
BuildRequires: soprano-devel
|
|
# dropt by Patch700
|
|
# dropt by Patch700
|
|
#BuildRequires: xmms-devel
|
|
#BuildRequires: xmms-devel
|
|
-%if %{?_dist_release} !="vl5"
|
|
|
|
BuildRequires: xz-devel
|
|
BuildRequires: xz-devel
|
|
-%endif
|
|
|
|
|
|
|
|
-Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
-%if %{?_dist_release} != "vl5"
|
|
|
|
Requires: polkit-kde
|
|
Requires: polkit-kde
|
|
-%endif
|
|
+
|
|
|
|
+Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
+Requires: kdebase-runtime >= %{version}
|
|
|
|
|
|
# would much rather these deps be elsewhere,
|
|
# would much rather these deps be elsewhere,
|
|
# but adding here doesn't hurt either -- Rex
|
|
# but adding here doesn't hurt either -- Rex
|
|
-Requires: kdebase-runtime >= %{version}
|
|
|
|
Requires: oxygen-icon-theme >= 4.2.2
|
|
Requires: oxygen-icon-theme >= 4.2.2
|
|
|
|
|
|
# for kcm_keyboard
|
|
# for kcm_keyboard
|
|
Requires: iso-codes
|
|
Requires: iso-codes
|
|
-
|
|
|
|
-# pkg-splits, upgrade path
|
|
|
|
-#Requires: kdm = %{version}-%{release}
|
|
|
|
Requires: kio_sysinfo
|
|
Requires: kio_sysinfo
|
|
Requires: ksysguardd = %{version}-%{release}
|
|
Requires: ksysguardd = %{version}-%{release}
|
|
|
|
|
|
@@ -137,13 +146,15 @@ Requires: xorg-x11-server-utils
|
|
Requires: nepomukcontroller
|
|
Requires: nepomukcontroller
|
|
|
|
|
|
# moving to non-multilib hack
|
|
# moving to non-multilib hack
|
|
-Obsoletes: kdebase-workspace < 4.3.0-2
|
|
+Obsoletes: kdebase-workspace < 4.6.3-5
|
|
|
|
|
|
Provides: plasma-dataengine-calendar = %{version}-%{release}
|
|
Provides: plasma-dataengine-calendar = %{version}-%{release}
|
|
|
|
+Provides: kde-workspace = %{version}-%{release}
|
|
|
|
|
|
-%if %{?_dist_release} == "vl5"
|
|
+# kinfocenter moved kdebase-4.4 -> kdebase-workspace-4.5
|
|
-Conflicts: kdebase3
|
|
+Conflicts: kdebase4 < 4.4.80
|
|
-%endif
|
|
+# kgreet_* plugins moved here
|
|
|
|
+Conflicts: kdm < 4.6.90-4
|
|
|
|
|
|
%description
|
|
%description
|
|
The KDE Workspace consists of what is the desktop of the
|
|
The KDE Workspace consists of what is the desktop of the
|
|
@@ -166,7 +177,6 @@ Summary(ja): %{name} の開発用ファイル
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
Requires: kdelibs4-devel
|
|
Requires: kdelibs4-devel
|
|
-Obsoletes: PolicyKit-kde-devel < 4.3.0
|
|
|
|
Provides: solid-bluetooth-devel = %{version}-%{release}
|
|
Provides: solid-bluetooth-devel = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
@@ -189,10 +199,21 @@ Provides: solid-bluetooth = %{version}-%{release}
|
|
%description -l ja libs
|
|
%description -l ja libs
|
|
%{name} のランタイムライブラリです.
|
|
%{name} のランタイムライブラリです.
|
|
|
|
|
|
|
|
+%package ksplash-themes
|
|
|
|
+Summary: KDE ksplash themes
|
|
|
|
+Group: User Interface/Desktops
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+BuildArch: noarch
|
|
|
|
+
|
|
|
|
+%description ksplash-themes
|
|
|
|
+%{summary}, including Default (Air and Horos).
|
|
|
|
+
|
|
%package wallpapers
|
|
%package wallpapers
|
|
Summary: KDE wallpapers
|
|
Summary: KDE wallpapers
|
|
Summary(ja): KDE ワークスペース用のデスクトップ壁紙集
|
|
Summary(ja): KDE ワークスペース用のデスクトップ壁紙集
|
|
Group: User Interface/Desktops
|
|
Group: User Interface/Desktops
|
|
|
|
+Provides: kde-wallpapers = %{version}-%{release}
|
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
%description wallpapers
|
|
%description wallpapers
|
|
%{summary}.
|
|
%{summary}.
|
|
@@ -205,9 +226,6 @@ Provides: kdebase-kdm = %{version}-%{release}
|
|
Provides: service(graphical-login) = kdm
|
|
Provides: service(graphical-login) = kdm
|
|
Requires: kdelibs4 >= %{version}
|
|
Requires: kdelibs4 >= %{version}
|
|
Requires: kde-settings-kdm
|
|
Requires: kde-settings-kdm
|
|
-%if %{?_dist_release} == "vl5"
|
|
|
|
-Conflicts: kdebase3
|
|
|
|
-%endif
|
|
|
|
|
|
|
|
%description -n kdm
|
|
%description -n kdm
|
|
KDM provides the graphical login screen, shown shortly after boot up,
|
|
KDM provides the graphical login screen, shown shortly after boot up,
|
|
@@ -217,9 +235,6 @@ log out, and when user switching.
|
|
Summary: Performance monitor daemon
|
|
Summary: Performance monitor daemon
|
|
Summary(ja): パフォーマンス監視デーモン
|
|
Summary(ja): パフォーマンス監視デーモン
|
|
Group: Applications/Services
|
|
Group: Applications/Services
|
|
-%if %{?_dist_release} == "vl5"
|
|
|
|
-Conflicts: kdebase3
|
|
|
|
-%endif
|
|
|
|
|
|
|
|
%description -n ksysguardd
|
|
%description -n ksysguardd
|
|
%{summary}.
|
|
%{summary}.
|
|
@@ -228,6 +243,7 @@ Conflicts: kdebase3
|
|
Summary: Oxygen cursor themes
|
|
Summary: Oxygen cursor themes
|
|
Summary(ja): Oxygen カーソルテーマ
|
|
Summary(ja): Oxygen カーソルテーマ
|
|
Group: User Interface/Desktops
|
|
Group: User Interface/Desktops
|
|
|
|
+BuildArch: noarch
|
|
|
|
|
|
%description -n oxygen-cursor-themes
|
|
%description -n oxygen-cursor-themes
|
|
%{summary}.
|
|
%{summary}.
|
|
@@ -279,14 +295,20 @@ Requires: akonadi
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q
|
|
+%setup -q -T -c -a 0
|
|
|
|
+%setup -q -T -D -a 1
|
|
|
|
+
|
|
|
|
+# mimic old kdebase-workspace behaviour to match package name
|
|
|
|
+mv kde-workspace-%{version} %{name}-%{version}
|
|
|
|
+
|
|
|
|
+pushd %{name}-%{version}
|
|
|
|
|
|
%patch1 -p1 -b .redhat_startkde
|
|
%patch1 -p1 -b .redhat_startkde
|
|
# Well, I looked at doing this using the context menu plugin system and it
|
|
# Well, I looked at doing this using the context menu plugin system and it
|
|
# looked like a lot more work than this simple patch to me. -- Kevin
|
|
# looked like a lot more work than this simple patch to me. -- Kevin
|
|
%patch2 -p1 -b .plasma-konsole
|
|
%patch2 -p1 -b .plasma-konsole
|
|
%patch3 -p1 -b .systemsettings_onlyshowin_kde
|
|
%patch3 -p1 -b .systemsettings_onlyshowin_kde
|
|
-%patch7 -p0 -b .krdb
|
|
+%patch7 -p1 -b .krdb
|
|
%patch8 -p1 -b .klipper-url
|
|
%patch8 -p1 -b .klipper-url
|
|
%patch9 -p1 -b .rootprivs
|
|
%patch9 -p1 -b .rootprivs
|
|
%patch11 -p1 -b .font
|
|
%patch11 -p1 -b .font
|
|
@@ -297,49 +319,70 @@ Requires: akonadi
|
|
%patch20 -p1 -b .xsession_errors_O_APPEND
|
|
%patch20 -p1 -b .xsession_errors_O_APPEND
|
|
%patch21 -p1 -b .platformplugin-widgetstyle4
|
|
%patch21 -p1 -b .platformplugin-widgetstyle4
|
|
%patch23 -p1 -b .startkde_zenity
|
|
%patch23 -p1 -b .startkde_zenity
|
|
|
|
+%patch24 -p1 -b .multilib_qt_plugin_path
|
|
|
|
|
|
-# upstream patches
|
|
+# upstreamable patches
|
|
%patch50 -p1 -b .kde#171685
|
|
%patch50 -p1 -b .kde#171685
|
|
|
|
+%patch51 -p1 -b .kde#278206
|
|
|
|
|
|
-# 4.6 patches
|
|
+# upstream patches
|
|
-
|
|
|
|
-# trunk patches
|
|
|
|
|
|
|
|
# Fedora patches
|
|
# Fedora patches
|
|
-#if 0%{?fedora} && 0%{?fedora} > 14
|
|
|
|
%patch200 -p0 -b .no_HAL
|
|
%patch200 -p0 -b .no_HAL
|
|
%patch210 -p1 -b .no_HAL2
|
|
%patch210 -p1 -b .no_HAL2
|
|
-#endif
|
|
|
|
|
|
|
|
# Vine patches
|
|
# Vine patches
|
|
%patch700 -p1 -b .noxmms
|
|
%patch700 -p1 -b .noxmms
|
|
|
|
+popd
|
|
|
|
+
|
|
|
|
|
|
%build
|
|
%build
|
|
-mkdir -p %{_target_platform}
|
|
+pushd %{name}-%{version}
|
|
-pushd %{_target_platform}
|
|
+ mkdir -p %{_target_platform}
|
|
-unset QTDIR || : ; . /etc/profile.d/qt4.sh
|
|
+ pushd %{_target_platform}
|
|
-%cmake \
|
|
+ unset QTDIR || : ; . /etc/profile.d/qt4.sh
|
|
- -DCMAKE_BUILD_TYPE=release \
|
|
+ %cmake \
|
|
- -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
+ -DCMAKE_BUILD_TYPE=release \
|
|
- -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
|
|
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
- -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
|
|
+ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
|
|
- -DLIB_INSTALL_DIR:PATH=%{_libdir} \
|
|
+ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
|
|
- -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
|
|
+ -DLIB_INSTALL_DIR:PATH=%{_libdir} \
|
|
- -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
|
|
+ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
|
|
- -DKDE4_KDM_PAM_SERVICE=kdm \
|
|
+ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
|
|
- -DKDE4_KCHECKPASS_PAM_SERVICE=kcheckpass \
|
|
+ -DKDE4_KDM_PAM_SERVICE=kdm \
|
|
- -DKDE4_KSCREENSAVER_PAM_SERVICE=kscreensaver \
|
|
+ -DKDE4_KCHECKPASS_PAM_SERVICE=kcheckpass \
|
|
- ..
|
|
+ -DKDE4_KSCREENSAVER_PAM_SERVICE=kscreensaver \
|
|
|
|
+ ..
|
|
|
|
+ popd
|
|
|
|
+
|
|
|
|
+ make -C %{_target_platform}
|
|
|
|
+
|
|
popd
|
|
popd
|
|
|
|
|
|
-# FIXME: not smp-safe?
|
|
+pushd kde-wallpapers-%{version}
|
|
-make -C %{_target_platform}
|
|
+ mkdir -p %{_target_platform}
|
|
|
|
+ pushd %{_target_platform}
|
|
|
|
+ unset QTDIR || : ; . /etc/profile.d/qt4.sh
|
|
|
|
+ %cmake \
|
|
|
|
+ -DCMAKE_BUILD_TYPE=release \
|
|
|
|
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
|
|
+ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
|
|
|
|
+ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
|
|
|
|
+ -DLIB_INSTALL_DIR:PATH=%{_libdir} \
|
|
|
|
+ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
|
|
|
|
+ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
|
|
|
|
+ ..
|
|
|
|
+ popd
|
|
|
|
+
|
|
|
|
+ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
+popd
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
|
|
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{name}-%{version}/%{_target_platform}
|
|
|
|
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C kde-wallpapers-%{version}/%{_target_platform}
|
|
|
|
|
|
# xsession support
|
|
# xsession support
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/xsessions/
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/xsessions/
|
|
@@ -360,35 +403,10 @@ ln -sf ../pics/users/%{default_face_icon} .default.face.icon
|
|
popd
|
|
popd
|
|
|
|
|
|
## unpackaged files
|
|
## unpackaged files
|
|
-rm -fv $RPM_BUILD_ROOT%{_libdir}/kde4/libpolkitkdeprivate*.so
|
|
|
|
-
|
|
|
|
-%if %{?_dist_release} == "vl5"
|
|
|
|
-# move devel symlinks (for Vine Linux 5)
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_libdir}/kde4/devel
|
|
|
|
-pushd $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
-for i in lib*.so
|
|
|
|
-do
|
|
|
|
- case "$i" in
|
|
|
|
-# conflicts with kdelibs3
|
|
|
|
- libkscreensaver.so)
|
|
|
|
- linktarget=`readlink "$i"`
|
|
|
|
- rm -f "$i"
|
|
|
|
- ln -sf "../../$linktarget" "kde4/devel/$i"
|
|
|
|
- ;;
|
|
|
|
-# conflicts with kdebase3
|
|
|
|
- libkdecorations.so | libkfontinst.so | libksgrd.so | libtaskmanager.so)
|
|
|
|
- linktarget=`readlink "$i"`
|
|
|
|
- rm -f "$i"
|
|
|
|
- ln -sf "../../$linktarget" "kde4/devel/$i"
|
|
|
|
- ;;
|
|
|
|
- esac
|
|
|
|
-done
|
|
|
|
-popd
|
|
|
|
-%endif
|
|
|
|
|
|
|
|
%check
|
|
%check
|
|
for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
|
|
for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
|
|
- desktop-file-validate $f
|
|
+ desktop-file-validate $f
|
|
done
|
|
done
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -419,7 +437,7 @@ fi
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc COPYING README
|
|
+#doc COPYING README
|
|
%{_bindir}/kaccess
|
|
%{_bindir}/kaccess
|
|
%{_bindir}/kapplymousetheme
|
|
%{_bindir}/kapplymousetheme
|
|
%{_bindir}/kblankscrn.kss
|
|
%{_bindir}/kblankscrn.kss
|
|
@@ -447,6 +465,7 @@ fi
|
|
%{_bindir}/kwin*
|
|
%{_bindir}/kwin*
|
|
%{_bindir}/oxygen-demo
|
|
%{_bindir}/oxygen-demo
|
|
%{_bindir}/oxygen-settings
|
|
%{_bindir}/oxygen-settings
|
|
|
|
+%{_bindir}/oxygen-shadow-demo
|
|
%{_bindir}/plasma-desktop
|
|
%{_bindir}/plasma-desktop
|
|
%{_bindir}/plasma-netbook
|
|
%{_bindir}/plasma-netbook
|
|
%{_bindir}/plasma-overlay
|
|
%{_bindir}/plasma-overlay
|
|
@@ -454,6 +473,7 @@ fi
|
|
%{_bindir}/plasmaengineexplorer
|
|
%{_bindir}/plasmaengineexplorer
|
|
%{_bindir}/plasmoidviewer
|
|
%{_bindir}/plasmoidviewer
|
|
%{_bindir}/plasmawallpaperviewer
|
|
%{_bindir}/plasmawallpaperviewer
|
|
|
|
+%{_bindir}/remote-widgets-browser
|
|
%{_bindir}/solid-action-desktop-gen
|
|
%{_bindir}/solid-action-desktop-gen
|
|
%{_bindir}/solid-network
|
|
%{_bindir}/solid-network
|
|
%{_bindir}/startkde
|
|
%{_bindir}/startkde
|
|
@@ -465,6 +485,7 @@ fi
|
|
%{_datadir}/kde4/apps/kaccess/
|
|
%{_datadir}/kde4/apps/kaccess/
|
|
%{_datadir}/kde4/apps/katepart/syntax/plasma-desktop-js.xml
|
|
%{_datadir}/kde4/apps/katepart/syntax/plasma-desktop-js.xml
|
|
%{_datadir}/kde4/apps/kcminput/
|
|
%{_datadir}/kde4/apps/kcminput/
|
|
|
|
+%{_datadir}/kde4/apps/kcmkeyboard/
|
|
%{_datadir}/kde4/apps/kcmkeys/
|
|
%{_datadir}/kde4/apps/kcmkeys/
|
|
%{_datadir}/kde4/apps/kcmsolidactions/
|
|
%{_datadir}/kde4/apps/kcmsolidactions/
|
|
%{_datadir}/kde4/apps/kcmusb/
|
|
%{_datadir}/kde4/apps/kcmusb/
|
|
@@ -504,6 +525,7 @@ fi
|
|
%{_datadir}/config/plasma-overlayrc
|
|
%{_datadir}/config/plasma-overlayrc
|
|
%{_datadir}/config/plasma-themes.knsrc
|
|
%{_datadir}/config/plasma-themes.knsrc
|
|
%{_datadir}/config/wallpaper.knsrc
|
|
%{_datadir}/config/wallpaper.knsrc
|
|
|
|
+%{_datadir}/config/xcursor.knsrc
|
|
|
|
|
|
%{_datadir}/kde4/services/*
|
|
%{_datadir}/kde4/services/*
|
|
%exclude %{_datadir}/kde4/services/kdm.desktop
|
|
%exclude %{_datadir}/kde4/services/kdm.desktop
|
|
@@ -624,7 +646,7 @@ fi
|
|
%endif
|
|
%endif
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
%{_datadir}/kde4/apps/cmake/modules/*.cmake
|
|
%{_datadir}/kde4/apps/cmake/modules/*.cmake
|
|
-%{_libdir}/cmake/KDE4Workspace-%{kde4workspace_version}/
|
|
+%{_libdir}/cmake/KDE4Workspace/*
|
|
%exclude %{_libdir}/libkdeinit*.so
|
|
%exclude %{_libdir}/libkdeinit*.so
|
|
%exclude %{_libdir}/libkickoff.so
|
|
%exclude %{_libdir}/libkickoff.so
|
|
%exclude %{_libdir}/libpowerdevilui.so
|
|
%exclude %{_libdir}/libpowerdevilui.so
|
|
@@ -695,6 +717,9 @@ fi
|
|
%{_datadir}/kde4/services/plasma-engine-akonadi.desktop
|
|
%{_datadir}/kde4/services/plasma-engine-akonadi.desktop
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.7.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Tue Jun 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.4-1
|
|
* Tue Jun 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.4-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|