File noctalia-shell.spec of Package noctalia-shell

#
# spec file for package noctalia-shell
#
# Copyright (c) 2025 mantarimay
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           noctalia-shell
Version:        2.16.1
Release:        0
Summary:        A sleek and minimal desktop shell built with Quickshell
License:        MIT
URL:            https://github.com/noctalia-dev/noctalia-shell
Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Suggests:       typelib(EDataServer)
Recommends:     matugen
Recommends:     cava
Recommends:     wlsunset
Recommends:     cliphist
Requires:       google-roboto-fonts
Requires:       inter-fonts
Requires:       inter-variable-fonts
Requires:       material-symbols-variable
Requires:       quickshell
Requires:       ddcutil
Requires:       brightnessctl
Requires:       gpu-screen-recorder
BuildArch:      noarch

%description
A sleek and minimal desktop shell thoughtfully crafted for Wayland, built
with Quickshell.

Features a modern modular architecture with a status bar, notification
system, control panel, comprehensive system integration, and more — all
styled with a warm lavender palette, or your favorite color scheme!

%prep
%autosetup

find . -type f \( -name "*.sh" \) -exec sed -i '1s|^#! */usr/bin/env -S bash|#!/bin/bash|' {} \;

%build
%install
install -dm755 "%{buildroot}%{_sysconfdir}/xdg/quickshell/noctalia-shell"
cp -r ./* "%{buildroot}%{_sysconfdir}/xdg/quickshell/noctalia-shell/"

%files
%license LICENSE
%doc README.md
%dir %{_sysconfdir}/xdg/quickshell
%dir %{_sysconfdir}/xdg/quickshell/noctalia-shell/
%config %{_sysconfdir}/xdg/quickshell/noctalia-shell/

%changelog
openSUSE Build Service is sponsored by