130 lines
4.2 KiB
RPMSpec
130 lines
4.2 KiB
RPMSpec
Name: lxqt-session
|
|
Version: 0.15.0
|
|
Release: 3mamba
|
|
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: oxygen-icons5
|
|
Requires: plasma-nm
|
|
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
|
|
|
|
%posttrans
|
|
[ -e %{_sysconfdir}/gtk-3.0/settings.ini ] || {
|
|
cat > %{_sysconfdir}/gtk-3.0/settings.ini << _EOF
|
|
[Settings]
|
|
gtk-font-name=Bitstream Vera Sans Roman 9
|
|
gtk-theme-name=Oxygen
|
|
gtk-icon-theme-name=oxygen
|
|
gtk-fallback-icon-theme=Adwaita
|
|
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
|
gtk-menu-images=0
|
|
gtk-button-images=1
|
|
_EOF
|
|
|
|
}
|
|
:
|
|
|
|
%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
|
|
* 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
|