plasma-workspace/plasma-workspace.spec

371 lines
13 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: plasma-workspace
Version: 5.11.5
Release: 2mamba
Summary: KDE Frameworks 5 Workspace
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/plasma-workspace-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
Source1: plasma-workspace-pam
Source2: plasma-workspace-pam-no-password
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libattica5-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdelibs4support-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknewstuff-devel
BuildRequires: libknotifications-devel
BuildRequires: libkpackage-devel
BuildRequires: libkparts-devel
BuildRequires: libkross-devel
BuildRequires: libkrunner-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkunitconversion-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libplasma-framework-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libkscreen-devel >= 5.6.1-1mamba
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRequires: libkwin-devel
BuildRequires: kscreenlocker
Requires: kscreenlocker
Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: ksysguard
Requires: milou
Requires: kglobalaccel
Requires: kded
Requires: kwin
Requires: systemsettings
Requires: kgamma5
Requires: kactivitymanagerd
Requires: khotkeys
Requires: ksysguard
Requires: kscreen
Requires: kmenuedit
Requires: discover
Requires: kinfocenter5
Requires: plasma-nm
Requires: plasma-pa
Requires: plasma-desktop
Requires: plasma-integration
Requires: powerdevil
Requires: polkit-kde-agent-1
Requires: discover
Requires: drkonqi
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 Workspace.
%package common
Group: Graphical Desktop/Applications/Environment
Summary: KDE Frameworks 5 Workspace common files for KDE4 transition.
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description common
KDE Frameworks 5 Workspace common files for KDE4 transition.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/kde
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kde-np
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/krunner.desktop
%{_sysconfdir}/xdg/autostart/klipper.desktop
%{_sysconfdir}/xdg/autostart/org.kde.plasmashell.desktop
%{_sysconfdir}/xdg/autostart/xembedsniproxy.desktop
%{_sysconfdir}/xdg/kuiserver.categories
%{_sysconfdir}/pam.d/kde
%{_sysconfdir}/pam.d/kde-np
%{_bindir}/kcheckrunning
%{_bindir}/kcminit
%{_bindir}/kcminit_startup
%{_bindir}/klipper
%{_bindir}/krunner
%{_bindir}/ksmserver
%{_bindir}/ksplashqml
%{_bindir}/startkde
%{_datadir}/dbus-1/interfaces/org.kde.KSMServerInterface.xml
%{_datadir}/dbus-1/interfaces/org.kde.krunner.App.xml
%{_datadir}/dbus-1/services/org.kde.krunner.service
%{_datadir}/dbus-1/interfaces/org.kde.KSplash.xml
%files common -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/*rc
%{_bindir}/kdostartupconfig5
%{_bindir}/kstartupconfig5
%{_bindir}/kuiserver5
%{_bindir}/plasmashell
%{_bindir}/plasma_waitforname
%{_bindir}/plasmawindowed
%{_bindir}/startplasmacompositor
%{_bindir}/systemmonitor
%{_bindir}/xembedsniproxy
%{_datadir}/applications/org.kde.klipper.desktop
%{_datadir}/applications/plasma-windowed.desktop
%{_datadir}/metainfo/org.kde.*.xml
%{_datadir}/config.kcfg/freespacenotifier.kcfg
%{_datadir}/dbus-1/interfaces/org.kde.PlasmaShell.xml
%{_datadir}/dbus-1/interfaces/com.canonical.AppMenu.Registrar.xml
%{_datadir}/dbus-1/interfaces/org.kde.kappmenu.xml
%{_datadir}/dbus-1/services/org.kde.plasma.Notifications.service
%{_datadir}/kconf_update/krunnerplugins.upd
%{_datadir}/dbus-1/services/kf5_org.kde.kuiserver.service
%{_datadir}/dbus-1/services/org.kde.baloorunner.service
%{_datadir}/desktop-directories/kf5-*.directory
%{_datadir}/applications/org.kde.plasmashell.desktop
%{_datadir}/kio_desktop/DesktopLinks/Home.desktop
%{_datadir}/kio_desktop/directory.desktop
%{_datadir}/kio_desktop/directory.trash
%{_datadir}/knotifications5/freespacenotifier.notifyrc
%{_datadir}/knotifications5/phonon.notifyrc
%{_datadir}/kservices5/*.desktop
%{_datadir}/kservices5/*.protocol
%{_kde5_servicetypesdir}/*.desktop
%{_datadir}/ksmserver/themes/contour/*
%{_datadir}/ksmserver/themes/default/*
%{_datadir}/ksplash/Themes/Classic/*
%{_datadir}/ksplash/Themes/Minimalistic/*
%{_datadir}/ksplash/Themes/None/Theme.rc
%{_datadir}/kstyle/themes/qt*.themerc
%dir %{_datadir}/plasma
%dir %{_datadir}/plasma/look-and-feel
%dir %{_datadir}/plasma/look-and-feel/org.kde.breeze.desktop
%{_datadir}/plasma/look-and-feel/org.kde.breeze.desktop/*
%dir %{_datadir}/plasma/plasmoids
%{_datadir}/plasma/plasmoids/*
%dir %{_datadir}/plasma/services
%{_datadir}/plasma/services/*
%dir %{_datadir}/plasma/shareprovider
%{_datadir}/plasma/shareprovider/*
%dir %{_datadir}/plasma/wallpapers
%{_datadir}/plasma/wallpapers/*
%dir %{_datadir}/sddm/themes/breeze
%{_datadir}/sddm/themes/breeze/*
%{_datadir}/solid/actions/test-predicate-openinwindow.desktop
%{_datadir}/wayland-sessions/plasmawayland.desktop
%{_datadir}/xsessions/plasma.desktop
%{_datadir}/kdevappwizard/templates/ion-dataengine.tar.bz2
%lang(ca) %{_datadir}/doc/HTML/ca/*
%lang(de) %{_datadir}/doc/HTML/de/*
%lang(en) %{_datadir}/doc/HTML/en/*
%lang(it) %{_datadir}/doc/HTML/it/*
%lang(nl) %{_datadir}/doc/HTML/nl/*
%lang(pt) %{_datadir}/doc/HTML/pt/*
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/*
%lang(sv) %{_datadir}/doc/HTML/sv/*
%lang(uk) %{_datadir}/doc/HTML/uk/*
%doc COPYING COPYING.DOC
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libkworkspace5.so.*
%{_libdir}/libtaskmanager.so.*
%{_libdir}/libweather_ion.so.*
%{_libdir}/qt5/plugins/kcm_krunner_kill.so
%{_libdir}/qt5/plugins/kf5/kded/*.so
%{_libdir}/qt5/plugins/kf5/kio/desktop.so
%{_libdir}/qt5/plugins/kio_applications.so
%{_libdir}/qt5/plugins/appstreamrunner.so
%{_libdir}/qt5/plugins/kpackage/packagestructure/plasma_*.so
%{_libdir}/qt5/plugins/krunner_*.so
%{_libdir}/qt5/plugins/phonon_platform/kde.so
%{_libdir}/libplasma-geolocation-interface.so.*
%{_libdir}/qt5/plugins/plasma-geolocation-*.so
%{_libdir}/qt5/plugins/plasma/applets/*
%dir %{_libdir}/qt5/plugins/plasma/dataengine
%{_libdir}/qt5/plugins/plasma/dataengine/*.so
%{_libdir}/qt5/plugins/plasma/packagestructure/plasma_packagestructure_share.so
%{_libdir}/qt5/plugins/plasmacalendarplugins/*
%{_libdir}/qt5/plugins/plasma_containmentactions_*.so
%{_libdir}/qt5/qml/org/kde/plasma/*
%{_libdir}/qt5/qml/org/kde/holidayeventshelperplugin/*
%{_libdir}/qt5/qml/org/kde/taskmanager/*
%{_libdir}/libkdeinit5_*.so
%{_libdir}/kconf_update_bin/krunnerplugins
%{_libexecdir}/ksmserver-logout-greeter
%{_libexecdir}/ksmserver-switchuser-greeter
%{_libexecdir}/ksyncdbusenv
%{_libexecdir}/baloorunner
%{_libexecdir}/startplasma
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/kworkspace5
%{_includedir}/kworkspace5/*.h
%dir %{_includedir}/plasma
%dir %{_includedir}/plasma/geolocation
%{_includedir}/plasma/geolocation/*
%{_libdir}/libplasma-geolocation-interface.so
%dir %{_includedir}/plasma/weather
%{_includedir}/plasma/weather/*
%dir %{_includedir}/taskmanager
%{_includedir}/taskmanager/*
%{_libdir}/libkworkspace5.so
%{_libdir}/libtaskmanager.so
%{_libdir}/libweather_ion.so
%{_libdir}/cmake/KRunnerAppDBusInterface/KRunnerAppDBusInterfaceConfig.cmake
%{_libdir}/cmake/KSMServerDBusInterface/KSMServerDBusInterfaceConfig.cmake
%{_libdir}/cmake/LibKWorkspace/LibKWorkspace*.cmake
%{_libdir}/cmake/LibTaskManager/LibTaskManager*.cmake
%changelog
* Tue Jan 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.5-2mamba
- added kde and kde-np pam files from kde-workspace, required by at least kscreenlocker
* Wed Jan 03 2018 Automatic Build System <autodist@mambasoft.it> 5.11.5-1mamba
- automatic version update by autodist
* Fri Dec 08 2017 Automatic Build System <autodist@mambasoft.it> 5.11.4-1mamba
- automatic version update by autodist
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 5.11.3-1mamba
- automatic version update by autodist
* Mon Oct 30 2017 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
- automatic version update by autodist
* Tue Sep 26 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-3mamba
- require powerdevil and polkit-kde-agent-1
* Sat Sep 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-2mamba
- added some workspace dependencies
* Mon Aug 28 2017 Automatic Build System <autodist@mambasoft.it> 5.10.5-1mamba
- automatic version update by autodist
* Sun Aug 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.4-1mamba
- update to 5.10.4
* Tue Nov 22 2016 Automatic Build System <autodist@mambasoft.it> 5.8.4-1mamba
- automatic version update by autodist
* Tue Nov 01 2016 Automatic Build System <autodist@mambasoft.it> 5.8.3-1mamba
- automatic version update by autodist
* Mon Oct 24 2016 Automatic Build System <autodist@mambasoft.it> 5.8.2-1mamba
- automatic version update by autodist
* Thu Sep 22 2016 Automatic Build System <autodist@mambasoft.it> 5.7.5-1mamba
- automatic version update by autodist
* Tue Aug 30 2016 Automatic Build System <autodist@mambasoft.it> 5.7.4-1mamba
- automatic version update by autodist
* Tue Aug 02 2016 Automatic Build System <autodist@mambasoft.it> 5.7.3-1mamba
- automatic version update by autodist
* Fri Jul 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.7.2-2mamba
- moved non conflicting binaries to -common package
* Thu Jul 21 2016 Automatic Build System <autodist@mambasoft.it> 5.7.2-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 5.7.1-1mamba
- automatic version update by autodist
* Sat Jul 09 2016 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Sat Jul 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.4-2mamba
- don't own %{_libdir}/qt5/qml/org/kde/plasma or makedist fails
* Mon May 16 2016 Automatic Build System <autodist@mambasoft.it> 5.6.4-1mamba
- automatic version update by autodist
* Mon Apr 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.5-3mamba
- rebuilt by autoport with build requirements: libkscreen-devel>=5.6.1-1mamba--buildreqlibkscreen-devel>=5.6.1-1mamba--buildreqlibkscreen-devel>=5.6.1-1mamba
* Sat Mar 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.5-2mamba
- move xdg, bindir, other dbus files from -common to main package
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 5.5.5-1mamba
- automatic version update by autodist
* Sat Feb 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.4-2mamba
- added plasma-workspace-common for cohexistence with kde-workspace 4
* Wed Jan 27 2016 Automatic Build System <autodist@mambasoft.it> 5.5.4-1mamba
- automatic version update by autodist
* Thu Jan 07 2016 Automatic Build System <autodist@mambasoft.it> 5.5.3-1mamba
- automatic version update by autodist
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.2-1mamba
- package created using the webbuild interface