cf1b5c5
Name:           bind-to-tinydns
cf1b5c5
Version:        0.4.3
7bbd833
Release:        7%{?dist}
cf1b5c5
Summary:        Convert DNS zone files in BIND format to tinydns format
cf1b5c5
cf1b5c5
Group:          Applications/System
cf1b5c5
License:        GPL+
cf1b5c5
URL:            http://www.erat.org/
cf1b5c5
Source0:        http://www.erat.org/files/bind-to-tinydns-%{version}.tar.gz
cf1b5c5
Patch0:         bind-to-tinydns-0.4.3-cflags.patch
cf1b5c5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cf1b5c5
cf1b5c5
%description
cf1b5c5
This is a program that parses zone files used by the BIND DNS server and
cf1b5c5
converts them to the native format of the tinydns component of Dan Bernstein's
cf1b5c5
djbdns DNS server.
cf1b5c5
cf1b5c5
%prep
cf1b5c5
%setup -q
cf1b5c5
%patch0 -p1
cf1b5c5
cf1b5c5
cf1b5c5
%build
cf1b5c5
make %{?_smp_mflags} CFLAGS="%{optflags}"
cf1b5c5
cf1b5c5
cf1b5c5
%install
cf1b5c5
rm -rf $RPM_BUILD_ROOT
cf1b5c5
install -Dp -m 755 bind-to-tinydns $RPM_BUILD_ROOT%{_bindir}/bind-to-tinydns
cf1b5c5
cf1b5c5
%clean
cf1b5c5
rm -rf $RPM_BUILD_ROOT
cf1b5c5
cf1b5c5
cf1b5c5
%files
cf1b5c5
%defattr(-,root,root,-)
cf1b5c5
%doc README COPYING
cf1b5c5
%{_bindir}/bind-to-tinydns
cf1b5c5
cf1b5c5
cf1b5c5
%changelog
7bbd833
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-7
7bbd833
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7bbd833
2dd3155
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-6
2dd3155
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2dd3155
1c169cf
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-5
1c169cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c169cf
cf1b5c5
* Tue Jan 27 2009 Tim Jackson <rpm@timj.co.uk> 0.4.3-4
cf1b5c5
- Compile stage now uses standard compiler flags
cf1b5c5
cf1b5c5
* Tue Jan 27 2009 Tim Jackson <rpm@timj.co.uk> 0.4.3-3
cf1b5c5
- Correct License tag to GPL+
cf1b5c5
cf1b5c5
* Tue Jan 27 2009 Tim Jackson <rpm@timj.co.uk> 0.4.3-2
cf1b5c5
- Add missing source URL
cf1b5c5
cf1b5c5
* Sat Sep 06 2008 Tim Jackson <rpm@timj.co.uk> 0.4.3-1
cf1b5c5
- Initial RPM build