* add: zola

* doc: remove url from summary

* minor fix: seperate url and source

(cherry picked from commit c568a655f5)

Co-authored-by: arbor <arbormoss@woodsprite.dev>
This commit is contained in:
Raboneko
2025-11-20 00:39:09 -08:00
committed by GitHub
parent 5b708c93d6
commit eaa5a3c040
3 changed files with 41 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "zola.spec"
}
}
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("getzola/zola"));
+35
View File
@@ -0,0 +1,35 @@
Name: zola
Version: 0.21.0
Release: 1%?dist
Summary: A fast static site generator in a single binary with everything built-in.
URL: https://www.getzola.org
Source0: https://github.com/getzola/%{name}/archive/refs/tags/v%{version}.tar.gz
License: MIT
BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold glib2 libgcc clang
Packager: arbormoss <arbormoss@woodsprite.dev>
%description
%summary.
%prep
%autosetup -n %name-%version
%cargo_prep_online
%build
%cargo_build
%install
install -Dm755 target/rpm/zola %{buildroot}%{_bindir}/zola
%cargo_license_summary_online
%{cargo_license_online -a} > LICENSE.dependencies
%files
%doc README.md CHANGELOG.md CONTRIBUTING.md EXAMPLES.md
%license LICENSE
%license LICENSE.dependencies
%{_bindir}/zola
%changelog
* Wed Nov 19 2025 arbormoss <arbormoss@woodsprite.dev>
- Intial Commit