# Must match M3SHAPES_REV in the upstream CMakeLists.txt. The build fetches it # with FetchContent, which cannot reach the network in the COPR builders, so it # is vendored as a source instead. %global m3shapes_commit bdc327b29f95394a732baf3c9b19658ba23755b6 Name: caelestia-shell Version: 2.3.0 Release: 1%{?dist} Summary: The desktop shell for the Caelestia dotfiles License: GPL-3.0-only URL: https://github.com/caelestia-dots/shell Source0: %{url}/releases/download/v%{version}/%{name}-v%{version}.tar.gz Source1: https://github.com/soramanew/m3shapes/archive/%{m3shapes_commit}/m3shapes-%{m3shapes_commit}.tar.gz ExclusiveArch: x86_64 BuildRequires: cmake BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: qt6-qtshadertools-devel BuildRequires: libqalculate-devel BuildRequires: aubio-devel BuildRequires: pipewire-devel BuildRequires: libcava-devel BuildRequires: lm_sensors-devel Requires: caelestia-cli Requires: quickshell-git Requires: ddcutil Requires: brightnessctl Requires: app2unit Requires: libcava Requires: NetworkManager Requires: lm_sensors Requires: fish Requires: aubio Requires: pipewire-libs Requires: glibc Requires: libstdc++ Requires: material-symbols-fonts Requires: tuned-ppd Requires: rubik-fonts Requires: cascadia-code-nerd-fonts Requires: swappy Requires: libqalculate Requires: bash Requires: qt6-qtbase Requires: qt6-qtdeclarative Conflicts: caelestia-shell-git %description The desktop shell for the Caelestia dotfiles. %prep %autosetup -n release -a 1 %build %cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/ -DINSTALL_LIBDIR=%{_libdir}/caelestia -DINSTALL_QMLDIR=%{_libdir}/qt6/qml -DVERSION=%{version} -DGIT_REVISION=v%{version} -DDISTRIBUTOR="Fedora COPR (package: %{name})" -DFETCHCONTENT_SOURCE_DIR_M3SHAPES_EXTERNAL=$PWD/m3shapes-%{m3shapes_commit} %cmake_build %install %cmake_install %files %license LICENSE %{_libdir}/caelestia %{_libdir}/qt6/qml/Caelestia %{_libdir}/qt6/qml/M3Shapes %config %{_sysconfdir}/xdg/quickshell/caelestia %changelog %autochangelog