## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 25 %bcond_with check Name: awww Version: 0.12.0 Release: %autorelease Summary: Efficient animated wallpaper daemon for wayland, controlled at runtime # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause # BSD-3-Clause # CC0-1.0 OR Apache-2.0 # ISC # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR NCSA # MIT OR Apache-2.0 OR Zlib # MIT OR Zlib OR Apache-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: GPL-3.0-only AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR NCSA) AND (CC0-1.0 OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) AND Zlib URL: https://codeberg.org/LGFae/%{name}/ Source: %{url}/archive/v%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(dav1d) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: scdoc Obsoletes: swww <= 0.11.2 %global _description %{expand: %{summary}.} %description %{_description} %prep %autosetup -n %{name} cargo vendor %cargo_prep -v vendor %build %cargo_build -f avif ./doc/gen.sh %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install install -Dpm755 target/release/%{name} %{buildroot}%{_bindir}/%{name} install -Dpm755 target/release/%{name}-daemon %{buildroot}%{_bindir}/%{name}-daemon install -Dpm644 completions/_%{name} %{buildroot}%{zsh_completions_dir}/_%{name} install -Dpm644 completions/%{name}.bash %{buildroot}%{bash_completions_dir}/%{name} install -Dpm644 completions/%{name}.fish %{buildroot}%{fish_completions_dir}/%{name}.fish install -Dpm644 completions/%{name}.elv %{buildroot}%{_datadir}/elvish/lib/completions/%{name}.elv install -Dpm644 ./doc/generated/*.1 -t %{buildroot}%{_mandir}/man1 %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc CHANGELOG.md %doc README.md %{_bindir}/%{name} %{_bindir}/%{name}-daemon %{_mandir}/man1/%{name}*.1.* %{bash_completions_dir}/%{name} %{fish_completions_dir}/%{name}.fish %{zsh_completions_dir}/_%{name} %{_datadir}/elvish/lib/completions/%{name}.elv %changelog ## START: Generated by rpmautospec * Fri Apr 03 2026 John Doe - 0.12.0-1 - Uncommitted changes ## END: Generated by rpmautospec