Name: awww Version: 0.11.2 Release: 1%{?dist} Summary: Efficient animated wallpaper daemon for Wayland, controlled at runtime License: GPL-3.0-or-later URL: https://codeberg.org/LGFae/awww Source0: %{url}/archive/v%{version}.tar.gz # Build-time dependencies (from AUR + LFS docs) BuildRequires: cargo BuildRequires: rust BuildRequires: git BuildRequires: scdoc BuildRequires: gcc BuildRequires: make BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(dav1d) # awww is only useful on architectures that realistically run Wayland ExclusiveArch: x86_64 aarch64 %description awww (Answer to your Wayland Wallpaper Woes) is an efficient animated wallpaper daemon for Wayland, controlled at runtime. It supports static and animated wallpapers, multiple outputs, and various transition effects. %prep %autosetup -n %{name}-%{version} %build # Keep build dir explicit so we know where cargo puts things export CARGO_TARGET_DIR=%{_builddir}/%{name}-%{version}/target # Build with all features enabled (like the AUR package) cargo build --release --frozen --all-features # Generate man pages (requires scdoc) ./doc/gen.sh %install # Binaries install -Dm0755 target/release/awww \ %{buildroot}%{_bindir}/awww install -Dm0755 target/release/awww-daemon \ %{buildroot}%{_bindir}/awww-daemon # Shell completions install -Dm0644 completions/awww.bash \ %{buildroot}%{_datadir}/bash-completion/completions/awww install -Dm0644 completions/_awww \ %{buildroot}%{_datadir}/zsh/site-functions/_awww install -Dm0644 completions/awww.fish \ %{buildroot}%{_datadir}/fish/vendor_completions.d/awww.fish install -Dm0644 completions/awww.elv \ %{buildroot}%{_datadir}/elvish/lib/awww.elv # Documentation (README etc + example scripts) install -d %{buildroot}%{_docdir}/%{name} install -Dm0644 *.md \ %{buildroot}%{_docdir}/%{name}/ cp -a example_scripts \ %{buildroot}%{_docdir}/%{name}/ # Man pages install -d %{buildroot}%{_mandir}/man1 install -Dm0644 doc/generated/*.1 \ %{buildroot}%{_mandir}/man1/ %check # Run test suite with the same feature set cargo test --release --frozen --all-features %files %license LICENSE* %doc %{_docdir}/%{name} %{_bindir}/awww %{_bindir}/awww-daemon %{_datadir}/bash-completion/completions/awww %{_datadir}/zsh/site-functions/_awww %{_datadir}/fish/vendor_completions.d/awww.fish %{_datadir}/elvish/lib/awww.elv %{_mandir}/man1/*.1* %changelog * Sat Dec 06 2025 Christian Bendiksen - 0.11.2-1 - Initial COPR packaging for awww