Compare commits

..

1 Commits

Author SHA1 Message Date
Willow C Reed 5d1510ef19 add desktop file and icon 2026-06-24 05:53:11 -06:00
4 changed files with 22 additions and 24 deletions
@@ -18,6 +18,7 @@ Source0: https://github.com/noctalia-dev/noctalia/archive/%{commit}/noctalia-%{c
BuildRequires: meson
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: desktop-file-utils
BuildRequires: pipewire-devel
BuildRequires: sdbus-cpp-devel
BuildRequires: pkgconfig(cairo)
@@ -77,13 +78,21 @@ find third_party -type f \( -name "LICENSE*" -o -name "COPYING*" -o -name "NOTIC
install -p -m 0644 "$file" "$dest_dir/"
done
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/dev.noctalia.Noctalia.desktop
%files
%doc README.md
%license LICENSE
%{_licensedir}/%{name}/third_party/
%{_bindir}/noctalia
%{_datadir}/noctalia/
%{_datadir}/applications/dev.noctalia.Noctalia.desktop
%{_datadir}/icons/hicolor/scalable/apps/noctalia.svg
%changelog
* Wed Jun 24 2026 Cypress Reed <cypress@fyralabs.com>
- Add desktop file and icon
* Fri Jun 05 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/commits/main").json().sha);
rpm.global("commit", gh_commit("noctalia-dev/noctalia"));
if rpm.changed() {
// rpm.global("ver", gh("noctalia-dev/noctalia"));
rpm.global("commitdate", date());
@@ -1,18 +1,19 @@
%global ver 1.0.0
%global commit fca79eb56d45370949d20beb6f740e7e5daaee5b
%global commit db60c06b5f6ff5da4d5f1126eff312b2a41ef614
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20260621
%global commitdate 20260609
Name: noctalia-greeter
Version: %{ver}^%{commitdate}git.%{shortcommit}
Release: 2%{?dist}
Release: 1%{?dist}
Summary: A minimal login greeter for greetd that matches the look and feel of Noctalia Shell.
License: MIT
URL: https://github.com/noctalia-dev/%{name}
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
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
BuildRequires: cage
BuildRequires: dbus
BuildRequires: gcc-c++
BuildRequires: greetd
@@ -31,11 +32,11 @@ BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: polkit
BuildRequires: wlroots-devel >= 0.20
BuildRequires: wlr-randr
Requires: cage
Requires: dbus
Requires: greetd
Requires: wlroots >= 0.20
Packager: Cypress Reed <cypress@fyralabs.com>
@@ -47,37 +48,25 @@ It lets you pick a user, enter your password, choose a Wayland session, and pick
%autosetup -n noctalia-greeter-%{commit}
%conf
%meson -Db_pie=true
export LDFLAGS="%{__global_ldflags} -Wl,-z,notext"
%meson
%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", gh_commit("noctalia-dev/noctalia-greeter"));
rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-greeter/commits/main").json().sha);
if rpm.changed() {
rpm.global("ver", gh("noctalia-dev/noctalia-greeter"));
rpm.global("commit_date", date());