Blame SPECS/conmon-rs.spec

f4c158
# The following tag is to get correct syntax highlighting for this file in vim text editor
f4c158
# vim: syntax=spec
f4c158
f4c158
%global with_debug 0
f4c158
f4c158
%if 0%{?with_debug}
f4c158
%global _find_debuginfo_dwz_opts %{nil}
f4c158
%global _dwz_low_mem_die_limit 0
f4c158
%else
f4c158
%global debug_package %{nil}
f4c158
%endif
f4c158
f4c158
%global bin_name conmonrs
f4c158
f4c158
Name: conmon-rs
5a3b46
Version: 0.6.6
f727f9
Release: 1%{?dist}
f4c158
Summary: Container monitor in Rust
f4c158
License: ASL 2.0 and BSD and ISC and MIT
f4c158
URL: https://github.com/containers/conmon-rs
5a3b46
Source0: https://github.com/containers/conmon-rs/releases/download/v%{version}/%{bin_name}-v%{version}.tar.gz
f4c158
BuildRequires: capnproto
f4c158
BuildRequires: cargo
f4c158
BuildRequires: git-core
f4c158
BuildRequires: make
f4c158
BuildRequires: protobuf-compiler
5a3b46
%if "0%{?rhel}"
070ba9
BuildRequires:  rust-toolset
070ba9
%else
070ba9
BuildRequires:  rust-packaging
070ba9
%endif
f4c158
Provides: %{bin_name}
f4c158
ExclusiveArch: %{rust_arches}
f4c158
f4c158
%description
f4c158
%{summary}.
f4c158
f4c158
%prep
5a3b46
%autosetup -n %{bin_name}-v%{version}
f4c158
f4c158
%build
f4c158
%{__make} release
f4c158
f4c158
%install
f4c158
%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install
f4c158
f4c158
%files
f4c158
%license LICENSE
f4c158
%{_bindir}/%{bin_name}
f4c158
f4c158
%changelog
5a3b46
* Fri Oct 25 2024 Dennis Gilmore <dennis@ausil.us> - 0.6.6-1
5a3b46
- update to 0.6.6
5a3b46
f4c158
* Thu May 25 2023 Christian Glombek <cglombek@redhat.com> - 0.5.1-1
f4c158
- Initial Release