Name: hacking-bash-lib Version: 0.2 Release: 1%{?dist} Summary: A library for Bash providing various convenience functions such as error handling, variable testing, etc. 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Requires: bash %description The Hacking Networked Solutions library for Bash provides a range of functions designed to simplify the task of writing Bash scripts. Functionality currently includes Array Manipulation Functions, Error Handling and Debugging Functions and Variable Testing Functions. %prep %autosetup -n %{name}-%{name}-%{version} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_usr}/lib/%{name} install -c -m 644 usr/lib/hacking-bash.sh $RPM_BUILD_ROOT%{_usr}/lib/%{name} %files %{_usr}/lib/%{name}/hacking-bash.sh %changelog * Mon Jun 4 2018 Gary T. Giesen - 0.2-1 - Initial build.