Summary: Python interface to sendmail milter API
Name: dnsviz
Version: 0.4.0
Release: 0.1.4cf9c936%{?dist}
Source: https://github.com/dnsviz/dnsviz/releases/download/v%{version}/dnsviz-%{version}.tar.gz
License: GPLv2+
Url: http://dnsviz.net/
BuildRequires:  python2-devel >= 2.7
Requires: python >= 2.7 python-dns python-pygraphviz
Requires: m2crypto >= 0.21.1
BuildArch: noarch
# the udns package also provides a tool called dnsget
Conflicts: udns

%description
DNSViz is a tool suite for analysis and visualization of Domain Name
System (DNS) behavior, including its security extensions (DNSSEC). This
tool suite powers the Web-based analysis available at http://dnsviz.net/

%prep
%setup -q

%build
CFLAGS="%{optflags}" %{__python2} setup.py build

%install
%{__python2} setup.py install --root=%{buildroot}

%files
%doc README.md LICENSE
%doc %{_mandir}/man1/*gz
# conficts with dnsget from udns
%{_bindir}/dnsget
%{_bindir}/dnsgrok
%{_bindir}/dnsviz
%{_bindir}/dv
%{python_sitelib}/*egg-info
%{python_sitelib}/dnsviz
%dir %attr(0755,root,root) %{_prefix}/share/%{name}
%{_prefix}/share/%{name}/*


%changelog
* Thu Aug 27 2015 Paul Wouters <pwouters@redhat.com> - 0.4.0-0.1.4cf9c936
- Initial package