From 8f27989ba7524851b53140258390bb896674c9c4 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 19 Aug 2024 12:30:40 -0400 Subject: update the utilites for current paths, rearrange whole package for 0.0.4-1 --- ddtools.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 ddtools.spec (limited to 'ddtools.spec') diff --git a/ddtools.spec b/ddtools.spec new file mode 100644 index 0000000..9300d2a --- /dev/null +++ b/ddtools.spec @@ -0,0 +1,57 @@ +# ref: http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html +Summary: suite of scripts for managing dns and dhcpd +Name: ddtools +Version: 0.0.4 +Release: 1 +License: CC BY-SA 4.0 +Group: Applications/System +Source: ddtools.tgz +URL: https://bgstack15.wordpress.com/ +Packager: B. Stack +Requires: bgscripts-core >= 1.4.0 +Obsoletes: updatezone <= %{version}-%{release} +Buildarch: noarch + +%description +ddtools provides shell scripts that help manage dns and dhcpd. +updatezone takes a simple config file for selecting the dns zone files to edit. Bind is the only supported dns server right now, but experimentation is encouraged. +dhcpd-control helps manage paired dhcpd servers. + +#%global _python_bytecompile_errors_terminate_build 0 + +%prep +%setup + +%build + +%install +rm -rf %{buildroot} +rsync -a ./src/ %{buildroot}/ --exclude='**/.*.swp' --exclude='**/.git' + +%post +exit 0 + +%preun +exit 0 + +%postun +exit 0 + +%files +%dir %{_datadir}/ddtools +%dir %{_sysconfdir}/ddtools +%{_sysconfdir}/ddtools/* +%{_bindir}/* +%{_docdir}/ddtools/* +%{_sysconfdir}/bash_completion.d/* +%{_sysconfdir}/sysconfig/* + +%changelog +* Mon Aug 19 2024 B. Stack - 0.0.4-1 +- Small config choices for modern era + +* Sun Oct 15 2017 B Stack 0.0-3 +- Updated content. See doc/README.txt + +* Sat May 27 2017 B Stack 0.0-1 +- Initial rpm release -- cgit