2014-07-11 17:36:21 +00:00
#
2014-07-11 17:39:45 +00:00
# spec file for package plasma5-workspace
2014-07-11 17:36:21 +00:00
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2014-07-11 17:39:45 +00:00
Name : plasma5-workspace
2014-10-15 00:10:53 +00:00
Version : 5.1.0
2014-07-11 17:36:21 +00:00
Release : 0
Summary : The KDE Plasma Workspace Components
License : GPL-2.0+
Group : System/GUI/KDE
Url : http://www.kde.org/
2014-10-15 00:10:53 +00:00
Source : plasma-workspace-%{version} .1.tar.xz
2014-09-11 15:06:32 +00:00
Source1 : baselibs.conf
2014-09-26 14:36:01 +00:00
Source99 : %{name} -rpmlintrc
2014-07-11 17:36:21 +00:00
# PATCH-FIX_OPENSUSE 0001-Rename-qdbus-in-startkde.patch cgiboudeaux@gmx.com -- Rename the qdbus executable in startkde
Patch0 : 0001-Rename-qdbus-in-startkde.patch
2014-08-26 08:46:46 +00:00
# PATCH-FIX_OPENSUSE create_kdehome.patch -- https://bugs.kde.org/show_bug.cgi?id=338422#c8
Patch1 : create_kdehome.patch
2014-09-11 15:06:32 +00:00
# PATCH-FIX_OPENSUSE 0003-Remove-export-of-QT_PLUGIN_PATH.patch -- we install plugins to directory known to Qt5, so export just pollutes both Qt4 and Qt5 plugins
Patch2 : 0003-Remove-export-of-QT_PLUGIN_PATH.patch
2014-10-22 23:29:06 +00:00
# PATCHES 100-1000 and above are from upstream 5.1 branch
# PATCHES 1000 and above are from upstream master/5.2 branch
# PATCH-FIX-UPSTREAM 0001-LocationRunner-Convert-case-insensitive-path-to-a-pr.patch -- kde#333395
Patch1000 : 0001-LocationRunner-Convert-case-insensitive-path-to-a-pr.patch
# PATCH-FIX-UPSTREAM 0002-Baloo-Runner-Lower-relevance-because-krunner-does-no.patch -- make sure that applications are shown as top results in krunner
Patch1001 : 0002-Baloo-Runner-Lower-relevance-because-krunner-does-no.patch
2014-07-11 17:36:21 +00:00
BuildRequires : alsa-devel
BuildRequires : baloo5-devel >= 5.0.0
BuildRequires : kactivities5-devel >= 5.0.0
BuildRequires : kcmutils-devel >= 5.0.0
BuildRequires : kcoreaddons-devel >= 5.0.0
BuildRequires : kcrash-devel >= 5.0.0
BuildRequires : kdeclarative-devel >= 5.0.0
BuildRequires : kdelibs4support-devel >= 5.0.0
BuildRequires : kdesu-devel >= 5.0.0
BuildRequires : kdewebkit-devel >= 5.0.0
BuildRequires : kdoctools-devel >= 5.0.0
BuildRequires : kf5-filesystem
BuildRequires : kidletime-devel >= 5.0.0
BuildRequires : kjsembed-devel >= 5.0.0
BuildRequires : knewstuff-devel >= 5.0.0
BuildRequires : knotifyconfig-devel >= 5.0.0
BuildRequires : krunner-devel >= 5.0.0
BuildRequires : ktexteditor-devel >= 5.0.0
BuildRequires : kwallet-framework-devel >= 5.0.0
BuildRequires : kwin5-devel
BuildRequires : libkscreen2-devel
BuildRequires : libksysguard5-devel
BuildRequires : libxcb-devel
BuildRequires : pam-devel
BuildRequires : phonon4qt5-devel
BuildRequires : plasma-framework-devel >= 5.0.0
BuildRequires : solid-devel >= 5.0.0
BuildRequires : update-desktop-files
BuildRequires : xz
BuildRequires : pkgconfig(Qt5Concurrent) >= 5.3.0
BuildRequires : pkgconfig(Qt5DBus) >= 5.3.0
BuildRequires : pkgconfig(Qt5Qml) >= 5.3.0
BuildRequires : pkgconfig(Qt5Quick) >= 5.3.0
BuildRequires : pkgconfig(Qt5Script) >= 5.3.0
BuildRequires : pkgconfig(Qt5Sql) >= 5.3.0
BuildRequires : pkgconfig(Qt5Test) >= 5.3.0
BuildRequires : pkgconfig(Qt5Widgets) >= 5.3.0
BuildRequires : pkgconfig(Qt5X11Extras) >= 5.3.0
BuildRequires : pkgconfig(dbusmenu-qt5)
BuildRequires : pkgconfig(sm)
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(xcb-icccm)
BuildRequires : pkgconfig(xcb-image)
BuildRequires : pkgconfig(xcb-keysyms)
BuildRequires : pkgconfig(xcursor)
BuildRequires : pkgconfig(xrender)
BuildRequires : pkgconfig(zlib)
Conflicts : kdebase4-workspace
Provides : baloo5-runner
Obsoletes : baloo5-runner
2014-07-11 17:39:45 +00:00
Provides : plasma-workspace5 = %{version}
Obsoletes : plasma-workspace5 <= %{version}
2014-09-23 20:28:50 +00:00
Requires : %{name} -branding = %{_plasma5_branding_version}
2014-07-11 17:36:21 +00:00
# used within startup
Requires : kde-cli-tools5
Requires : kded
Requires : kdelibs4support
Requires : kinit
Requires : kwin5
Requires : libqt5-qttools >= 5.3.0
# contains default style, cursors, etc
Requires : breeze
# needed by krunner
Requires : milou5
# heavily used by plasma
Requires : libqt5-qtquickcontrols
# battery applet
2014-08-22 17:50:28 +00:00
Requires : drkonqi5
Requires : kglobalaccel5
2014-07-11 17:36:21 +00:00
Requires : solid-imports
2014-08-05 18:03:11 +00:00
# dialog/platformtheme/etc
Requires : frameworkintegration-plugin
2014-08-23 19:46:07 +00:00
Requires : libkscreen2-plugin
2014-10-10 20:06:59 +00:00
# hardcode versions of plasma-framework-componets and plasma-framework-private packages, as upstream doesn't keep backwards compability there
%requires_eq plasma-framework-componets
%requires_eq plasma-framework-private
2014-07-11 17:36:21 +00:00
# de-facto even required...
Recommends: kactivities5
# we want wallpaper previews
Recommends: kio-extras5
# notifications...
Recommends: phonon4qt5-backend
# people should be able to adjust desktop
Recommends: systemsettings5
2014-09-11 15:06:32 +00:00
# so Qt4-only apps have some colors in tray
Recommends: sni-qt
2014-07-11 17:36:21 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
This package contains the basic packages for a Plasma workspace.
2014-09-23 20:28:50 +00:00
%package branding-upstream
Summary : The KDE Plasma Workspace Components
Group : System/GUI/KDE
Provides : %{name} -branding = %{_plasma5_branding_version}
Supplements: packageand(plasma5-workspace:branding-upstream)
Conflicts : otherproviders(%{name} -branding)
%description branding-upstream
This package contains the basic packages for a Plasma workspace.
2014-08-06 18:50:21 +00:00
%package -n drkonqi5
Summary : KDE crash handler
Group : Development/Tools/Debuggers
%description -n drkonqi5
The KDE Crash Handler gives the user feedback if a program has crashed.
2014-08-22 17:50:28 +00:00
%package -n kglobalaccel5
Summary : Configurable global shortcut support
Group : System/GUI/KDE
%description -n kglobalaccel5
KGlobalAccel allows you to have global accelerators that are independent
of the focused window. Unlike regular shortcuts, the application's window
does not need focus for them to be activated.
2014-09-11 15:06:32 +00:00
%package libs
Summary : The KDE Plasma Workspace Components
Group : Development/Libraries/KDE
%description libs
This package contains the basic packages for a K Desktop Environment
workspace.
2014-07-11 17:36:21 +00:00
%package devel
Summary : The KDE Plasma Workspace Components
Group : Development/Libraries/KDE
2014-09-11 15:06:32 +00:00
Requires : %{name} -libs = %{version}
2014-07-11 17:36:21 +00:00
Conflicts : kdebase4-workspace-devel
2014-07-11 17:39:45 +00:00
Provides : plasma-workspace5-devel = %{version}
Obsoletes : plasma-workspace5-devel <= %{version}
2014-07-11 17:36:21 +00:00
%description devel
This package contains the basic packages for a K Desktop Environment
workspace. Development files.
2014-09-26 09:23:45 +00:00
%lang_package
2014-07-11 17:36:21 +00:00
%prep
%setup -q -n plasma-workspace-%{version}
%patch0 -p1
2014-08-26 08:46:46 +00:00
%patch1 -p1
2014-09-11 15:06:32 +00:00
%patch2 -p1
2014-10-22 23:29:06 +00:00
%patch1000 -p1
%patch1001 -p1
2014-07-11 17:36:21 +00:00
%build
2014-09-26 09:23:45 +00:00
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DKDE_DEFAULT_HOME=.kde4 -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
2014-07-11 17:36:21 +00:00
%make_jobs
%install
%kf5_makeinstall -C build
install -p -D -m755 drkonqi/doc/examples/installdbgsymbols_suse.sh \
%{buildroot} /usr/bin/installdbgsymbols.sh
# we have a separate package for Plasma5 session
2014-09-11 16:53:15 +00:00
rm -rfv %{buildroot} %{_kf5_sharedir}/xsessions
# as the name says, this is private library
rm -rfv %{buildroot} %{_kf5_libdir}/libKF5XmlRpcClientPrivate.so
2014-07-11 17:36:21 +00:00
2014-08-06 18:52:58 +00:00
%post -p /sbin/ldconfig
2014-07-11 17:36:21 +00:00
%postun -p /sbin/ldconfig
2014-09-11 15:06:32 +00:00
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
2014-08-06 18:52:58 +00:00
%post -n drkonqi5 -p /sbin/ldconfig
%postun -n drkonqi5 -p /sbin/ldconfig
2014-08-22 17:50:28 +00:00
%post -n kglobalaccel5 -p /sbin/ldconfig
%postun -n kglobalaccel5 -p /sbin/ldconfig
2014-09-11 15:06:32 +00:00
%files libs
%defattr (-,root,root)
%doc COPYING*
%{_kf5_libdir}/libkworkspace5.so.*
%{_kf5_libdir}/libplasma-geolocation-interface.so.*
%{_kf5_libdir}/libtaskmanager.so.*
%{_kf5_libdir}/libweather_ion.so.*
2014-07-11 17:36:21 +00:00
%files
%defattr (-,root,root)
%doc COPYING*
%{_kf5_bindir}/kcheckrunning
%{_kf5_bindir}/kcminit
%{_kf5_bindir}/kcminit_startup
%{_kf5_bindir}/kdostartupconfig5
%{_kf5_bindir}/klipper
%{_kf5_bindir}/krunner
%{_kf5_bindir}/ksmserver
%{_kf5_bindir}/ksplashqml
%{_kf5_bindir}/kstartupconfig5
%{_kf5_bindir}/kuiserver5
%{_kf5_bindir}/plasmashell
2014-09-11 15:06:32 +00:00
%{_kf5_bindir}/plasmawindowed
2014-07-11 17:36:21 +00:00
%{_kf5_bindir}/startkde
%{_kf5_bindir}/systemmonitor
%{_kf5_configdir}/autostart/org.kde.klipper.desktop
%{_kf5_configdir}/autostart/plasmashell.desktop
%{_kf5_configdir}/autostart/krunner.desktop
%config %{_kf5_configdir}/plasmoids.knsrc
%config %{_kf5_configdir}/wallpaper.knsrc
%dir %{_kf5_libdir}/libexec
%{_kf5_libdir}/libexec/kcheckpass
%{_kf5_libdir}/libexec/kscreenlocker_greet
%{_kf5_libdir}/libexec/ksyncdbusenv
%{_kf5_libdir}/libkdeinit5_kcminit.so
%{_kf5_libdir}/libkdeinit5_kcminit_startup.so
%{_kf5_libdir}/libkdeinit5_klipper.so
%{_kf5_libdir}/libkdeinit5_ksmserver.so
%{_kf5_libdir}/libkdeinit5_kuiserver5.so
%{_kf5_plugindir}/
%{_kf5_qmldir}/
%{_kf5_applicationsdir}/org.kde.klipper.desktop
2014-09-11 15:06:32 +00:00
%{_kf5_applicationsdir}/plasma-windowed.desktop
2014-07-11 17:36:21 +00:00
%{_kf5_configkcfgdir}/freespacenotifier.kcfg
%{_kf5_sharedir}/dbus-1/services/kf5_org.kde.kuiserver.service
%{_kf5_sharedir}/dbus-1/services/org.kde.krunner.service
%{_kf5_sharedir}/desktop-directories/
%dir %{_kf5_htmldir}/en
%dir %{_kf5_htmldir}
%doc %{_kf5_htmldir}/en/klipper/
%{_kf5_notifydir}/
%{_kf5_servicesdir}/
%{_kf5_servicetypesdir}/
%{_kf5_sharedir}/ksmserver/
%{_kf5_sharedir}/ksplash/
%{_kf5_sharedir}/kstyle/
%{_kf5_plasmadir}/
%{_kf5_sharedir}/solid/
%{_kf5_sharedir}/sddm/
2014-08-22 17:50:28 +00:00
%exclude %{_kf5_servicesdir}/kglobalaccel5.desktop
2014-07-11 17:36:21 +00:00
2014-08-06 18:50:21 +00:00
%files -n drkonqi5
%defattr (-,root,root)
%doc COPYING*
%{_kf5_bindir}/installdbgsymbols.sh
%dir %{_kf5_libdir}/libexec
%{_kf5_libdir}/libexec/drkonqi
%{_kf5_sharedir}/drkonqi/
%{_kf5_libdir}/libKF5XmlRpcClientPrivate.so.*
2014-08-22 17:50:28 +00:00
%files -n kglobalaccel5
%defattr (-,root,root)
%doc COPYING*
%{_kf5_bindir}/kglobalaccel5
%{_kf5_libdir}/libkdeinit5_kglobalaccel5.so
%{_kf5_sharedir}/dbus-1/services/org.kde.kglobalaccel.service
%{_kf5_servicesdir}/kglobalaccel5.desktop
2014-09-23 20:28:50 +00:00
%files branding-upstream
%defattr (-,root,root)
%doc COPYING*
2014-07-11 17:36:21 +00:00
%files devel
%defattr (-,root,root)
%doc COPYING*
2014-09-11 15:06:32 +00:00
%{_kf5_prefix}/include/KDE/
%{_kf5_prefix}/include/kworkspace5/
%{_kf5_prefix}/include/plasma/
%{_kf5_prefix}/include/taskmanager/
2014-07-11 17:36:21 +00:00
%{_kf5_libdir}/cmake/KRunnerAppDBusInterface/
%{_kf5_libdir}/cmake/KSMServerDBusInterface/
%{_kf5_libdir}/cmake/LibKWorkspace/
%{_kf5_libdir}/cmake/LibTaskManager/
%{_kf5_libdir}/cmake/ScreenSaverDBusInterface/
2014-09-11 15:06:32 +00:00
%{_kf5_libdir}/libkworkspace5.so
2014-07-11 17:36:21 +00:00
%{_kf5_libdir}/libplasma-geolocation-interface.so
%{_kf5_libdir}/libtaskmanager.so
%{_kf5_libdir}/libweather_ion.so
%{_kf5_sharedir}/dbus-1/interfaces/
2014-09-26 09:23:45 +00:00
%files lang
%defattr (-,root,root)
%{_kf5_localedir}/
2014-07-11 17:36:21 +00:00
%changelog