blob: 4907d10b31193fb40b0c0fe9e7f6a93277b2e136 (
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
|
# ref: http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
Summary: update dns zone files easily
Name: updatezone
Version: 0.0
Release: 1
License: CC BY-SA 4.0
Group: Applications/System
Source: updatezone.tgz
URL: https://bgstack15.wordpress.com/
#Distribution:
#Vendor:
Packager: B Stack <bgstack15@gmail.com>
Requires: bgscripts >= 1.2-11
Buildarch: noarch
%description
updatezone provides updatezone.sh which 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.
#%global _python_bytecompile_errors_terminate_build 0
%prep
%setup
%build
%install
rm -rf %{buildroot}
rsync -a . %{buildroot}/ --exclude='**/.*.swp' --exclude='**/.git'
%post
exit 0
%preun
exit 0
%postun
exit 0
%files
%dir /etc/updatezone
%dir /usr/share/updatezone
%dir /usr/share/updatezone/inc
%dir /usr/share/updatezone/examples
%dir /usr/share/updatezone/docs
/usr/share/updatezone/inc/pack
/usr/share/updatezone/inc/get-files
%config %attr(666, -, -) /usr/share/updatezone/examples/ipa.smith122.com.conf.example
%doc %attr(444, -, -) /usr/share/updatezone/docs/files-for-versioning.txt
%doc %attr(444, -, -) /usr/share/updatezone/docs/packaging.txt
%doc %attr(444, -, -) /usr/share/updatezone/docs/README.txt
/usr/share/updatezone/docs/updatezone.spec
/usr/share/updatezone/updatezone.sh
%changelog
* Fri May 26 2017 B Stack <bgstack15@gmail.com> 0.0-1
- Initial rpm release
|