Introduce awww package
All checks were successful
Build awww / Build and push image (push) Successful in 10m0s
All checks were successful
Build awww / Build and push image (push) Successful in 10m0s
This commit is contained in:
85
awww.spec
Normal file
85
awww.spec
Normal file
@@ -0,0 +1,85 @@
|
||||
# Generated by rust2rpm 25
|
||||
%bcond_with check
|
||||
|
||||
Name: awww
|
||||
Version: 0.11.2
|
||||
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/awww/
|
||||
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/swww %{buildroot}%{_bindir}/swww
|
||||
install -Dpm755 target/release/swww-daemon %{buildroot}%{_bindir}/swww-daemon
|
||||
install -Dpm644 completions/_swww %{buildroot}%{zsh_completions_dir}/_swww
|
||||
install -Dpm644 completions/swww.bash %{buildroot}%{bash_completions_dir}/swww
|
||||
install -Dpm644 completions/swww.fish %{buildroot}%{fish_completions_dir}/swww.fish
|
||||
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}/swww
|
||||
%{_bindir}/swww-daemon
|
||||
%{_mandir}/man1/swww*.1.*
|
||||
%{bash_completions_dir}/swww
|
||||
%{fish_completions_dir}/swww.fish
|
||||
%{zsh_completions_dir}/_swww
|
||||
|
||||
%changelog
|
||||
## START: Generated by rpmautospec
|
||||
* Mon Nov 24 2025 John Doe <packager@example.com> - 0.11.2-1
|
||||
- Uncommitted changes
|
||||
## END: Generated by rpmautospec
|
||||
Reference in New Issue
Block a user