diff --git a/anda/system/wluma/anda.hcl b/anda/system/wluma/anda.hcl new file mode 100644 index 0000000000..5e18893f61 --- /dev/null +++ b/anda/system/wluma/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "wluma.spec" + } +} diff --git a/anda/system/wluma/update.rhai b/anda/system/wluma/update.rhai new file mode 100644 index 0000000000..95ba7eca20 --- /dev/null +++ b/anda/system/wluma/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("max-baz/wluma")) diff --git a/anda/system/wluma/wluma.spec b/anda/system/wluma/wluma.spec new file mode 100644 index 0000000000..b1e5af075b --- /dev/null +++ b/anda/system/wluma/wluma.spec @@ -0,0 +1,34 @@ +Name: wluma +Version: 4.10.0 +Release: 1%?dist +Summary: Automatic brightness adjustment based on screen contents and ALS +URL: https://github.com/max-baz/wluma +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +License: ISC +BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold v4l-utils libv4l-devel rust-libudev-devel vulkan-loader-devel dbus-devel clang +Packager: Its-J + +%description +%{summary}. + +%prep +%autosetup -n %{name}-%{version} +%cargo_prep_online + +%build +%cargo_build + +%install +%cargo_install +%cargo_license_summary_online +%{cargo_license_online -a} > LICENSE.dependencies + +%files +%doc README.md +%license LICENSE +%license LICENSE.dependencies +%{_bindir}/wluma + +%changelog +* Fri Nov 28 2025 Its-J +- Package wluma