From 741596de12b6e61cac393fa23979029e8636f5b6 Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 3 Oct 2024 15:37:59 +0300 Subject: [PATCH] Update macros and rename scripts --- .gitignore | 2 +- .msvsphere-configs.metadata | 2 +- SPECS/msvsphere-configs.spec | 26 ++++++++++++++++++-------- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e9f41f0..f0c1994 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/msvsphere-configs-0.3.6.tar.gz +SOURCES/msvsphere-configs-0.3.7.tar.gz diff --git a/.msvsphere-configs.metadata b/.msvsphere-configs.metadata index d5660f2..9016bbb 100644 --- a/.msvsphere-configs.metadata +++ b/.msvsphere-configs.metadata @@ -1 +1 @@ -4d79b0021542b514226126c2a885e0949c82c0d6 SOURCES/msvsphere-configs-0.3.6.tar.gz +125414d9a9bac2223c4bbee05340210ead2b91f4 SOURCES/msvsphere-configs-0.3.7.tar.gz diff --git a/SPECS/msvsphere-configs.spec b/SPECS/msvsphere-configs.spec index a128e68..19a97f4 100644 --- a/SPECS/msvsphere-configs.spec +++ b/SPECS/msvsphere-configs.spec @@ -1,6 +1,6 @@ Summary: MSVSphere configuration files Name: msvsphere-configs -Version: 0.3.6 +Version: 0.3.7 Release: 1%{?dist} License: GPLv3+ @@ -35,6 +35,9 @@ Requires: gnome-shell-extension-drive-menu Requires: gnome-shell-extension-notification-banner-reloaded Requires: gnome-shell-extension-no-overview Requires: kora-icon-theme +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd %description gnome This package contains configuration files for GNOME @@ -51,31 +54,38 @@ install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_sysconfdir}/gnome-flavour-selector install -m755 bin/* %{buildroot}%{_bindir} install -m644 configs/extensions.json %{buildroot}%{_sysconfdir}/gnome-flavour-selector/ -install -m755 gnome-keyboard-toogle-configure/gnome-keyboard-toogle-configure.sh %{buildroot}%{_bindir} -install -p -D -m 0644 gnome-keyboard-toogle-configure/gnome-keyboard-toogle-configure.service %{buildroot}%{_unitdir}/gnome-keyboard-toogle-configure.service +install -m755 gnome-keyboard-toggle-configure/gnome-keyboard-toggle-configure.sh %{buildroot}%{_bindir} +install -p -D -m 0644 gnome-keyboard-toggle-configure/gnome-keyboard-toggle-configure.service %{buildroot}%{_unitdir}/gnome-keyboard-toggle-configure.service %post gnome glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 -%systemd_post gnome-keyboard-toogle-configure.service -/usr/bin/systemctl enable gnome-keyboard-toogle-configure.service +%systemd_post gnome-keyboard-toggle-configure.service +/usr/bin/systemctl enable gnome-keyboard-toggle-configure.service %postun gnome +%systemd_postun gnome-keyboard-toggle-configure.service glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 +%preun gnome +%systemd_preun gnome-keyboard-toggle-configure.service %files gnome %doc README.md %config(noreplace) %{_sysconfdir}/gnome-flavour-selector/extensions.json %{_datadir}/glib-2.0/schemas/*.gschema.override -%{_unitdir}/gnome-keyboard-toogle-configure.service -%{_bindir}/gnome-keyboard-toogle-configure.sh +%{_unitdir}/gnome-keyboard-toggle-configure.service +%{_bindir}/gnome-keyboard-toggle-configure.sh %files common %{_bindir}/sphere* %doc README.md %changelog -* Thu Oct 1 2024 Dmitry Samoylik - 0.3.6-1 +* Thu Oct 03 2024 Arkady L. Shane - 0.3.7-1 +- Update macros +- Rename scripts + +* Tue Oct 1 2024 Dmitry Samoylik - 0.3.6-1 - Autoconfiguration of layout change at first start * Thu Sep 26 2024 Arkady L. Shane - 0.3.5-1