Группа :: Разработка/Python
Пакет: python-module-pysparse
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname pysparse
Name: python-module-%oname
Version: 1.2
Release: alt1.svn20090831
Summary: Fast sparse matrix library for Python
License: MIT
Group: Development/Python
Url: http://pysparse.sourceforge.net/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
# https://pysparse.svn.sourceforge.net/svnroot/pysparse/trunk
Source: %oname-%version.tar.gz
BuildRequires(pre): rpm-build-python
BuildPreReq: python-devel python-module-numpy libatlas-devel liblapack-devel
BuildPreReq: gcc-c++ gcc-fortran libsuperlu-devel libsuitesparse-devel
%setup_python_module %oname
%description
Pysparse is a fast sparse matrix library for Python. It provides several
sparse matrix storage formats and conversion methods. It also implements
a number of iterative solvers, preconditioners, and interfaces to
efficient factorization packages. Both low-level and high-level
interfaces are available, each with different strengths.
%package doc
Summary: Documentation and examples for Pysparse
Group: Development/Documentation
BuildArch: noarch
%description doc
Pysparse is a fast sparse matrix library for Python. It provides several
sparse matrix storage formats and conversion methods. It also implements
a number of iterative solvers, preconditioners, and interfaces to
efficient factorization packages. Both low-level and high-level
interfaces are available, each with different strengths.
This package contains development documentation and examples for
Pysparse.
%prep
%setup
%build
%python_build
%install
%python_install
install -d %buildroot%_docdir/%oname
install -p -m644 Doc/*.pdf %buildroot%_docdir/%oname
cp -fR Examples %buildroot%_docdir/%oname/
%files
%doc CHANGES LICENSE README TODO
%python_sitelibdir/*
%_includedir/python%__python_version/%oname
%files doc
%_docdir/%oname
%changelog
…
Полный changelog можно просмотреть здесь
Name: python-module-%oname
Version: 1.2
Release: alt1.svn20090831
Summary: Fast sparse matrix library for Python
License: MIT
Group: Development/Python
Url: http://pysparse.sourceforge.net/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
# https://pysparse.svn.sourceforge.net/svnroot/pysparse/trunk
Source: %oname-%version.tar.gz
BuildRequires(pre): rpm-build-python
BuildPreReq: python-devel python-module-numpy libatlas-devel liblapack-devel
BuildPreReq: gcc-c++ gcc-fortran libsuperlu-devel libsuitesparse-devel
%setup_python_module %oname
%description
Pysparse is a fast sparse matrix library for Python. It provides several
sparse matrix storage formats and conversion methods. It also implements
a number of iterative solvers, preconditioners, and interfaces to
efficient factorization packages. Both low-level and high-level
interfaces are available, each with different strengths.
%package doc
Summary: Documentation and examples for Pysparse
Group: Development/Documentation
BuildArch: noarch
%description doc
Pysparse is a fast sparse matrix library for Python. It provides several
sparse matrix storage formats and conversion methods. It also implements
a number of iterative solvers, preconditioners, and interfaces to
efficient factorization packages. Both low-level and high-level
interfaces are available, each with different strengths.
This package contains development documentation and examples for
Pysparse.
%prep
%setup
%build
%python_build
%install
%python_install
install -d %buildroot%_docdir/%oname
install -p -m644 Doc/*.pdf %buildroot%_docdir/%oname
cp -fR Examples %buildroot%_docdir/%oname/
%files
%doc CHANGES LICENSE README TODO
%python_sitelibdir/*
%_includedir/python%__python_version/%oname
%files doc
%_docdir/%oname
%changelog
…
Полный changelog можно просмотреть здесь