Compare commits

...

5 Commits

Author SHA1 Message Date
Cypress Reed 38fe137b7e Merge branch 'frawhide' into cypress/fix-noctalia-greeter 2026-06-24 05:58:26 -06:00
Willow C Reed 36320bd6ac update commit 2026-06-24 05:58:01 -06:00
Willow C Reed e0691b7e11 update files and install for third-party licenses 2026-06-24 05:57:18 -06:00
Willow C Reed fab856f080 bump release 2026-06-19 21:37:55 -06:00
Willow C Reed 2ad29526a3 feat: add built-in compositor support 2026-06-19 21:36:58 -06:00
2 changed files with 23 additions and 12 deletions
@@ -1,19 +1,18 @@
%global ver 1.0.0
%global commit db60c06b5f6ff5da4d5f1126eff312b2a41ef614
%global commit fca79eb56d45370949d20beb6f740e7e5daaee5b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20260609
%global commitdate 20260621
Name: noctalia-greeter
Version: %{ver}^%{commitdate}git.%{shortcommit}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A minimal login greeter for greetd that matches the look and feel of Noctalia Shell.
License: shortcommit
URL: https://github.com/noctalia-dev/noctalia-greeter
Source0: https://github.com/noctalia-dev/noctalia-greeter/archive/%{commit}/noctalia-greeter-%{commit}.tar.gz
License: MIT
URL: https://github.com/noctalia-dev/%{name}
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
BuildRequires: cage
BuildRequires: dbus
BuildRequires: gcc-c++
BuildRequires: greetd
@@ -32,11 +31,11 @@ BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: polkit
BuildRequires: wlr-randr
BuildRequires: wlroots-devel >= 0.20
Requires: cage
Requires: dbus
Requires: greetd
Requires: wlroots >= 0.20
Packager: Cypress Reed <cypress@fyralabs.com>
@@ -48,25 +47,37 @@ It lets you pick a user, enter your password, choose a Wayland session, and pick
%autosetup -n noctalia-greeter-%{commit}
%conf
export LDFLAGS="%{__global_ldflags} -Wl,-z,notext"
%meson
%meson -Db_pie=true
%build
%meson_build
%install
%meson_install
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
# Create the destination subdirectory
dest_dir="%{buildroot}%{_licensedir}/%{name}/$(dirname "$file")"
install -d "$dest_dir"
# Copy the file to its specific subfolder
install -p -m 0644 "$file" "$dest_dir/"
done
%files
%doc README.md
%license LICENSE
%{_licensedir}/%{name}/third_party/
%{_bindir}/%{name}
%{_bindir}/%{name}-apply-appearance
%{_bindir}/%{name}-compositor
%{_bindir}/%{name}-print-greetd-config
%{_bindir}/%{name}-session
%{_datadir}/%{name}/*
%{_datadir}/polkit-1/actions/org.noctalia.greeter.apply-appearance.policy
%changelog
* Fri Jun 19 2026 Cypress Reed <cypress@fyralabs.com>
- Update dependencies and files for built-in compositor
* Tue Jun 09 2026 Cypress Reed <cypress@fyralabs.com>
- Port to terra from Fedora COPR lionheartp/Hyprland
+1 -1
View File
@@ -1,4 +1,4 @@
rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-greeter/commits/main").json().sha);
rpm.global("commit", gh_commit("noctalia-dev/noctalia-greeter"));
if rpm.changed() {
rpm.global("ver", gh("noctalia-dev/noctalia-greeter"));
rpm.global("commit_date", date());