File msvsphere-configs.spec of Package msvsphere-configs

Summary:    MSVSphere configuration files
Name:       msvsphere-configs
Version:    10.13
Release:    1%{?dist}

License:    GPLv3+
URL:        http://msvsphere-os.ru
Source0:    https://git.inferitos.ru/msvsphere/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1:    etcskel-10.tar.xz

BUildRequires: systemd-rpm-macros

BuildArch:  noarch

%description
Various system configurations for MSVSphere

%package common
Summary:    Configuration files for MSVSphere
#Requires:   fontconfig-font-replacements
#Requires:   fontconfig-enhanced-defaults
Requires:   google-roboto-fonts

%description common
This package contains common configuration files

%package gnome
Summary:    Configuration files for GNOME desktop
Requires:   glib2-tools
Requires:   %{name}-common = %{version}-%{release}
Requires:   gnome-shell-extension-arcmenu
Requires:   gnome-shell-extension-dash-to-panel
Requires:   gnome-shell-extension-dash-to-dock
Requires:   gnome-shell-extension-appindicator
Requires:   gnome-shell-extension-desktop-icons-ng
#Requires:   gnome-shell-extension-drive-menu
Requires:   gnome-shell-extension-notification-banner-reloaded
#Requires:   gnome-shell-extension-no-overview
Requires:   gnome-shell-extension-clipboard-history
Requires:   kora-icon-theme
Recommends: msvsphere-nautilus-extensions
Requires(post):    systemd
Requires(preun):   systemd
Requires(postun):  systemd

%description gnome
This package contains configuration files for GNOME

%package gnome-software
Summary:    Configuration files for GNOME Software
Requires:   glib2-tools
Requires:   %{name}-gnome = %{version}-%{release}

%description gnome-software
This package disable automatic updates in GNOME Software

%prep
%autosetup -n %{name}

%build

%install
install -d %{buildroot}%{_datadir}/glib-2.0/schemas
install -m644 schemas-override/*.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_sysconfdir}/gnome-flavour-selector
install -m755 bin/* %{buildroot}%{_bindir}
install -d %{buildroot}%{_unitdir}/
install -d %{buildroot}%{_presetdir}/
install -m755 gnome-keyboard-toggle-configure/gnome-keyboard-*.sh %{buildroot}%{_bindir}
install -p -D -m 0644 gnome-keyboard-toggle-configure/*.service   %{buildroot}%{_unitdir}/
install -p -D -m 0644 gnome-keyboard-toggle-configure/95-keyboard.preset   %{buildroot}%{_presetdir}/

install -d %{buildroot}%{_sysconfdir}/skel
tar -xaf %{SOURCE1} -C %{buildroot}%{_sysconfdir}/skel/
chmod 700 %{buildroot}%{_sysconfdir}/skel/.local
chmod 700 %{buildroot}%{_sysconfdir}/skel/.local/share
chmod 700 %{buildroot}%{_sysconfdir}/skel/.local/share/keyrings

%post gnome
glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 ||:
%systemd_post gnome-keyboard-toggle-configure.service gnome-keyboard-configure.service || :
/usr/bin/systemctl enable gnome-keyboard-toggle-configure.service gnome-keyboard-configure.service ||:

%postun gnome
%systemd_postun gnome-keyboard-toggle-configure.service gnome-keyboard-configure.service ||:
glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 ||:

%preun gnome
%systemd_preun gnome-keyboard-toggle-configure.service gnome-keyboard-configure.service ||:

%post gnome-software
glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 ||:

%postun gnome-software
glib-compile-schemas %{_datadir}/glib-2.0/schemas > /dev/null 2>&1 ||:

%files gnome
%doc README.md
%attr(0700,-,-) %dir %{_sysconfdir}/skel/.local
%attr(0700,-,-) %dir %{_sysconfdir}/skel/.local/share
%attr(0700,-,-) %dir %{_sysconfdir}/skel/.local/share/keyrings
%{_sysconfdir}/skel/*
%dir %{_datadir}/glib-2.0
%dir %{_datadir}/glib-2.0/schemas
%{_datadir}/glib-2.0/schemas/*.gschema.override
%exclude %{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.override
%{_unitdir}/gnome-keyboard-toggle-configure.service
%{_unitdir}/gnome-keyboard-configure.service
%{_presetdir}/95-keyboard.preset
%{_bindir}/gnome-keyboard-toggle-configure.sh
%{_bindir}/gnome-keyboard-configure.sh

%files common
%{_bindir}/sphere*
%doc README.md

%files gnome-software
%doc README.md
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.override

%changelog
* Wed Jan 14 2026 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.13-1
- Added keyboard configure unit

* Wed Dec 24 2025 Arkady L. Shane <ashejn@gmail.com> - 10.12-1
- Enable dash-to-dock fixed

* Tue Dec 23 2025 Arkady L. Shane <ashejn@gmail.com> - 10.11-1
- Update org.gnome.shell.gschema.override schema installation

* Mon Dec 22 2025 Arkady L. Shane <ashejn@gmail.com> - 10.10-4
- Drop R: gnome-shell-extension-top-icons

* Mon Dec 22 2025 Arkady L. Shane <ashejn@gmail.com> - 10.10-3
- Added BR: systemd-rpm-macros
- Rebuilt for Fedora 43

* Mon Dec  1 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.10-2
- Added Recommends: msvsphere-nautilus-extensions

* Mon Dec  1 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.10-1
- Use Ctrl+F10 to show menu (fix for msc quit)

* Mon Dec  1 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.9-1
- Set dark theme for Ptyxis

* Wed Oct 22 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.8-1
- Show network folders on desktop by default

* Mon Oct 20 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.7-1
- Update Dash to Panel trans

* Mon Oct 20 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.6-1
- Update Dash to Panel and Dash to Dock configuration

* Fri Sep 12 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.5-1
- Allow updates via gnome-software

* Tue Sep 02 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.4-1
- Update favorite apps list

* Fri Jun 20 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.2-3
- Added gnome-software subpackage

* Fri Jun 20 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.2-1
- Enable clipboard-history@alexsaveau.dev extension

* Wed May 21 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.1-1
- Drop unsupported x11-randr-fractional-scaling from mutter schema
- Drop x11/wayland toggle script
- Drop obsolete config for sphere-desktop-selector

* Wed Apr 16 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.0-4
- Fix mode on skel dirs

* Tue Apr 15 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.0-3
- Update Template name

* Mon Apr 14 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.0-2
- Added templates and keyring directory to /etc/skel

* Tue Dec 24 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 10.0-1
- Bump console font size

* Thu Oct 03 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.7-1
- Update macros
- Rename scripts

* Tue Oct 1 2024 Dmitry Samoylik <Dmitriy.Samoylik@softline.com> - 0.3.6-1
- Autoconfiguration of layout change at first start

* Thu Sep 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.5-1
- Use Alt+Shift again

* Thu Sep 19 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.4-1
- Use only right Alt+Shift

* Tue Sep 17 2024 Eduard Basov <ebasov@msvsphere-os.ru> - 0.3.3-1
- Adding scaling x11 to default settings operation system

* Tue Sep 10 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.2-1
- Set default keybindings to switch layout in Wayland

* Tue Sep 10 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.1-1
- Rename sphere-add-flatpack-repos to sphere-add-flatpak-repos

* Tue Sep 10 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.0-2
- Use Wayland by default

* Tue Sep 10 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.0-1
- Added config for gnome-flavour-selector
- Added R: gnome-shell-extension-dash-to-dock

* Thu Aug 29 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.1-2
- Disable Wayland in gdm only after installation, not upgrade

* Mon Aug 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.1-1
- Fixed a discrepancy in the files

* Mon Jul 22 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.0-4
- Rename flatpak script

* Mon May 06 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.0-3
- INF-1272: set scaling-factor=1
- Disable background-logo@fedorahosted.org

* Sat Feb 17 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.0-2
- Added R: gnome-shell-extension-no-overview

* Mon Oct 30 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.2.0-1
- Enable mutter experimental feature scale-monitor-framebuffer

* Wed Sep 13 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.9-1.1
- Change urls from msvsphere.ru to msvsphere-os.ru

* Fri Sep  8 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.9-1
- Enable notification-banner-reloaded@marcinjakubowski.github.com extension

* Thu Sep  7 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.8-1
- Added scripts to configure wayland and flatpak

* Mon Sep  4 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.7-2
- Fix typo in schema

* Mon Sep  4 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.7-1
- Fix panel visibility
- Disable hot corner

* Fri Aug 18 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.6-4
- Set click-method=areas

* Mon Aug 14 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.6-3
- Remove xkb overrides

* Sat Jul 29 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.6-2
- Change R: to gnome-shell-extension-desktop-icons-ng

* Tue Jul 25 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.6-1
- Update to 0.1.6
- Enable ding@rastersoft.com
- Disable desktop-icons@gnome-shell-extensions.gcampax.github.com

* Sun Jul 16 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.5-1
- update to 0.1.5
- enable tap-to-click on touchpad

* Fri Jul  7 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.4-1
- update to 0.1.4
- set Source Code Pro 11 as monospace-font-name

* Fri Jul  7 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.3-1
- update to 0.1.3
- add chromium to favorites
- fix keyboard layout
- disable wayland by default

* Wed Jun 28 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.2-1
- update to 0.1.2
- added no-overview@fthx extension

* Tue Jun 27 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1.1-1
- update to 0.1.1
- drop org.gnome.Terminal.gschema.override

* Tue Jun 20 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.1-1
- initial build for MSVSphere 9.2
openSUSE Build Service is sponsored by