From d1b9afe6ad848c48150bfae6fcca58203d2a595d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:37:20 +0100 Subject: [PATCH] fix requirement name [release 0.15.0-3mamba;Sat Oct 03 2020] --- ...sion-0.15.0-openmamba-default-config.patch | 12 ++++++++ lxqt-session.spec | 28 ++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 lxqt-session-0.15.0-openmamba-default-config.patch diff --git a/lxqt-session-0.15.0-openmamba-default-config.patch b/lxqt-session-0.15.0-openmamba-default-config.patch new file mode 100644 index 0000000..f25f429 --- /dev/null +++ b/lxqt-session-0.15.0-openmamba-default-config.patch @@ -0,0 +1,12 @@ +--- lxqt-session-0.15.0/config/lxqt.conf.orig 2020-10-03 19:07:55.628000000 +0200 ++++ lxqt-session-0.15.0/config/lxqt.conf 2020-10-03 19:10:04.819000000 +0200 +@@ -1,7 +1,7 @@ + [General] +-theme=frost ++theme=kde-plasma + icon_theme=oxygen +-single_click_activate=false ++single_click_activate=true + tool_button_style=ToolButtonTextBesideIcon + + [Qt] diff --git a/lxqt-session.spec b/lxqt-session.spec index 9bc2cb8..e1d3575 100644 --- a/lxqt-session.spec +++ b/lxqt-session.spec @@ -1,6 +1,6 @@ Name: lxqt-session Version: 0.15.0 -Release: 1mamba +Release: 3mamba Summary: Tools to handle LXQt sessions Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -8,6 +8,7 @@ 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 +Patch0: lxqt-session-0.15.0-openmamba-default-config.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -41,6 +42,8 @@ Requires: lxqt-kcm-integration Requires: pcmanfm-qt Requires: lxqt-archiver Requires: qterminal +Requires: oxygen-icons5 +Requires: plasma-nm BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -53,6 +56,7 @@ Binary lxqt-leave deals with interrupting or terminating sessions. It comes with %prep %setup -q +%patch0 -p1 %build %cmake -d build @@ -68,6 +72,22 @@ while read line; do 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}" @@ -99,5 +119,11 @@ done %doc AUTHORS LICENSE %changelog +* Sat Oct 03 2020 Silvan Calarco 0.15.0-3mamba +- fix requirement name + +* Sat Oct 03 2020 Silvan Calarco 0.15.0-2mamba +- add oxygen-icons and nm-applet requirements and default configuration with kde-plasma theme + * Fri Oct 02 2020 Silvan Calarco 0.15.0-1mamba - package created using the webbuild interface