d8f2c2e
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
d8f2c2e
d8f2c2e
Name:		pydot
d8f2c2e
Version:	0.9.10
8d44d69
Release:	3%{?dist}
d8f2c2e
License:	MIT
d8f2c2e
Group:		System Environment/Libraries
d8f2c2e
Summary:	Python interface to Graphviz's Dot language
d8f2c2e
URL:		http://dkbza.org/pydot.html
d8f2c2e
Source0:	http://dkbza.org/data/pydot-%{version}.tar.gz
d8f2c2e
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8d44d69
BuildRequires:	pyparsing
d8f2c2e
Requires:	graphviz, pyparsing
d8f2c2e
BuildArch:	noarch
d8f2c2e
d8f2c2e
%description
d8f2c2e
An interface for creating both directed and non directed graphs from Python. 
d8f2c2e
Currently all attributes implemented in the Dot language are supported (up 
d8f2c2e
to Graphviz 1.16).
d8f2c2e
d8f2c2e
Output can be inlined in Postscript into interactive scientific environments 
d8f2c2e
like TeXmacs, or output in any of the format's supported by the Graphviz 
d8f2c2e
tools dot, neato, twopi.
d8f2c2e
d8f2c2e
%prep
d8f2c2e
%setup -q
d8f2c2e
d8f2c2e
%build
d8f2c2e
%{__python} setup.py build
d8f2c2e
d8f2c2e
%install
d8f2c2e
rm -rf $RPM_BUILD_ROOT
d8f2c2e
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
d8f2c2e
d8f2c2e
%clean
d8f2c2e
rm -rf $RPM_BUILD_ROOT
d8f2c2e
d8f2c2e
%files
d8f2c2e
%defattr(-,root,root,-)
d8f2c2e
%doc LICENSE ChangeLog PKG-INFO README
d8f2c2e
%{python_sitelib}/*
d8f2c2e
d8f2c2e
%changelog
8d44d69
* Thu Oct  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-3
8d44d69
- We really do need pyparsing as a BR
8d44d69
d8f2c2e
* Thu Oct  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-2
d8f2c2e
- change BR to R for graphviz, pyparsing
d8f2c2e
d8f2c2e
* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-1
d8f2c2e
- initial package for Fedora Extras