d8f2c2e
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
d8f2c2e
d8f2c2e
Name:		pydot
d4e6be5
Version:	1.0.28
41578fc
Release:	6%{?dist}
d8f2c2e
License:	MIT
d8f2c2e
Group:		System Environment/Libraries
d8f2c2e
Summary:	Python interface to Graphviz's Dot language
fc7de15
URL:		http://code.google.com/p/pydot/
fc7de15
Source0:	http://pydot.googlecode.com/files/pydot-%{version}.tar.gz
66b0c70
Patch0:		pydot-1.0.28-pyparsing2fix.patch
cca67f7
BuildRequires:	pyparsing python-devel
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 
fc7de15
to Graphviz 2.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
66b0c70
%patch0 -p1 -b .pyparsing2fix
d8f2c2e
d8f2c2e
%build
d8f2c2e
%{__python} setup.py build
d8f2c2e
d8f2c2e
%install
d8f2c2e
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
d8f2c2e
fc7de15
# Why would you do this? :/
a6f8c3b
rm -rf $RPM_BUILD_ROOT%{_prefix}/LICENSE $RPM_BUILD_ROOT%{_prefix}/README
fc7de15
d8f2c2e
%files
a6f8c3b
%doc LICENSE PKG-INFO README
dfc32ae
%{python_sitelib}/dot_parser.py*
dfc32ae
%{python_sitelib}/pydot.*
5335cbd
%{python_sitelib}/pydot-%{version}*.egg-info
d8f2c2e
d8f2c2e
%changelog
41578fc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-6
41578fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
41578fc
66b0c70
* Mon Dec  9 2013 Tom Callaway <spot@fedoraproject.org> - 1.0.28-5
66b0c70
- fix for pyparsing2
66b0c70
ad83168
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-4
ad83168
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ad83168
3b2f25e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-3
3b2f25e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3b2f25e
996835f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.28-2
996835f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
996835f
d4e6be5
* Fri Mar  2 2012 Tom Callaway <spot@fedoraproject.org> - 1.0.28-1
d4e6be5
- update to 1.0.28
d4e6be5
9085c73
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.25-3
9085c73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9085c73
5335cbd
* Tue Oct 11 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.25-2
5335cbd
- apply fix for pebl relating to catching AttributeError, thanks to Thomas Spura
5335cbd
cf2bd33
* Thu Apr 21 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.25-1
cf2bd33
- update to 1.0.25
cf2bd33
4ee6a49
* Thu Mar  3 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.23-1
4ee6a49
- update to 1.0.23
4ee6a49
25c3b84
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
25c3b84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
25c3b84
05a4c07
* Tue Jan  4 2011 Tom Callaway <spot@fedoraproject.org> - 1.0.4-1
05a4c07
- update to 1.0.4
05a4c07
a6f8c3b
* Wed Nov  3 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.3-1
a6f8c3b
- update to 1.0.3
a6f8c3b
64e2c06
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.2-7
64e2c06
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
64e2c06
dfc32ae
* Fri Jul 31 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-6
dfc32ae
- somehow, the egg info didn't make it into the rebuild...
dfc32ae
b470df2
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-5
b470df2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b470df2
ddc8e99
* Mon Jul  6 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-4
ddc8e99
- fix pydot crash with accented character (bugzilla 481540)
ddc8e99
6f9e593
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
6f9e593
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6f9e593
48615bf
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.2-2
48615bf
- Rebuild for Python 2.6
48615bf
fc7de15
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.2-1
fc7de15
- update to 1.0.2
fc7de15
cca67f7
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 0.9.10-5
cca67f7
- Rebuild for new Python
cca67f7
- Add BR: python-devel
cca67f7
6a37971
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.9.10-4
6a37971
- bump for fc6
6a37971
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