Репозитории ALT
| S: | 1.10-alt2.1 |
| 5.1: | 1.10-alt1.M51.2 |
| p5: | 1.9-alt1 |
| 4.1: | 1.4-alt1 |
Группа :: Система/Библиотеки
Пакет: libmathgl
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname mathgl
Name: lib%oname
Version: 1.10
Release: alt2.1
Summary: Library of fast C++ routines for the plotting of the data
License: LGPL
Group: System/Libraries
Url: http://www.sf.net/projects/mathgl/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%oname/%oname-%version.tar.bz2
# Automatically added by buildreq on Fri Jan 08 2010
BuildRequires: gcc-c++ glibc-devel libGL-devel libfreeglut-devel libgif-devel libgsl-devel libhdf5-devel libjpeg-devel libpng-devel python-devel libnumpy-devel swig
%description
MathGL is a free library of fast C++ routines for the plotting of the data
varied in one or more dimensions. It uses OpenGL (www.opengl.org)
for the plotting. Also there is a simple window interface based on
GLUT. This provides high compatibility with any operating system
(really any which has OpenGL-like libraries).
%package devel
Summary: Header files for %name
Group: Development/Other
Requires: %name = %version-%release
%description devel
Header files for %name library.
%package -n python-module-mathgl
Summary: Python module for %name
Group: System/Libraries
Requires: %name = %version-%release
%description -n python-module-mathgl
Python module for %name.
%prep
%setup -q -n %oname-%version
%build
%add_optflags -I%_libexecdir/hdf5-seq/include/
%configure --enable-tiff --enable-jpeg --enable-python \
--enable-hdf5 \
--disable-static
# TODO: --enable-fltk
%make_build
%install
%makeinstall_std
%files
%_bindir/mgl2*
%doc AUTHORS README NEWS
%_libdir/libmgl.so.5.0.0
%_libdir/libmgl.so.5
%_datadir/mathgl/
%files devel
%doc examples/
%_bindir/mgl_example
%_libdir/libmgl.so
%_includedir/mgl/
%files -n python-module-mathgl
%python_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: lib%oname
Version: 1.10
Release: alt2.1
Summary: Library of fast C++ routines for the plotting of the data
License: LGPL
Group: System/Libraries
Url: http://www.sf.net/projects/mathgl/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%oname/%oname-%version.tar.bz2
# Automatically added by buildreq on Fri Jan 08 2010
BuildRequires: gcc-c++ glibc-devel libGL-devel libfreeglut-devel libgif-devel libgsl-devel libhdf5-devel libjpeg-devel libpng-devel python-devel libnumpy-devel swig
%description
MathGL is a free library of fast C++ routines for the plotting of the data
varied in one or more dimensions. It uses OpenGL (www.opengl.org)
for the plotting. Also there is a simple window interface based on
GLUT. This provides high compatibility with any operating system
(really any which has OpenGL-like libraries).
%package devel
Summary: Header files for %name
Group: Development/Other
Requires: %name = %version-%release
%description devel
Header files for %name library.
%package -n python-module-mathgl
Summary: Python module for %name
Group: System/Libraries
Requires: %name = %version-%release
%description -n python-module-mathgl
Python module for %name.
%prep
%setup -q -n %oname-%version
%build
%add_optflags -I%_libexecdir/hdf5-seq/include/
%configure --enable-tiff --enable-jpeg --enable-python \
--enable-hdf5 \
--disable-static
# TODO: --enable-fltk
%make_build
%install
%makeinstall_std
%files
%_bindir/mgl2*
%doc AUTHORS README NEWS
%_libdir/libmgl.so.5.0.0
%_libdir/libmgl.so.5
%_datadir/mathgl/
%files devel
%doc examples/
%_bindir/mgl_example
%_libdir/libmgl.so
%_includedir/mgl/
%files -n python-module-mathgl
%python_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь

