From d388d37ede9a446001d3d41c74e1192e87961193 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 10 Sep 2024 11:28:09 +0300 Subject: [PATCH] Initial build for MSVSphere 9 --- .gitignore | 1 + .sphere-desktop-selector.metadata | 1 + SPECS/sphere-desktop-selector.spec | 47 ++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 .sphere-desktop-selector.metadata create mode 100644 SPECS/sphere-desktop-selector.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..00546cd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sphere-desktop-selector-0.1.tar.gz diff --git a/.sphere-desktop-selector.metadata b/.sphere-desktop-selector.metadata new file mode 100644 index 0000000..4514b37 --- /dev/null +++ b/.sphere-desktop-selector.metadata @@ -0,0 +1 @@ +545cadfc5b5fa3b86371d3ce56a25979686ba7cd SOURCES/sphere-desktop-selector-0.1.tar.gz diff --git a/SPECS/sphere-desktop-selector.spec b/SPECS/sphere-desktop-selector.spec new file mode 100644 index 0000000..7287941 --- /dev/null +++ b/SPECS/sphere-desktop-selector.spec @@ -0,0 +1,47 @@ +Name: sphere-desktop-selector +Version: 0.1 +Release: 1%{?dist} +Summary: MSVSphere GNOME Desktop Flavour Selector +Requires: jq +Requires: /usr/bin/gnome-extensions +Requires: yad + +License: GPLv2 +URL: http://msvsphere-os.ru +Source0: https://git.inferitos.ru/msvsphere/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildArch: noarch + +%description +This package allow to choose variants of GNOME Desktop, Classic or GNOME Shell +with dock. + +%prep +%autosetup -p1 -n %{name} + +%build +echo "Nothing to build" + +%install + +# Create dirs +install -d -m755 %{buildroot}%{_datadir}/gnome-flavour-selector +install -d -m755 %{buildroot}%{_bindir} +install -d -m755 %{buildroot}%{_sysconfdir}/xdg/autostart/ +install -m644 Classic_2.png %{buildroot}%{_datadir}/gnome-flavour-selector/ +install -m644 Modern_2.png %{buildroot}%{_datadir}/gnome-flavour-selector/ +install -m755 gnome-flavour-selector.sh %{buildroot}%{_bindir}/gnome-flavour-selector +install -m755 gnome-flavour-selector.desktop %{buildroot}%{_sysconfdir}/xdg/autostart/ + + +%files +%license LICENSE +%doc README.md +%config(noreplace) %{_sysconfdir}/xdg/autostart/gnome-flavour-selector.desktop +%{_bindir}/gnome-flavour-selector +%{_datadir}/gnome-flavour-selector/* + + +%changelog +* Tue Sep 10 2024 Arkady L. Shane - 0.1-1 +- Initial build +