From f4c15806de5d8a3948a014840af558c560336da0 Mon Sep 17 00:00:00 2001 From: Christian Glombek Date: May 25 2023 16:25:21 +0000 Subject: Initial Release --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6bda929 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/conmon-rs-0.5.1.tar.gz diff --git a/SPECS/conmon-rs.spec b/SPECS/conmon-rs.spec new file mode 100644 index 0000000..071af42 --- /dev/null +++ b/SPECS/conmon-rs.spec @@ -0,0 +1,49 @@ +# The following tag is to get correct syntax highlighting for this file in vim text editor +# vim: syntax=spec + +%global with_debug 0 + +%if 0%{?with_debug} +%global _find_debuginfo_dwz_opts %{nil} +%global _dwz_low_mem_die_limit 0 +%else +%global debug_package %{nil} +%endif + +%global bin_name conmonrs + +Name: conmon-rs +Version: 0.5.1 +Release: 1{?dist} +Summary: Container monitor in Rust +License: ASL 2.0 and BSD and ISC and MIT +URL: https://github.com/containers/conmon-rs +Source0: https://github.com/containers/conmon-rs/archive/v%{version}.tar.gz#%{name}-%{version}.tar.gz + +BuildRequires: capnproto +BuildRequires: cargo +BuildRequires: git-core +BuildRequires: make +BuildRequires: protobuf-compiler +Provides: %{bin_name} +ExclusiveArch: %{rust_arches} + +%description +%{summary}. + +%prep +%autosetup -Sgit -n %{name}-%{version} + +%build +%{__make} release + +%install +%{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} install + +%files +%license LICENSE +%{_bindir}/%{bin_name} + +%changelog +* Thu May 25 2023 Christian Glombek - 0.5.1-1 +- Initial Release diff --git a/sources b/sources new file mode 100644 index 0000000..d2ebe0d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (conmon-rs-0.5.1.tar.gz) = 5bb949ed4dfe4e2c87502df451e67e3a44f5bfa193a7d4ea9ebe3cdc86c98a1d43aeb1272ed01358e865f0952bea7e3ab1e9263f7f11818ecb631284ef582176