61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
# Generated by rust2rpm 25
|
|
%bcond_without check
|
|
|
|
# prevent library files from being installed
|
|
%global __cargo_is_lib() 0
|
|
|
|
%global crate sshca-cli
|
|
|
|
Name: sshca-cli
|
|
Version: 0.1.1
|
|
Release: 2%{?dist}
|
|
Summary: CLI client for SSHCA
|
|
|
|
SourceLicense: MIT OR Apache-2.0
|
|
License: MIT OR Apache-2.0
|
|
# LICENSE.dependencies contains a full license breakdown
|
|
|
|
URL: https://git.pyrocufflink.net/dustin/sshca
|
|
Source: sshca-cli-%{version}.tar.xz
|
|
Source: sshca-cli-%{version}-vendor.tar.xz
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 25
|
|
BuildRequires: openssl-devel
|
|
|
|
%global _description %{expand:
|
|
CLI client for SSHCA.}
|
|
|
|
%description %{_description}
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version} -p1 -a1
|
|
%cargo_prep -v vendor
|
|
|
|
|
|
%build
|
|
%cargo_build
|
|
%{cargo_license_summary}
|
|
%{cargo_license} > LICENSE.dependencies
|
|
%{cargo_vendor_manifest}
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%files
|
|
%license LICENSE-Apache-2.0.txt
|
|
%license LICENSE-MIT.txt
|
|
%license LICENSE.dependencies
|
|
%license cargo-vendor.txt
|
|
%{_bindir}/sshca-cli
|
|
|
|
%changelog
|
|
* Sun Nov 05 2023 Dustin C. Hatch <dustin@hatch.name> - 0.1.0-1
|
|
- Initial package
|