%define module networkx %define name python-%{module} %define version 1.1 %define release %mkrel 1 Summary: Python package for the study of complex networks Name: %{name} Version: %{version} Release: %{release} Source0: %{module}-%{version}.tar.gz License: BSD Group: Development/Python Url: https://networkx.lanl.gov/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: python-pygraphviz Requires: python-matplotlib >= 0.73.1 %{py_requires -d} BuildRequires: python-setuptools BuildArch: noarch %description NetworkX (NX) is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. Features: * Includes standard graph-theoretic and statistical physics functions * Easy exchange of network algorithms between applications, disciplines, and platforms * Includes many classic graphs and synthetic networks * Nodes and edges can be "anything" (e.g. time-series, text, images, XML records) * Exploits existing code from high-quality legacy software in C, C++, Fortran, etc. * Open source (encourages community input) * Unit-tested %prep %setup -q -n %{module}-%{version} %install %__rm -rf %{buildroot} PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} %__rm -rf %{buildroot}%{_docdir} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %{py_puresitedir}/%{module} %{py_puresitedir}/%{module}-%{version}-py%{pyver}.egg-info %doc doc/* examples/ %changelog * Thu Apr 22 2010 Lev Givon <lev@mandriva.org> 1.1-1mdv2010.1 + Revision: 537984 - Update to 1.1. * Tue Jan 19 2010 Lev Givon <lev@mandriva.org> 1.0.1-1mdv2010.1 + Revision: 493748 - Update to 1.0.1. * Tue Sep 15 2009 Thierry Vignaud <tv@mandriva.org> 0.99-3mdv2010.0 + Revision: 442320 - rebuild * Wed Dec 31 2008 Adam Williamson <awilliamson@mandriva.org> 0.99-2mdv2009.1 + Revision: 321621 - rebuild with python 2.6 - do a proper file list, clean up docs - clean up python requires * Sun Dec 14 2008 Lev Givon <lev@mandriva.org> 0.99-1mdv2009.1 + Revision: 314213 - Update to 0.99. * Mon Jul 07 2008 Lev Givon <lev@mandriva.org> 0.36-1mdv2009.0 + Revision: 232509 - import python-networkx * Mon Jul 7 2008 Lev Givon <lev@mandriva.org> 0.36-1mdv2008.1 - Package for Mandriva.