%global commit c0d328447e3093107a6002cd947c7b5f4a289eed %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global stamp 20261014164448 %global up noctalia-greeter Name: noctalia-greeter-git Version: 1.6.0^%{stamp}git%{shortcommit} Release: 1%{?dist} Summary: greetd login screen matching the Noctalia shell License: MIT URL: https://github.com/noctalia-dev/noctalia-greeter Provides: noctalia-greeter = %{version}-%{release} Conflicts: noctalia-greeter Conflicts: noctalia-greeter-nightly Source0: %{up}-%{commit}.tar.gz BuildRequires: meson BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: git # Derived from upstream meson.build at SRPM time (scripts/gen-buildrequires.py) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-ft) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(tomlplusplus) BuildRequires: pkgconfig(nlohmann_json) BuildRequires: pkgconfig(wlroots-0.20) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(libjxl_threads) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(glesv2) BuildRequires: stb_image_resize2-devel BuildRequires: stb_image_write-devel BuildRequires: stb-devel Requires: greetd Requires: dbus Requires: wlroots >= 0.20 BuildRequires: polkit %description A greetd login screen that matches the look of the Noctalia shell, running in a bundled wlroots compositor. Git snapshot build. %files %license LICENSE %{_licensedir}/%{name}/third_party/ %doc README.md %{_bindir}/* %{_datadir}/noctalia-greeter/ %{_datadir}/polkit-1/actions/* %prep %autosetup -n %{up}-%{commit} # Upstream tarball has no .git; stamp the commit into the version string sed -i "s/'unknown'/'%{shortcommit}'/g" meson.build %build %meson --buildtype=release -Db_pie=true %meson_build %install %meson_install # tmpfiles.d fallback config is not needed rm -f %{buildroot}%{_tmpfilesdir}/noctalia-greeter.conf install -d %{buildroot}%{_licensedir}/%{name}/third_party find third_party -type f \( -name "LICENSE*" -o -name "COPYING*" -o -name "NOTICE*" \) | while read -r file; do dest_dir="%{buildroot}%{_licensedir}/%{name}/$(dirname "$file")" install -d "$dest_dir" install -p -m 0644 "$file" "$dest_dir/" done %changelog * Wed Oct 14 2026 c0mpile - 0-0.1 - Automated git snapshot build