From b4297c9ad87305dc2cbcbdfce1279afbd9877a8b Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 27 Apr 2024 21:19:13 -0700 Subject: [PATCH] chore(gnome): Add spec file for compiz-alike magic lamp --- ...ension-compiz-alike-magic-lamp-effect.spec | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 spec_files/gnome-shell-extension-compiz-alike-magic-lamp-effect/gnome-shell-extension-compiz-alike-magic-lamp-effect.spec diff --git a/spec_files/gnome-shell-extension-compiz-alike-magic-lamp-effect/gnome-shell-extension-compiz-alike-magic-lamp-effect.spec b/spec_files/gnome-shell-extension-compiz-alike-magic-lamp-effect/gnome-shell-extension-compiz-alike-magic-lamp-effect.spec new file mode 100644 index 00000000..eb434839 --- /dev/null +++ b/spec_files/gnome-shell-extension-compiz-alike-magic-lamp-effect/gnome-shell-extension-compiz-alike-magic-lamp-effect.spec @@ -0,0 +1,39 @@ +%global uuid compiz-alike-magic-lamp-effect@hermes83.github.com + +Name: gnome-shell-extension-compiz-alike-magic-lamp-effect +Version: {{{ git_dir_version }}} +Release: 1%{?dist} +Summary: Compiz alike magic lamp effect for GNOME Shell + +Group: User Interface/Desktops +License: GPLv2 +URL: https://github.com/hermes83/compiz-alike-magic-lamp-effect +Source0: https://github.com/KyleGospo/compiz-alike-magic-lamp-effect/archive/refs/heads/master.tar.gz +BuildArch: noarch + +BuildRequires: glib2 + +Requires: gnome-shell >= 3.12 +%description +Compiz alike magic lamp effect for GNOME Shell + +%prep +%autosetup -n compiz-alike-magic-lamp-effect-master + +%build +# Nothing to build + +%install +rm -rf assets +rm README.md +rm zip.sh +mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid} +cp -r * %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/ +glib-compile-schemas %{buildroot}%{_datadir}/gnome-shell/extensions/%{uuid}/schemas/ + +%files +%license LICENSE +%{_datadir}/gnome-shell/extensions/%{uuid}/ + +%changelog +{{{ git_dir_changelog }}}