# 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