aboutsummaryrefslogtreecommitdiff
path: root/ddtools.spec
blob: 9300d2a30e259f16110cf7243e56fecc1d6432aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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