Blob Blame History Raw
Name:           bind-to-tinydns
Version:        0.4.3
Release:        5%{?dist}
Summary:        Convert DNS zone files in BIND format to tinydns format

Group:          Applications/System
License:        GPL+
URL:            http://www.erat.org/
Source0:        http://www.erat.org/files/bind-to-tinydns-%{version}.tar.gz
Patch0:         bind-to-tinydns-0.4.3-cflags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
This is a program that parses zone files used by the BIND DNS server and
converts them to the native format of the tinydns component of Dan Bernstein's
djbdns DNS server.

%prep
%setup -q
%patch0 -p1


%build
make %{?_smp_mflags} CFLAGS="%{optflags}"


%install
rm -rf $RPM_BUILD_ROOT
install -Dp -m 755 bind-to-tinydns $RPM_BUILD_ROOT%{_bindir}/bind-to-tinydns

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING
%{_bindir}/bind-to-tinydns


%changelog
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Tue Jan 27 2009 Tim Jackson <rpm@timj.co.uk> 0.4.3-4
- Compile stage now uses standard compiler flags

* Tue Jan 27 2009 Tim Jackson <rpm@timj.co.uk> 0.4.3-3
- Correct License tag to GPL+

* Tue Jan 27 2009 Tim Jackson <rpm@timj.co.uk> 0.4.3-2
- Add missing source URL

* Sat Sep 06 2008 Tim Jackson <rpm@timj.co.uk> 0.4.3-1
- Initial RPM build