From 37a27c70cf34791080f8c449a6b43338500337b7 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Fri, 13 Sep 2024 21:21:10 +0200 Subject: [PATCH] Add spec file Signed-off-by: Georg Pfuetzenreuter --- authorized-exec.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 authorized-exec.spec diff --git a/authorized-exec.spec b/authorized-exec.spec new file mode 100644 index 0000000..ca93012 --- /dev/null +++ b/authorized-exec.spec @@ -0,0 +1,48 @@ +# +# spec file for package authorized-exec +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2024 Georg Pfuetzenreuter +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: authorized-exec +Version: 1.0 +Release: 0 +Summary: Health check +License: EUPL-1.2 +Group: System/Monitoring +URL: https://git.com.de/Georg/authorized-exec +Source: %{name}-%{version}.tar.zst +BuildArch: noarch + +%description +authorized-exec is a command wrapper for use as a forced SSH command. + +%prep +%autosetup + +%build +# Perl script, nothing to build + +%install +%make_install PREFIX=%{_prefix} MANDIR=%{_mandir} SYSCONFDIR=%{_sysconfdir} + +%files +%license LICENSE +%doc README.txt +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} + +%changelog