File noctalia-shell.spec of Package noctalia-shell
#
# spec file for package noctalia-shell
#
# Copyright (c) 2025 kaiman
#
# 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: 4.5.0
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
BuildRequires: fdupes
Recommends: matugen
Recommends: cava
Recommends: wlsunset
Recommends: cliphist
Recommends: ddcutil
Recommends: inter-fonts
Recommends: inter-variable-fonts
Recommends: material-symbols-variable
Recommends: power-profiles-daemon
Requires: quickshell
Requires: ImageMagick
Requires: brightnessctl
Requires: ffmpeg
Requires: qt6-multimedia
Requires: python3
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|' {} \;
find . -type f \( -name "*.sh" \) -exec sed -i '1s|^#! */usr/bin/env bash|#!/bin/bash|' {} \;
find . -type f \( -name "*.py" \) -exec sed -i '1s|^#! */usr/bin/env python3|#!/usr/bin/python3|' {} \;
%build
%install
install -dm755 "%{buildroot}%{_sysconfdir}/xdg/quickshell/noctalia-shell"
cp -r ./* "%{buildroot}%{_sysconfdir}/xdg/quickshell/noctalia-shell/"
%fdupes -s %{buildroot}%{_sysconfdir}/xdg/quickshell/noctalia-shell
install -dm755 "%{buildroot}%{_prefix}/lib/systemd/user"
#install -Dm644 ./Assets/Services/systemd/noctalia.service %{buildroot}%{_userunitdir}/noctalia.service
%files
%license LICENSE
%doc README.md
%dir %{_sysconfdir}/xdg/quickshell
%dir %{_sysconfdir}/xdg/quickshell/noctalia-shell/
#%{_userunitdir}/noctalia.service
%config %{_sysconfdir}/xdg/quickshell/noctalia-shell/
%changelog