lxqt-session/lxqt-session.spec

132 lines
4.3 KiB
RPMSpec

Name: lxqt-session
Version: 0.15.0
Release: 5mamba
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.git
Source: https://github.com/lxqt/lxqt-session.git/%{version}/lxqt-session-%{version}.tar.bz2
Patch0: lxqt-session-0.15.0-openmamba-default-config.patch
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
Requires: libqt5-plugins
Requires: breeze-icons
Requires: breeze
Requires: breeze-gtk
Requires: lxqt-sudo
Requires: network-manager-applet
Requires: xsettingsd
Requires: openbox
Requires: obconf-qt
Requires(post): shared-mime-info
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
#%patch0 -p1
%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}"
%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
%{_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 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