[packages/gnome-shell-extension-vertical-workspaces] - new
baggins
baggins at pld-linux.org
Sun Jun 22 23:46:22 CEST 2025
commit fe252674303244c50f39bac43bad3470b4f69105
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Jun 23 01:46:08 2025 +0200
- new
gnome-shell-extension-vertical-workspaces.spec | 54 ++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
---
diff --git a/gnome-shell-extension-vertical-workspaces.spec b/gnome-shell-extension-vertical-workspaces.spec
new file mode 100644
index 0000000..5167203
--- /dev/null
+++ b/gnome-shell-extension-vertical-workspaces.spec
@@ -0,0 +1,54 @@
+%define extension vertical-workspaces
+Summary: Customize your GNOME Shell UX to suit your workflow
+Name: gnome-shell-extension-%{extension}
+Version: 48.8
+Release: 1
+License: GPL-3.0-only
+Source0: https://github.com/G-dH/vertical-workspaces/archive/v%{version}/%{extension}-%{version}.tar.gz
+# Source0-md5: c45d0a49ab4af1433e56385da2ea5ef7
+URL: https://github.com/G-dH/vertical-workspaces
+BuildRequires: gettext
+Requires: gnome-shell >= 42
+BuildArch: noarch
+
+%description
+Customize your GNOME Shell UX to suit your workflow, whether you like
+horizontally or vertically stacked workspaces.
+
+%prep
+%setup -q -n %{extension}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/{gnome-shell/extensions/%{extension}@G-dH.github.com,glib-2.0/schemas}
+
+cp -rp lib *.js stylesheet.css metadata.json \
+ $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/%{extension}@G-dH.github.com/
+
+cp -p schemas/*.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
+
+# install locale files
+cd po
+for po in *.po; do
+ install -d $RPM_BUILD_ROOT%{_localedir}/${po%.po}/LC_MESSAGES
+ msgfmt -o $RPM_BUILD_ROOT%{_localedir}/${po%.po}/LC_MESSAGES/%{extension}.mo $po
+done
+cd ..
+
+%find_lang %{extension}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files -f %{extension}.lang
+%defattr(644,root,root,755)
+%doc LICENSE
+%doc CHANGELOG.md
+%{_datadir}/gnome-shell/extensions/%{extension}@G-dH.github.com
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{extension}.gschema.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-vertical-workspaces.git/commitdiff/fe252674303244c50f39bac43bad3470b4f69105
More information about the pld-cvs-commit
mailing list