Name: snmpd-connector-lib Version: 0.3 Release: 1%{?dist} Summary: A library script to ease the development of SNMPD connectors in Bash License: LGPLv3 URL: https://www.mad-hacking.net/software/linux/agnostic/%{name}/index.xml Source0: https://github.com/MADhacking/%{name}/archive/%{name}-%{version}.tar.gz Patch0: snmpd-connector-lib_lib-path-patch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Requires: hacking-bash-lib net-snmp %description The snmpd-connector-lib package provides an SNMPD agent/connector library for the Bash shell scripting language designed to assist with the development of new SNMPD agents/connectors, especially those providing access to tabular data, by providing an extremely simple API as well as other useful features including abstraction of the MIB structure. %prep %autosetup -n %{name}-%{name}-%{version} -p1 %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_usr}/lib/%{name} install -c -m 644 usr/lib/snmpd-connector-lib.sh $RPM_BUILD_ROOT%{_usr}/lib/%{name} %files %{_usr}/lib/%{name}/snmpd-connector-lib.sh %changelog * Mon Jun 4 2018 Gary T. Giesen - 0.3-1 - Initial build.