forked from pool/python-pygraphviz
44 lines
1.0 KiB
RPMSpec
44 lines
1.0 KiB
RPMSpec
![]() |
# 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
|