rpms/python-igraph/F-8 python-igraph.spec,NONE,1.1

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Fri Feb 15 18:22:32 UTC 2008


Author: nbecker

Update of /cvs/pkgs/rpms/python-igraph/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10082

Added Files:
	python-igraph.spec 
Log Message:
init



--- NEW FILE python-igraph.spec ---
%{!?python_archlib: %define python_archlib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:		python-igraph
Version:	0.4.5
Release:	7%{?dist}
Summary:	Python bindings for igraph

Group:		Development/Languages
License:	GPLv2+
URL:		http://pypi.python.org/pypi/igraph/0.4.5
Source0:	python-igraph-0.4.5.tar.gz
Patch0:		python-igraph.diffs
Patch1:		python-igraph-parse.diff
Patch2:		python-igraph-memory.diff
Patch3:		python-igraph-authors.diff
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	python-devel python-setuptools igraph-devel gcc libxml2-devel
Requires:	python igraph libxml2

%description
This module extends Python with a Graph class which is capable of
handling arbitrary directed and undirected graphs with thousands of
nodes and millions of edges. Since the module makes use of the open
source igraph library written in almost 100% pure C, it is blazing
fast and outperforms most other pure Python-based graph packages
around.

%prep
%setup -q -a0 -c
echo $PWD
cd igraph-%{version}
rm -rf igraph
%patch0 -p1
%patch1 -p0
%patch2 -p0
%patch3 -p0


%build
cd igraph-%{version}
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
cd igraph-%{version}
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc igraph-%{version}/LICENSE igraph-%{version}/AUTHORS
%{python_archlib}/igraph
%{python_archlib}/igraph-%{version}-py*.egg-info
%{_bindir}/igraph

%changelog
* Thu Jan 24 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-7
- Add AUTHORS

* Thu Jan 24 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-6
- More patches from upstream

* Thu Jan 24 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-5
- try memory patch

* Thu Jan 24 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-4
- patch2

* Thu Jan 24 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-3
- Got patch from upstream

* Thu Jan 24 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-2
- Add BR gcc
- BR libxml2-devel, Req libxml2

* Wed Jan 23 2008 Neal Becker <ndbecker2 at gmail.com> - 0.4.5-1
- Initial package





More information about the fedora-extras-commits mailing list