Files
packages/anda/devs/git-biance/git-biance.spec
T
2026-06-21 03:45:23 +08:00

42 lines
925 B
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
%global crate git-biance
Name: git-biance
Version: 0.1.2
Release: 1%?dist
Summary: Visualize code contributions in a GitHub-style graph.
License: GPL-3.0
URL: https://crates.io/crates/git-biance
Source: %{terra_crates_source}
Packager: xiaoshihou <xiaoshihou@tutamail.com>
BuildRequires: anda-srpm-macros cargo-rpm-macros mold
%global _description %{expand:
biance(鞭策,biān cè,spuris a small rust
program that shows and visualizes code contributions
in a git repository.
}
%description %{_description}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%license LICENSE.dependencies
%doc README.md README-zh.md
%{_bindir}/%{crate}
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep_online
%build
%{cargo_license_summary_online}
%{cargo_license_online} > LICENSE.dependencies
%install
%cargo_install