Репозитории ALT
| S: | 3.3.2-alt1.svn20100722 |
| 5.1: | 3.2.1-alt1.svn20090901.1 |
| p5: | 3.2.1-alt1.svn20090901.1 |
Группа :: Разработка/Python
Пакет: python-module-Enable
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname Enable
Name: python-module-%oname
Version: 3.3.2
Release: alt1.svn20100722
Summary: Drawing and interaction packages
Group: Development/Python
License: BSD and GPLv2
URL: http://pypi.python.org/pypi/Enable
# https://svn.enthought.com/svn/enthought/Enable
Source: %oname-%version.tar.gz
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
BuildRequires: python-devel, python-module-setuptools
BuildPreReq: libnumpy-devel gcc-c++ swig python-module-Pyrex
BuildPreReq: python-module-sphinx python-module-Pygments
BuildPreReq: libGL-devel libX11-devel
%description
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
%package pickles
Summary: Pickles for Enable project
Group: Development/Python
%description pickles
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
This package contains pickles for Enable project.
%package tests
Summary: Tests for Enable project
Group: Development/Python
Requires: %name = %version-%release
%description tests
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
This package contains tests for Enable project.
%package doc
Summary: Documentation for Enable project
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name < %version-%release
%description doc
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
This package contains development documentation for Enable project.
%prep
%setup
%prepare_sphinx .
%build
%python_build
%generate_pickles docs/source docs/source %oname
%install
%python_install -O1
rm -fR %buildroot%python_sitelibdir/enthought/kiva/mac
rm -f $(find %buildroot%python_sitelibdir -name '*mac*.py*')
sed -i 's/\.dev$//g' \
%buildroot/%python_sitelibdir/%oname-%version-*.egg-info/requires.txt
install -d %buildroot%python_sitelibdir/%oname
cp -fR pickle %buildroot%python_sitelibdir/%oname/
%files
%doc *.txt
%python_sitelibdir/*
%exclude %python_sitelibdir/*/*/tests
%exclude %python_sitelibdir/*/*/*/tests
%exclude %python_sitelibdir/%oname/pickle
%files pickles
%dir %python_sitelibdir/%oname
%python_sitelibdir/%oname/pickle
%files tests
%python_sitelibdir/*/*/tests
%python_sitelibdir/*/*/*/tests
%files doc
%doc docs/kiva docs/*.txt examples build/docs/html
%changelog
…
Полный changelog можно просмотреть здесь
Name: python-module-%oname
Version: 3.3.2
Release: alt1.svn20100722
Summary: Drawing and interaction packages
Group: Development/Python
License: BSD and GPLv2
URL: http://pypi.python.org/pypi/Enable
# https://svn.enthought.com/svn/enthought/Enable
Source: %oname-%version.tar.gz
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>
BuildRequires: python-devel, python-module-setuptools
BuildPreReq: libnumpy-devel gcc-c++ swig python-module-Pyrex
BuildPreReq: python-module-sphinx python-module-Pygments
BuildPreReq: libGL-devel libX11-devel
%description
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
%package pickles
Summary: Pickles for Enable project
Group: Development/Python
%description pickles
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
This package contains pickles for Enable project.
%package tests
Summary: Tests for Enable project
Group: Development/Python
Requires: %name = %version-%release
%description tests
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
This package contains tests for Enable project.
%package doc
Summary: Documentation for Enable project
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name < %version-%release
%description doc
The Enable project provides two related multi-platform packages for
drawing GUI objects. The Enable package is a multi-platform object
drawing library built on top of Kiva. The core of Enable is a
container/component model for drawing and event notification. Kiva is a
multi-platform DisplayPDF vector drawing engine that supports multiple
output backends, including Windows, GTK, and Macintosh native windowing
systems, a variety of raster image formats, PDF, and Postscript.
This package contains development documentation for Enable project.
%prep
%setup
%prepare_sphinx .
%build
%python_build
%generate_pickles docs/source docs/source %oname
%install
%python_install -O1
rm -fR %buildroot%python_sitelibdir/enthought/kiva/mac
rm -f $(find %buildroot%python_sitelibdir -name '*mac*.py*')
sed -i 's/\.dev$//g' \
%buildroot/%python_sitelibdir/%oname-%version-*.egg-info/requires.txt
install -d %buildroot%python_sitelibdir/%oname
cp -fR pickle %buildroot%python_sitelibdir/%oname/
%files
%doc *.txt
%python_sitelibdir/*
%exclude %python_sitelibdir/*/*/tests
%exclude %python_sitelibdir/*/*/*/tests
%exclude %python_sitelibdir/%oname/pickle
%files pickles
%dir %python_sitelibdir/%oname
%python_sitelibdir/%oname/pickle
%files tests
%python_sitelibdir/*/*/tests
%python_sitelibdir/*/*/*/tests
%files doc
%doc docs/kiva docs/*.txt examples build/docs/html
%changelog
…
Полный changelog можно просмотреть здесь

