pika-gnome-layouts/nobara-gnome-layouts.spec

78 lines
2.8 KiB
RPMSpec
Raw Normal View History

2022-09-24 14:32:53 +02:00
BuildArch: noarch
Name: nobara-gnome-layouts
2022-09-25 19:46:55 +02:00
Version: 0.6
2022-09-24 14:32:53 +02:00
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Libraries
Summary: Nobara's Gnome layouts App
URL: https://github.com/CosmicFusion/cosmo-gnome-layouts
Source0: %{name}-%{version}-%{release}.tar.gz
BuildRequires: wget
Requires: /usr/bin/bash
Requires: python3
Requires: python
Requires: gtk3
Requires: gnome-shell
Requires: dconf
Requires: glib2
2022-09-24 15:37:04 +02:00
Requires: zenity
2022-09-25 19:46:55 +02:00
Requires: gnome-x11-gesture-daemon
2022-09-25 19:55:43 +02:00
Requires: supergfxctl
2022-09-24 14:32:53 +02:00
2022-09-26 16:39:46 +02:00
# Extensions
Requires: gnome-shell-extension-frippery-move-clock
Requires: gnome-shell-extension-launch-new-instance
Requires: gnome-shell-extension-just-perfection
Requires: gnome-shell-extension-arc-menu
Requires: gnome-shell-extension-auto-move-windows
2022-09-26 18:23:45 +02:00
Requires: gnome-shell-extension-caffeine
2022-09-26 16:39:46 +02:00
Requires: gnome-shell-extension-dash-to-dock
Requires: gnome-shell-extension-dash-to-panel
Requires: gnome-shell-extension-launch-new-instance
Requires: gnome-shell-extension-places-menu
Requires: gnome-shell-extension-application-volume-mixer
Requires: gnome-shell-extension-blur-my-shell
Requires: gnome-shell-extension-clipboard-history
Requires: gnome-shell-extension-dash-to-panel
Requires: gnome-shell-extension-desktop-icons
Requires: gnome-shell-extension-gsconnect
Requires: gnome-shell-extension-openweather
Requires: gnome-shell-extension-pop-shell
Requires: gnome-shell-extension-sound-output-device-chooser
Requires: gnome-shell-extension-window-list
Requires: gnome-shell-extension-gamemode
2022-09-26 18:13:55 +02:00
Requires: gnome-shell-extension-freon
2022-09-26 16:39:46 +02:00
Requires: gnome-shell-extension-wireless-hid
2022-09-26 18:13:55 +02:00
Requires: gnome-shell-extension-gesture-improvements
2022-09-26 16:39:46 +02:00
2022-09-24 14:32:53 +02:00
%install
tar -xf %{SOURCE0}
mv usr %{buildroot}/
mv etc %{buildroot}/
mkdir -p %{buildroot}/usr/share/licenses/nobara-gnome-layouts
wget https://raw.githubusercontent.com/CosmicFusion/cosmo-gnome-layouts/main/LICENSE.md -O %{buildroot}/usr/share/licenses/nobara-gnome-layouts/LICENSE
%description
Nobara's Python3 & GTK3 built Gnome layouts App
%files
%attr(0755, root, root) "/usr/bin/nobara-gnome-layouts"
%attr(0644, root, root) "/usr/share/glib-2.0/schemas/org.nobara.layouts.gschema.xml"
%attr(0755, root, root) "/etc/nobara/scripts/nobara-layouts/all.sh"
%attr(0755, root, root) "/etc/nobara/scripts/nobara-layouts/reload.sh"
%attr(0755, root, root) "/etc/nobara/scripts/nobara-layouts/nobara-layouts.py"
%attr(0644, root, root) "/etc/nobara/scripts/nobara-layouts/nobara-layouts.ui"
%attr(0755, root, root) "/etc/nobara/scripts/nobara-layouts/layout-scripts/*.sh"
%attr(0755, root, root) "/etc/nobara/scripts/nobara-layouts/settings-scripts/*.sh"
%attr(0644, root, root) "/etc/nobara/scripts/nobara-layouts/previews/*.svg"
%attr(0644, root, root) "/usr/share/licenses/nobara-gnome-layouts/LICENSE"
%post
glib-compile-schemas /usr/share/glib-2.0/schemas/
2022-09-25 19:55:43 +02:00
systemctl enable --now supergfxd