5e39cd0
%global commit 9dee4a3ff1438ce3099811833e80f614dfa78932
913d43b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
913d43b
%global debug_package %{nil}
913d43b
913d43b
Name:          mkrdns
913d43b
Version:       3.3
7eaad73
Release:       13.20220829git%{shortcommit}%{?dist}
913d43b
Summary:       Automatic reverse DNS zone generator
913d43b
913d43b
License:       GPLv2+
913d43b
URL:           https://github.com/oasys/%{name}
913d43b
Source0:       https://github.com/oasys/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
913d43b
BuildArch:     noarch
913d43b
BuildRequires: perl-podlators
913d43b
Requires:      perl-Getopt-Long
913d43b
913d43b
%description
913d43b
mkrdns automates the tedious procedure of editing both forward and reverse 
913d43b
zones when making changes to your zones with likely no changes to your current 
913d43b
configuration file.
913d43b
913d43b
mkrdns does this by reading through all of the primary/secondary (master/slave) 
913d43b
zones in your configuration file (either named.boot or named.conf). It will 
913d43b
then automatically generate the reverse zone entries (IN PTR) for the networks 
913d43b
for which you are the primary/master. It is now possible to simply edit the 
913d43b
forward map, run mkrdns, and reload the zone. Clean, simple, and best of all, 
913d43b
automatic.
913d43b
913d43b
mkrdns also acts as a limited lint-like program, issuing warnings and errors if 
913d43b
there are problems with your configuration or zone files.
913d43b
913d43b
%prep
913d43b
%autosetup -n %{name}-%{commit}
913d43b
913d43b
%build
913d43b
# Nothing to build
913d43b
913d43b
%install
913d43b
install -Dp -m 0755 mkrdns %{buildroot}%{_bindir}/mkrdns
913d43b
mkdir -p %{buildroot}%{_mandir}/man1
913d43b
pod2man mkrdns %{buildroot}%{_mandir}/man1/mkrdns.1
913d43b
913d43b
%files
913d43b
%doc README.md
fc8f3df
%license LICENSE
913d43b
%{_bindir}/mkrdns
913d43b
%{_mandir}/man1/mkrdns.1.gz
913d43b
913d43b
%changelog
7eaad73
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-13.20220829git9dee4a3
7eaad73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7eaad73
818440c
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-12.20220829git9dee4a3
818440c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
818440c
4e00499
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-11.20220829git9dee4a3
4e00499
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
4e00499
805cd72
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-10.20220829git9dee4a3
805cd72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
805cd72
5e39cd0
* Mon Aug 29 2022 Christian Schuermann <spike@fedoraproject.org> 3.3-9.20220829git9dee4a3
5e39cd0
- Updated to latest git commit to include response-policy support
5e39cd0
ba1c127
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-8.20210224gitf6e8414
ba1c127
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
ba1c127
7a42281
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-7.20210224gitf6e8414
7a42281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
7a42281
9e86ea1
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-6.20210224gitf6e8414
9e86ea1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9e86ea1
fc8f3df
* Wed Feb 24 2021 Christian Schuermann <spike@fedoraproject.org> 3.3-5.20210224gitf6e8414
fc8f3df
- Updated to latest git commit to include license file
fc8f3df
4d3668a
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4.20190902git6b3f3a4
4d3668a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4d3668a
a769205
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-3.20190902git6b3f3a4
a769205
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a769205
4051240
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2.20190902git6b3f3a4
4051240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4051240
913d43b
* Mon Sep 2 2019 Christian Schuermann <spike@fedoraproject.org> 3.3-1.20190902git6b3f3a4
913d43b
- Initial package