14
0

- Initial package (0.99.1) for openSUSE.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=1
This commit is contained in:
Alexandre Rogoski
2009-11-10 01:32:14 +00:00
committed by Git OBS Bridge
commit cd8b611d83
6 changed files with 87 additions and 0 deletions

44
python-pygraphviz.spec Normal file
View File

@@ -0,0 +1,44 @@
# norootforbuild
Name: python-pygraphviz
Version: 0.99.1
Release: 1
Summary: Python interface to Graphviz
License: BSD License
Group: Development/Libraries/Python
Source: pygraphviz-%{version}.tar.gz
Patch: fix_examples.patch
URL: http://networkx.lanl.gov/pygraphviz
BuildRequires: python-devel, python-setuptools, pkg-config, graphviz-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
%description
A Python wrapper for the Graphviz Agraph data structure.
pygraphviz can be used to create and draw networks and graphs with Graphviz.
Author:
--------
Aric Hagberg <hagberg@lanl.gov>
%prep
%setup -q -n pygraphviz-%{version}
%patch
%build
%{__python} setup.py build
%install
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc examples