setconf/setconf.spec

41 lines
1.0 KiB
RPMSpec

Name: setconf
Version: 0.7.7
Release: 1mamba
Summary: Utility for easily changing settings in configuration files
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://setconf.roboticoverlords.org/
Source: https://setconf.roboticoverlords.org/setconf-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: /usr/bin/python
%description
Utility for easily changing settings in configuration files.
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -Dm755 setconf.py %{buildroot}%{_bindir}/setconf
install -Dm644 setconf.1.gz %{buildroot}%{_mandir}/man1/setconf.1.gz
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/setconf
%{_mandir}/man1/setconf.1*
%doc COPYING
%changelog
* Sat Jul 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.7-1mamba
- package created using the webbuild interface