aboutsummaryrefslogtreecommitdiff
path: root/ddtools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ddtools.spec')
-rw-r--r--ddtools.spec57
1 files changed, 57 insertions, 0 deletions
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 <bgstack15@gmail.com>
+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 <bgstack15@gmail.com> - 0.0.4-1
+- Small config choices for modern era
+
+* Sun Oct 15 2017 B Stack <bgstack15@gmail.com> 0.0-3
+- Updated content. See doc/README.txt
+
+* Sat May 27 2017 B Stack <bgstack15@gmail.com> 0.0-1
+- Initial rpm release
bgstack15