diff --git a/README.md b/README.md index eda7a5b..a204e9e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # lxqt-session +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. + diff --git a/lxqt-session.spec b/lxqt-session.spec new file mode 100644 index 0000000..9bc2cb8 --- /dev/null +++ b/lxqt-session.spec @@ -0,0 +1,103 @@ +Name: lxqt-session +Version: 0.15.0 +Release: 1mamba +Summary: Tools to handle LXQt sessions +Group: Graphical Desktop/Applications/Environment +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-session.git +Source: https://github.com/lxqt/lxqt-session.git/%{version}/lxqt-session-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: liblxqt-devel +BuildRequires: libqt5-devel +BuildRequires: libqtxdg-devel +BuildRequires: libstdc++6-devel +BuildRequires: libudev-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: xdg-user-dirs +Requires: xdg-user-dirs +Requires: lxqt-panel +Requires: lxqt-themes +Requires: lxqt-globalkeys +Requires: lxqt-config +Requires: lxqt-notificationd +Requires: lxqt-policykit +Requires: lxqt-about +Requires: lxqt-powermanagement +Requires: liblxqt-qtplugin +Requires: lxqt-kcm-integration +Requires: pcmanfm-qt +Requires: lxqt-archiver +Requires: qterminal +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +find %{buildroot}%{_datadir}/*/translations/ -name *.qm | \ +while read line; do + bn=`echo ${line}|cut -d_ -f2-3` + echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/lxqt-xscreensaver-autostart.desktop +%{_sysconfdir}/xdg/openbox/lxqt-rc.xml +%{_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}/kdm/sessions/lxqt.desktop +%{_datadir}/lxqt/lxqt.conf +%{_datadir}/lxqt/session.conf +%{_datadir}/lxqt/windowmanagers.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 +* Fri Oct 02 2020 Silvan Calarco 0.15.0-1mamba +- package created using the webbuild interface