lxqt-session/lxqt-session.spec

216 lines
7.5 KiB
RPMSpec

Name: lxqt-session
Version: 2.1.0
Release: 1mamba
Summary: Tools to handle LXQt sessions
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/lxqt-session
Source: https://github.com/lxqt/lxqt-session.git/%{version}/lxqt-session-%{version}.tar.bz2
Patch0: lxqt-session-2.1.0-openmamba-default-config.patch
Patch1: lxqt-session-0.17.1-startlxqt-include-xinitrc.d-to-fix-dbus-display.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets
BuildRequires: libQt6Xml
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kwindowsystem-devel
BuildRequires: liblayer-shell-qt-devel
BuildRequires: liblxqt-devel
BuildRequires: libprocps-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libudev-devel
BuildRequires: qt6-qtsvg-devel
## AUTOBUILDREQ-END
BuildRequires: libprocps-devel >= :4.0.3-1mamba
BuildRequires: cmake
BuildRequires: qtxdg-tools-devel
BuildRequires: xdg-user-dirs
Requires: breeze-icons
Requires: breeze
Requires: breeze-gtk
Requires: dnfdragora-updater
Requires: libbreeze5
Requires: liblxqt-qtplugin
Requires: libqt5-plugins
Requires: lxqt-about
Requires: lxqt-admin
Requires: lxqt-archiver
Requires: lxqt-config
Requires: lxqt-globalkeys
Requires: lxqt-kcm-integration
Requires: lxqt-notificationd
Requires: lxqt-openssh-askpass
Requires: lxqt-panel
Requires: lxqt-policykit
Requires: lxqt-powermanagement
Requires: lxqt-runner
Requires: lxqt-sudo
Requires: lxqt-themes
Requires: network-manager-applet
Requires: obconf-qt
Requires: openbox
Requires: pcmanfm-qt
Requires: qps
Requires: qterminal
Requires: qtxdg-tools
Requires: screengrab
Requires: xdg-user-dirs
Requires: xsettingsd
Requires(post): shared-mime-info
Obsoletes: lxde <= 1.0-4mamba
Obsoletes: lxpanel <= 0.10.1-1mamba
Obsoletes: lxde-common <= 0.99.2-2mamba
Obsoletes: lxinput <= 0.3.5-1mamba
Obsoletes: lxlauncher <= 0.2.5-1mamba
Obsoletes: lxsession <= 0.5.5-1mamba
Obsoletes: lxsession-edit <= 0.2.0-1mamba
Obsoletes: lxtask <= 0.1.10-1mamba
Obsoletes: lxrandr <= 0.3.2-1mamba
Obsoletes: lxnm <= 0.2.2-5mamba
Obsoletes: lxappearance <= 0.6.3-1mamba
%description
Tools to handle LXQt sessions.
First of all there's session manager lxqt-session. The binary is launched right at the beginning of LXQt sessions and in turn responsible for launching and monitoring all other components constituting the sessions.
GUI "LXQt Session Settings" (binary lxqt-config-session) is used to configure various settings affecting the session, e. g. which window manager to use or which applications to start automatically.
Binary lxqt-leave deals with interrupting or terminating sessions. It comes with several options expressing the action they trigger, e. g. --leave, --hibernate, --shutdown or --reboot.
%debug_package
%prep
%setup -q
%patch 0 -p1
%patch 1 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --with-qt --all-name
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans
update-mime-database /usr/share/mime >/dev/null 2>&1
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/lxqt-xscreensaver-autostart.desktop
%{_bindir}/lxqt-config-session
%{_bindir}/lxqt-leave
%{_bindir}/lxqt-session
%{_bindir}/startlxqt
%{_datadir}/applications/lxqt-config-session.desktop
%{_datadir}/applications/lxqt-hibernate.desktop
%{_datadir}/applications/lxqt-leave.desktop
%{_datadir}/applications/lxqt-lockscreen.desktop
%{_datadir}/applications/lxqt-logout.desktop
%{_datadir}/applications/lxqt-reboot.desktop
%{_datadir}/applications/lxqt-shutdown.desktop
%{_datadir}/applications/lxqt-suspend.desktop
%{_datadir}/lxqt/lxqt.conf
%{_datadir}/lxqt/session.conf
%{_datadir}/lxqt/windowmanagers.conf
%{_datadir}/lxqt/waylandwindowmanagers.conf
%{_mandir}/man1/lxqt-config-session.1*
%{_mandir}/man1/lxqt-leave.1*
%{_mandir}/man1/lxqt-session.1*
%{_mandir}/man1/startlxqt.1*
%{_datadir}/xsessions/lxqt.desktop
%doc AUTHORS LICENSE
%changelog
* Tue Nov 12 2024 Automatic Build System <autodist@openmamba.org> 2.1.0-1mamba
- automatic version update by autodist
* Thu Apr 25 2024 Automatic Build System <autodist@openmamba.org> 2.0.0-1mamba
- automatic version update by autodist
* Mon Apr 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- require libbreeze5
* Mon Nov 06 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Sat Aug 19 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-2mamba
- rebuilt by autoport with build requirements: libprocps-devel>=:4.0.3-1mamba
* Thu Apr 20 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- require dnfdragora-updater
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Sat Oct 08 2022 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-3mamba
- obsolete most lxde old packages
* Thu Apr 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
- lxdm.conf: rename theme kde-plasma to KDE-Plasma
* Thu Apr 21 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Sun Jan 02 2022 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Wed Dec 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-2mamba
- obsolete lxde
* Sun Nov 21 2021 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Thu Apr 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.1-2mamba
- startlxqt: patched to include xinitrc.d files including systemd fix for dbus session (fixes lxqt-config-monitor)
* Sun Apr 18 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-2mamba
- added more requirements
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Sat Oct 17 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-6mamba
- fix for default config patch not applied in previous release
* Fri Oct 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-5mamba
- require and set breeze theme, added other requirements
* Sun Oct 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-4mamba
- require libqt5-plugins
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-3mamba
- fix requirement name
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-2mamba
- add oxygen-icons and nm-applet requirements and default configuration with kde-plasma theme
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
- package created using the webbuild interface