mathgl/mathgl.spec

913 lines
27 KiB
RPMSpec
Raw Normal View History

%ifnarch s390 s390x
%global with_openmpi 1
%endif
2014-10-10 09:46:49 +00:00
%global with_mpich2 1
%global with_doc 1
%if 0%{?fedora} >= 21
2017-01-06 04:52:59 +00:00
%if 0%{?fedora} < 26
%global with_octave 1
%global octpkg mathgl
%endif
2017-01-06 04:52:59 +00:00
%endif
%if 0%{?with_doc}
%global docs on
%else
%global docs off
%endif
2013-04-17 08:08:25 +00:00
Name: mathgl
2016-02-16 05:44:19 +00:00
Version: 2.3.4
2017-01-06 04:52:59 +00:00
Release: 7%{?dist}
2013-04-17 08:08:25 +00:00
Summary: Cross-platform library for making high-quality scientific graphics
Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken
Summary(ru): Библиотека для осуществления высококачественной визуализации данных
License: GPLv2+
Group: Development/Libraries
Url: http://mathgl.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
2009-09-14 10:51:23 +00:00
2013-04-14 19:17:26 +00:00
#Mathgl's enable all tries to use hdf4 and 5 at the same time
2015-11-24 06:44:07 +00:00
Patch0: mathgl-2.3.3-no-hdf4-and-hdf5-simultaneously.patch
2013-04-15 08:21:09 +00:00
# Install binaries for generation examples of illustrations
2016-02-16 05:44:19 +00:00
Patch1: mathgl-2.3.4-examples.patch
2013-04-22 10:09:14 +00:00
2014-01-17 03:04:53 +00:00
# There is no easy way to disable ONLY octave. Have to cut it from CmakeList.txt
2015-11-24 06:44:07 +00:00
Patch2: mathgl-2.3.3-no_octave.patch
2014-01-17 03:04:53 +00:00
2014-10-10 09:46:49 +00:00
# Skip FLUID binary test
2015-11-24 06:44:07 +00:00
Patch3: mathgl-2.3.3-fltk-skip-fluid.patch
2014-02-04 05:15:30 +00:00
2015-11-24 06:44:07 +00:00
# No qt4 and qt5 simultaneously.
Patch4: mathgl-2.3.3-no_qt4.patch
2014-02-04 05:15:30 +00:00
2015-03-21 08:44:49 +00:00
# Fix linking with libX11
2016-02-16 05:44:19 +00:00
Patch5: mathgl-2.3.4-x11.patch
2015-11-24 06:44:07 +00:00
# Let macros to decide how to install octave module
2016-02-16 05:44:19 +00:00
Patch6: mathgl-2.3.3-nooctaveinstall.patch
2015-11-26 05:55:54 +00:00
2013-04-17 08:08:25 +00:00
Requires: %{name}-common = %{version}-%{release}
2009-09-14 10:51:23 +00:00
# mandatory packages
2013-04-15 08:21:09 +00:00
BuildRequires: gsl-devel libpng-devel
BuildRequires: desktop-file-utils
2013-04-17 08:08:25 +00:00
BuildRequires: cmake
2015-07-26 20:29:13 +00:00
BuildRequires: perl(Storable)
2009-09-14 10:51:23 +00:00
# optional packages
2014-01-16 05:05:16 +00:00
BuildRequires: freeglut-devel hdf5-devel libjpeg-devel libtiff-devel
2014-10-10 09:46:49 +00:00
BuildRequires: fltk-devel qt5-qtbase-devel qt5-qtwebkit-devel
2015-11-24 07:36:06 +00:00
BuildRequires: wxGTK-devel giflib-devel libtool-ltdl-devel
2013-04-14 19:17:26 +00:00
BuildRequires: libharu-devel
BuildRequires: swig lua-devel
2013-04-14 19:17:26 +00:00
BuildRequires: libXmu-devel
BuildRequires: python2-devel numpy
2009-09-14 10:51:23 +00:00
%description
Mathgl is a cross-platform library for making high-quality scientific
graphics. It provides fast data plotting and handling of large data
arrays, as well as window and console modes and for easy embedding
into other programs. Mathgl integrates into fltk, qt and
opengl applications
2013-04-15 02:26:20 +00:00
%description -l ru
Mathgl - это кроссплатформенная библиотека для подготовки высококачественных
научных иллюстраций. Библиотека обладает возможностью работы с большими
массивами данных, быстрой отрисовки, при этом работая как в консольном, так и
оконном режимах, легко интегрируясь в другие приложения. Mathgl может быть
использована в FLTK, Qt и OpenGL приложениях.
2009-09-14 10:51:23 +00:00
%package devel
2013-04-17 08:08:25 +00:00
Summary: Libraries and header files for %{name} library
Summary(ru): Библиотеки и файлы заголовков для %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: gsl-devel%{?_isa}
Requires: zlib-devel%{?_isa}
2009-09-14 10:51:23 +00:00
%description devel
The %{name}-devel package contains libraries and header files for
2013-04-17 08:08:25 +00:00
developing applications that use serial version of %{name}.
2009-09-14 10:51:23 +00:00
%description devel -l ru
2013-04-17 08:08:25 +00:00
Пакет %{name}-devel содержит библиотеки и файлы заголовков, необходимые
для разработки приложений с использованием однопоточной версии %{name}.
2009-09-14 10:51:23 +00:00
%package fonts
Group: Development/Libraries
Requires: %{name}-common = %{version}-%{release}
Summary: Compiled fonts for the %{name}
%description fonts
%{summary}.
%if 0%{?with_doc}
2009-09-14 10:51:23 +00:00
%package doc
2013-04-17 08:08:25 +00:00
Group: Documentation
Summary: HTML documentation and tutorial for the %{name} applications
BuildArch: noarch
BuildRequires: texi2html texinfo-tex
2009-09-14 10:51:23 +00:00
%description doc
2013-04-17 08:08:25 +00:00
This package contains the documentation in the HTML and PDF format of the %{name}
2009-09-14 10:51:23 +00:00
package.
%endif
2009-09-14 10:51:23 +00:00
2013-04-15 08:21:09 +00:00
%package -n udav
2013-04-17 08:08:25 +00:00
Summary: Viewer and editor for mathgl graphs
Summary(ru): Редактор и средство визуализации для MathGL
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
2013-04-14 19:17:26 +00:00
2013-04-15 08:21:09 +00:00
%description -n udav
2013-04-14 19:17:26 +00:00
UDAV is cross-platform program for interactive data array visualization
using the MathGL library. UDAV works as a front-end to the mathgl
scripting engine, allowing for the generation of a wide variety of
scientific graph styles.
2013-04-15 08:21:09 +00:00
%description -n udav -l ru
2013-04-15 02:26:20 +00:00
UDAV - это кроссплатформенное приложение для интерактивной визуализации массивов
2013-04-15 08:21:09 +00:00
данных с применением библиотеки MathGL. UDAV, как GUI для MathGL, может быть
2013-04-15 02:26:20 +00:00
использован для формирования различного вида научных иллюстраций.
2013-04-14 19:17:26 +00:00
%package mglview
Summary: Execute MathGL scripts and show in an window
Group: Applications/Engineering
Requires: %{name}-qt = %{version}-%{release}
%description mglview
2016-02-16 05:44:19 +00:00
mglview reads MGL scripts from scriptfile to produce plots of
specified functions or data. The program will create a GUI window
showing the script result.
%package -n python-mathgl
Summary: Python module for MathGL
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
%description -n python-mathgl
%{Summary}.
%if 0%{?with_octave}
%package -n octave-mathgl
Summary: Octave module for MathGL
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
Requires: octave >= 2.9.12
BuildRequires: octave-devel
%description -n octave-mathgl
2016-12-08 05:03:09 +00:00
%{summary}.
%endif
2013-04-17 08:08:25 +00:00
%package common
Summary: Common files for %{name}
Group: Applications/Engineering
BuildArch: noarch
2013-04-17 08:08:25 +00:00
Requires: %{name} = %{version}-%{release}
Requires: %{name}-fonts = %{version}-%{release}
%if 0%{?with_doc}
Requires(post): info
Requires(preun): info
%endif
2013-04-17 08:08:25 +00:00
%description common
%{summary}.
%package examples
Summary: Example illustration generators for %{name}
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
%description examples
Binaries for generation examples of illustrations that could be
prepared by %{name}.
%if 0%{?with_openmpi}
2013-04-17 08:08:25 +00:00
%package openmpi
Summary: OpenMPI version of %{name} library
Group: Applications/Engineering
BuildRequires: openmpi-devel
2015-07-26 20:29:13 +00:00
BuildRequires: hdf5-openmpi-devel
2013-04-17 08:08:25 +00:00
Requires: %{name}-common = %{version}-%{release}
%description openmpi
%{summary}.
%package openmpi-devel
Summary: Devel files for OpenMPI version of %{name} library
Group: Applications/Engineering
Requires: %{name}-openmpi%{_isa} = %{version}-%{release}
Requires: gsl-devel%{?_isa}
Requires: zlib-devel%{?_isa}
2013-04-17 08:08:25 +00:00
%description openmpi-devel
%{summary}.
%endif
2013-04-17 08:08:25 +00:00
%if 0%{?with_mpich2}
%package mpich
Summary: MPICH version of %{name} library
2013-04-17 08:08:25 +00:00
Group: Applications/Engineering
BuildRequires: mpich-devel
2015-07-26 20:29:13 +00:00
BuildRequires: hdf5-mpich-devel
2013-04-17 08:08:25 +00:00
Requires: %{name}-common = %{version}-%{release}
Provides: %{name}-mpich2 = %{version}-%{release}
Obsoletes: %{name}-mpich2 < 2.1.2-9
2013-04-17 08:08:25 +00:00
%description mpich
2013-04-17 08:08:25 +00:00
%{summary}.
%package mpich-devel
Summary: Devel files for MPICH version of %{name} library
2013-04-17 08:08:25 +00:00
Group: Applications/Engineering
Requires: %{name}-mpich%{_isa} = %{version}-%{release}
Provides: %{name}-mpich2-devel = %{version}-%{release}
Obsoletes: %{name}-mpich2-devel < 2.1.2-9
Requires: gsl-devel%{?_isa}
Requires: zlib-devel%{?_isa}
2013-04-17 08:08:25 +00:00
%description mpich-devel
2013-04-17 08:08:25 +00:00
%{summary}.
%endif
%package qt
Summary: Qt widgets of %{name} library
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
%description qt
%{summary}.
%package qt-devel
Summary: Devel files for qt widgets of %{name} library
Group: Applications/Engineering
Requires: %{name}-devel = %{version}-%{release}
Requires: qt5-qtbase-devel
%description qt-devel
%{summary}.
%package fltk
Summary: Fltk widgets of %{name} library
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
Requires: fltk-fluid
%description fltk
%{summary}.
%package fltk-devel
Summary: Devel files for fltk widgets of %{name} library
Group: Applications/Engineering
Requires: %{name}-devel = %{version}-%{release}
Requires: fltk-devel
%description fltk-devel
%{summary}.
%package wx
Summary: wxWidgets widgets of %{name} library
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
%description wx
%{summary}.
%package wx-devel
Summary: Devel files for wxWidgets widgets of %{name} library
Group: Applications/Engineering
Requires: %{name}-devel = %{version}-%{release}
Requires: wxGTK-devel
%description wx-devel
%{summary}.
2013-04-17 08:08:25 +00:00
2009-09-14 10:51:23 +00:00
%prep
%setup -q
2009-09-14 10:51:23 +00:00
#convert EOL encodings, maintaining timestames
2013-04-14 19:17:26 +00:00
for file in AUTHORS ChangeLog.txt README ; do
2013-04-17 08:08:25 +00:00
sed 's/\r//' $file > $file.new && \
touch -r $file $file.new && \
mv $file.new $file
2009-09-14 10:51:23 +00:00
done
2014-02-04 05:15:30 +00:00
%patch0 -b .no-hdf4-and-hdf5-simultaneously
2016-02-16 05:44:19 +00:00
%patch1 -p1 -b .examples
%if 0%{?with_octave}
2016-02-16 05:44:19 +00:00
%patch6 -b .nooctaveinstall
%else
2014-10-10 09:46:49 +00:00
%patch2 -b .no_octave
%endif
2014-10-10 09:46:49 +00:00
%patch3 -b .fluid
2015-03-21 08:44:49 +00:00
%patch4 -b .no_qt4
2016-02-16 05:44:19 +00:00
%patch5 -b .x11
2009-09-14 10:51:23 +00:00
2013-04-17 08:08:25 +00:00
# Fix hardcoded paths
sed -i s,/usr/local/share/doc/mathgl/,%{_docdir}/%{name}/, udav/udav_wnd.h
sed -i s,/usr/local/share/udav/,%{_datadir}/udav/, udav/udav_wnd.cpp
2014-01-16 05:05:16 +00:00
sed -i s,/usr/local/share/mathgl/fonts/,%{_datadir}/%{name}/fonts/, udav/prop_dlg.cpp
2013-04-17 08:08:25 +00:00
%if 0%{?with_octave}
# Fix octave module version
sed -i -e "s,Version:.*,Version: %{version}," lang/DESCRIPTION
%endif
2014-10-10 09:46:49 +00:00
2009-09-14 10:51:23 +00:00
%build
2013-04-17 08:08:25 +00:00
OMP_NUM_THREADS=1
export OMP_NUM_THREADS
2013-04-17 08:08:25 +00:00
%define building() \
2014-01-16 05:05:16 +00:00
BUILD_MPI="-Denable-mpi=on -Denable-all-docs=off" %buildcommon
2013-04-17 08:08:25 +00:00
%define building_serial() \
BUILD_MPI="-Denable-mpi=off \
-Denable-all-docs=%{docs} \
-Denable-qt4=off \
-Denable-qt5=on \
-Denable-all-swig=on \
-Denable-all-widgets=on \
-Denable-hdf4=off \
" %buildcommon
2013-04-17 08:08:25 +00:00
%define buildcommon() \
mkdir -p %{_target_platform}_$MPI_COMPILER_NAME; \
pushd %{_target_platform}_$MPI_COMPILER_NAME; \
%{cmake} \\\
-DMGL_LIB_INSTALL_DIR=%{_libdir} \\\
-Denable-all=on \\\
$BUILD_MPI \\\
..; \
popd; \
make -C %{_target_platform}_$MPI_COMPILER_NAME
#make %{?_smp_mflags} -C %{_target_platform}_$MPI_COMPILER_NAME
# disable SMP build for testing
2013-04-17 08:08:25 +00:00
# serial
MPI_COMPILER_NAME=serial %building_serial
# MPI vars
export CC=mpicc
export CXX=mpicxx
%if 0%{?with_openmpi}
2013-04-17 08:08:25 +00:00
# OpenMPI
%{_openmpi_load}
MPI_COMPILER_NAME=openmpi %building
%{_openmpi_unload}
%endif
2013-04-17 08:08:25 +00:00
2014-10-10 09:46:49 +00:00
%if 0%{?with_mpich2}
2013-04-17 08:08:25 +00:00
# MPICH2
%{_mpich_load}
MPI_COMPILER_NAME=mpich %building
%{_mpich_unload}
2014-10-10 09:46:49 +00:00
%endif
2009-09-14 10:51:23 +00:00
%install
2013-04-17 08:08:25 +00:00
# MPI install libs only
%define installing() \
make install DESTDIR=%{buildroot}%{_libdir}/$MPI_COMPILER_NAME -C %{_target_platform}_$MPI_COMPILER_NAME INSTALL="install -p"; \
2013-04-18 08:11:17 +00:00
mkdir -p %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib/ \
mv %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/%{_libdir}/libmgl* %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib/; \
2013-04-17 08:08:25 +00:00
mkdir -p %{buildroot}%{_includedir}/$MPI_COMPILER/mgl2; \
mv %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/%{_includedir}/mgl2/* %{buildroot}%{_includedir}/$MPI_COMPILER/mgl2/; \
rm -f %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/lib/*.a; \
rm -r %{buildroot}%{_libdir}/$MPI_COMPILER_NAME/usr
# Serial
make install DESTDIR=%{buildroot} -C %{_target_platform}_serial INSTALL="install -p"
%if 0%{?with_octave}
pushd lang
mkdir -p %{_tmppath}/%{name}-%{version}-%{release}.%{_arch}
cp ../%{_target_platform}_serial/lang/%{octpkg}.tar.gz %{_tmppath}/%{name}-%{version}-%{release}.%{_arch}/%{octpkg}-%{version}.tar.gz
%octave_pkg_install
popd
%endif
2013-04-17 08:08:25 +00:00
%if 0%{?with_openmpi}
2013-04-17 08:08:25 +00:00
# OpenMPI
%{_openmpi_load}
MPI_COMPILER_NAME=openmpi %installing
%{_openmpi_unload}
%endif
2013-04-17 08:08:25 +00:00
2014-10-10 09:46:49 +00:00
%if 0%{?with_mpich2}
# MPICH
%{_mpich_load}
MPI_COMPILER_NAME=mpich %installing
%{_mpich_unload}
2014-10-10 09:46:49 +00:00
%endif
2009-09-14 10:51:23 +00:00
2013-04-14 19:17:26 +00:00
#Remove symlink to .so file in python dir. Let python find libs normally
2013-04-15 02:26:20 +00:00
unlink %{buildroot}/%{python_sitelib}/_mathgl.so
2009-09-14 10:51:23 +00:00
2013-04-14 19:17:26 +00:00
#Remove static libraries generated by cmake
2013-04-15 02:26:20 +00:00
rm %{buildroot}/%{_libdir}/*.a
2009-09-14 10:51:23 +00:00
2014-01-16 05:05:16 +00:00
# Remove the binary mgl.cgi. Im not convinced about it (eg mem leak in main), and that its really needed
# The same with man file for it
rm %{buildroot}/%{_datadir}/mathgl/mgl.cgi
%if 0%{?with_doc}
2014-01-16 05:05:16 +00:00
rm %{buildroot}/%{_mandir}/man1/mgl.cgi.1*
# Prepare for documentation
if [ -d _tmp_docdir ]
then
rm -r _tmp_docdir
fi
mv %{buildroot}%{_docdir}/mathgl _tmp_docdir
%endif
2010-01-02 05:57:12 +00:00
2013-04-15 02:26:20 +00:00
# Check .desktop file
2013-04-15 08:21:09 +00:00
desktop-file-validate %{buildroot}%{_datadir}/applications/udav.desktop
# Maintain l18n for udav
%find_lang udav --with-qt
2013-04-15 02:26:20 +00:00
2015-11-24 10:47:20 +00:00
# mathgl cmake file is placed into strange location. Move it to proper one with proper name
mkdir -p %{buildroot}%{_datadir}/cmake/Modules
mv %{buildroot}/%{_libdir}/cmake/mathgl2/mathgl2-config.cmake %{buildroot}%{_datadir}/cmake/Modules/FindMathGL2.cmake
rm -r %{buildroot}/%{_libdir}/cmake
%post -p /sbin/ldconfig
2013-04-17 08:08:25 +00:00
%postun -p /sbin/ldconfig
%post qt -p /sbin/ldconfig
%postun qt -p /sbin/ldconfig
%post fltk -p /sbin/ldconfig
%postun fltk -p /sbin/ldconfig
%post wx -p /sbin/ldconfig
%postun wx -p /sbin/ldconfig
%if 0%{?with_doc}
2013-04-17 08:08:25 +00:00
%post common
2013-04-15 08:21:09 +00:00
/sbin/install-info %{_infodir}/%{name}_en.info %{_infodir}/dir || :
2009-09-14 10:51:23 +00:00
2013-04-17 08:08:25 +00:00
%preun common
2009-09-14 10:51:23 +00:00
if [ $1 = 0 ] ; then
2013-04-17 08:08:25 +00:00
/sbin/install-info --delete %{_infodir}/%{name}_en.info %{_infodir}/dir || :
2009-09-14 10:51:23 +00:00
fi
%endif
2009-09-14 10:51:23 +00:00
2015-11-24 10:54:26 +00:00
%post -n udav
2015-11-24 10:47:20 +00:00
/usr/bin/update-desktop-database &> /dev/null || :
2015-11-24 10:54:26 +00:00
%postun -n udav
2015-11-24 10:47:20 +00:00
/usr/bin/update-desktop-database &> /dev/null || :
%if 0%{?with_octave}
%post -n octave-mathgl
%octave_cmd pkg rebuild
%preun -n octave-mathgl
%octave_pkg_preun
%postun -n octave-mathgl
%octave_cmd pkg rebuild
%endif
2009-09-14 10:51:23 +00:00
%files
2013-04-14 19:17:26 +00:00
%doc AUTHORS ChangeLog.txt README COPYING README_V2
%{_libdir}/libmgl.so.*
2014-01-16 05:05:16 +00:00
%{_libdir}/mgl-lua.so
%{_bindir}/mglconv
2013-04-22 10:09:14 +00:00
%exclude %{_bindir}/mgl_*example
%if 0%{?with_doc}
2013-04-14 19:17:26 +00:00
%{_mandir}/man1/mglconv.1.gz
%endif
2013-04-17 08:08:25 +00:00
%files devel
%{_libdir}/libmgl.so
2014-01-16 05:05:16 +00:00
%exclude %{_libdir}/mgl-lua.so
2013-04-17 08:08:25 +00:00
%{_includedir}/mgl2/
2015-11-24 10:47:20 +00:00
%{_datadir}/cmake/Modules/FindMathGL2.cmake
2013-04-14 19:17:26 +00:00
%files mglview
%{_bindir}/mglview
%if 0%{?with_doc}
%{_mandir}/man1/mglview.1.gz
%endif
%files qt
%{_libdir}/libmgl-qt*.so.*
%{_libdir}/libmgl-wnd.so.*
%files qt-devel
%{_libdir}/libmgl-qt*.so
%{_libdir}/libmgl-wnd.so
%files wx
%{_libdir}/libmgl-wx.so.*
%files wx-devel
%{_libdir}/libmgl-wx.so
%files fltk
%{_libdir}/libmgl-fltk.so.*
%{_libdir}/libmgl-glut.so.*
%files fltk-devel
%{_libdir}/libmgl-fltk.so
%{_libdir}/libmgl-glut.so
2013-04-15 08:21:09 +00:00
%files -n udav -f udav.lang
2013-04-14 19:17:26 +00:00
%{_bindir}/udav
%if 0%{?with_doc}
2013-04-14 19:17:26 +00:00
%{_mandir}/man1/udav.1.gz
%endif
2013-04-14 19:17:26 +00:00
%{_datadir}/applications/udav.desktop
2015-11-24 10:47:20 +00:00
%{_datadir}/mime/packages/mgl.xml
2013-04-15 08:21:09 +00:00
%dir %{_datadir}/udav/
2013-04-14 19:17:26 +00:00
%{_datadir}/pixmaps/*.png
2009-09-14 10:51:23 +00:00
%files -n python-mathgl
%{python_sitelib}/*
%if 0%{?with_octave}
%files -n octave-mathgl
%{octpkglibdir}
%dir %{octpkgdir}
%{octpkgdir}/packinfo
%endif
%if 0%{?with_doc}
2009-09-14 10:51:23 +00:00
%files doc
2014-01-16 05:05:16 +00:00
%doc AUTHORS COPYING
%doc _tmp_docdir/*
%endif
2013-04-14 19:17:26 +00:00
%files fonts
2013-04-17 08:08:25 +00:00
%{_datadir}/%{name}/
%files common
%if 0%{?with_doc}
2013-04-17 08:08:25 +00:00
%{_mandir}/man5/mgl.5.gz
%{_infodir}/%{name}*.gz
%endif
2013-04-17 08:08:25 +00:00
%files examples
%{_bindir}/mgl_*example
%if 0%{?with_openmpi}
2013-04-17 08:08:25 +00:00
%files openmpi
%doc COPYING
%{_libdir}/openmpi/lib/*.so.*
%files openmpi-devel
%{_libdir}/openmpi/lib/*.so
%{_includedir}/openmpi-%{_arch}/mgl2/
%endif
2013-04-17 08:08:25 +00:00
%if 0%{?with_mpich2}
%files mpich
2013-04-17 08:08:25 +00:00
%doc COPYING
%{_libdir}/mpich/lib/*.so.*
2013-04-17 08:08:25 +00:00
%files mpich-devel
%{_libdir}/mpich/lib/*.so
%{_includedir}/mpich-%{_arch}/mgl2/
%endif
2009-09-14 10:51:23 +00:00
%changelog
2017-01-06 04:52:59 +00:00
* Fri Jan 06 2017 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.4-7
- Disable octave support for as octave-4.2 is not supported by swig for now.
* Thu Dec 08 2016 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.4-6
2016-12-08 05:03:09 +00:00
- Fix description tag for octave-mathgl.
2016-12-07 03:32:43 +00:00
* Wed Dec 07 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.4-5
- Rebuild for octave 4.2
2016-10-21 23:32:53 +00:00
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.4-4
- Rebuild for openmpi 2.0
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.4-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-02-22 17:01:12 +00:00
* Mon Feb 22 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.4-2
- Rebuild for gsl 2.1
2016-02-16 05:44:19 +00:00
* Mon Feb 15 2016 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.4-1
- Drop patches: mathgl-2.3.3-includes.patch, mathgl-2.3.3-signed_char.patch,
mathgl-2.3.3-gsl2.patch. Emplemented in upstream.
- Update *-examples.patch and *-x11.patch.
- Update to new 2.3.4.
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Jan 25 2016 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-9
- All *-devel Requires should have _isa bits.
2016-01-21 19:07:01 +00:00
* Thu Jan 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.3-8
- Rebuild for hdf5 1.8.16
* Mon Jan 04 2016 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-7
- Split out python module and fonts.
- Make fonts subpackage arch depenedent, fix for RHBZ #1294072.
- Fix typos in name in changelog.
* Fri Dec 11 2015 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-6
2015-12-11 07:18:16 +00:00
- Unconditionalize libharu. It is in epel now.
* Wed Dec 09 2015 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-5
- Reenable octave module.
- Conditionalize doc and mpich subpackages.
- Conditionalize libharu and octave: only for Fedora.
- Move -qt, -wx and -fltk widgets into seperate subpackages.
- Update gsl patch: manage old version (in epel).
* Thu Nov 26 2015 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-4
2015-11-26 05:55:54 +00:00
- Fix building on arm (see mathgl-2.3.3-signed_char.patch).
* Tue Nov 24 2015 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-3
2015-11-24 10:47:20 +00:00
- Fix files section: cmake script and mime xml.
* Tue Nov 24 2015 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-2
2015-11-24 07:36:06 +00:00
- Add libtool-ltdl-devel to BR.
* Tue Nov 24 2015 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 2.3.3-1
2015-11-24 06:44:07 +00:00
- Update to new 2.3.3 version.
- Fix gsl-2 support.
2015-09-16 00:47:42 +00:00
* Wed Sep 16 2015 Orion Poplawski <orion@cora.nwra.com> - 2.3-11
- Rebuild for openmpi 1.10.0
2015-07-26 20:29:13 +00:00
* Sun Jul 26 2015 Sandro Mani <manisandro@gmail.com> - 2.3-10
- Rebuild for RPM MPI Requires Provides Change
- Fix FTBFS
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-05-17 21:02:09 +00:00
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 2.3-8
- Rebuild for hdf5 1.8.15
2015-05-02 13:55:43 +00:00
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.3-7
- Rebuilt for GCC 5 C++11 ABI change
2015-03-21 08:44:49 +00:00
* Sat Mar 21 2015 Dmitrij S. Kryzhevich <krege@land.ru> - 2.3-6
- Fix linking with libX11.
2015-03-17 09:47:17 +00:00
* Tue Mar 17 2015 Dmitrij S. Kryzhevich <krege@land.ru> - 2.3-5
- Rebuild for new mpich.
2015-02-19 13:59:43 +00:00
* Thu Feb 19 2015 Rex Dieter <rdieter@fedoraproject.org> 2.3-4
- rebuild (fltk)
2015-01-07 20:36:37 +00:00
* Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 2.3-3
- Rebuild for hdf5 1.8.14
* Sat Oct 11 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.3-2
- Disable SMP build for serial (docs failed).
2014-10-10 09:46:49 +00:00
* Tue Oct 07 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.3-1
- Update for new 2.3 version.
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-02-22 18:39:27 +00:00
* Sat Feb 22 2014 Deji Akingunola <dakingun@gmail.com> - 2.2.1-4
- Rebuild for mpich-3.1
* Mon Feb 17 2014 Dan Horák <dan[at]danny.cz> - 2.2.1-3
- Conditionalize openmpi support, fixes build on s390(x)
* Fri Feb 7 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2.1-2
- Workaround for race condition during package building.
2014-02-04 05:15:30 +00:00
* Tue Feb 4 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2.1-1
- Update for new 2.2.1.
2014-01-16 06:09:23 +00:00
* Thu Jan 16 2014 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2-2
2014-01-16 06:01:07 +00:00
- Drop bogus ocatave support. For a time.
2014-01-16 05:05:16 +00:00
* Wed Dec 25 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.2-1
- Update to 2.2.
- Fix bogus dates.
- Fix issue with docdirs.
2013-08-12 23:11:15 +00:00
* Mon Aug 12 2013 Orion Poplawski <orion@cora.nwra.com> - 2.1.2-11
- Fix hdf BRs
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Jul 22 2013 Deji Akingunola <dakingun@gmail.com> - 2.1.2-9
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
2013-05-16 18:26:00 +00:00
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 2.1.2-8
- Rebuild for hdf5 1.8.11
2014-01-16 05:05:16 +00:00
* Tue Apr 23 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.1.2-7
2013-04-23 04:36:19 +00:00
- Modify patch to fix pics generation.
2013-04-22 10:09:14 +00:00
* Mon Apr 22 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.1.2-6
- Add patch to fix pics generation.
* Thu Apr 18 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.1.2-5
- Install binaries used for generation of examples of illustrations.
* Wed Apr 17 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.1.2-4
2013-04-18 01:55:58 +00:00
- Disable some .png generation for -doc.
2013-04-17 08:08:25 +00:00
* Mon Apr 15 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.1.2-3
- MPI suport for MathGL library: add -common subpackage.
- MPI enabled for MathGL library: add OpenMPI and MPICH2 support.
- Reformat spec for better reading (spaces vs tabs, aligning).
2013-04-15 02:26:20 +00:00
* Mon Apr 15 2013 Dmitrij S. Kryzhevich <krege@land.ru> - 2.1.2-2
- Fix spec for better cmake use.
2013-04-15 08:21:09 +00:00
- Make vars in spec to be in one style.
2013-04-15 02:26:20 +00:00
- Add some Russian translation.
2013-04-17 08:08:25 +00:00
- .info is installed. Remove copying.
- Make udav sub-package to be with name "udav".
2013-04-15 08:21:09 +00:00
- Maintain traslation for udav.
2013-04-15 02:26:20 +00:00
2013-04-14 19:17:26 +00:00
* Sun Apr 14 2013 <mycae(a!)gmx.com> 2.1.2-1
- Update to upstream 2.1.2
- New upstream has entirely different build system
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.11.3-2
- rebuild due to "jpeg8-ABI" feature drop
2012-12-07 23:50:04 +00:00
* Fri Dec 07 2012 <mycae(a!t)yahoo.com> - 1.11.3-1
- Update to 1.11.3
2012-12-03 20:59:15 +00:00
* Mon Dec 03 2012 Orion Poplawski <orion@cora.nwra.com> - 1.11.2-9
- Rebuild for hdf5 1.8.10
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Dec 09 2011 <mycae(a!t)yahoo.com> - 1.11.2-6
- Fix build fail due to libpng no longer including zlib
- Remove no longer needed libtool hack
2011-12-06 05:20:16 +00:00
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.11.2-5
- Rebuild for new libpng
* Thu Jun 23 2011 <mycae(a!t)yahoo.com> - 1.11.2-4
- Recall why we needed hdf-devel. Its to keep configure happy.
2011-06-23 21:41:23 +00:00
* Thu Jun 23 2011 <mycae(a!t)yahoo.com> - 1.11.2-3
- Bump for build
* Thu Jun 23 2011 <mycae(a!t)yahoo.com> - 1.11.2-2
- Fix bug 678856, add hdf-static as buildrequire
2011-06-02 19:44:27 +00:00
* Wed Jun 01 2011 <mycae(a!t)yahoo.com> - 1.11.2-1
- Update to upstream 1.11.2
* Tue May 31 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.11.0.1-6
- Reflect fltk having changed its include directory (Fix FTBS).
- Fix German %%summary.
2011-05-18 03:45:56 +00:00
* Tue May 17 2011 Orion Poplawski <orion@cora.nwra.com> - 1.11.0.1-5
- Rebuild for hdf5 1.8.7
2011-03-21 22:57:34 +00:00
* Sun Feb 27 2011 <mycae(a!t)yahoo.com> - 1.11.0.1-4
- Remove octave for Bug 679948, and dynamic patch non-functional due
to swig covariant return type problems with octave_map
2011-03-21 22:57:34 +00:00
* Sat Feb 12 2011 <mycae(a!t)yahoo.com> - 1.11.0.1-3
- Request rebuild -- octave-config needs to emit correct api.
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-11-28 00:46:54 +00:00
* Sat Nov 27 2010 <mycae(a!t)yahoo.com> - 1.11.0.1-1
- Update to 1.11.0.1
* Sun Aug 08 2010 <mycae(a!t)yahoo.com> - 1.10.2.1-3
- Add gsl-devel to requires
2010-07-14 12:33:24 +00:00
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 1.10.2.1-2.1
- rebuilt against wxGTK-2.8.11-2
2010-04-14 21:51:35 +00:00
* Wed Apr 14 2010 <mycae(a!t)yahoo.com> - 1.10.2.1-1.1
- tag bump
* Wed Apr 14 2010 <mycae(a!t)yahoo.com> - 1.10.2.1-1
- Update to 1.10.2.1
- Fix linker error due to DSO change (Bug #564982)
2010-01-02 05:57:12 +00:00
* Sat Jan 02 2010 <mycae(a!t)yahoo.com> - 1.10-2
- Fix octave interface to load on startup
- Fix texinfo insatll
2010-01-02 03:20:02 +00:00
* Sat Jan 02 2010 <mycae(a!t)yahoo.com> - 1.10-1
- Update to 1.10
* Wed Nov 25 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.9-8
- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
* Sun Oct 25 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 1.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-09-14 10:51:23 +00:00
* Mon Sep 14 2009 <mycae(a!t)yahoo.com> 1.9-6
- Add COPYING to doc
* Sat Sep 12 2009 <mycae(a!t)yahoo.com> 1.9-5
- Removed the word "static" from devel description, as doesn't have static
- Fonts now owned at datadir/name level
- Added COPYRIGHT NEWS and TODO
* Sat Aug 15 2009 <mycae(a!t)yahoo.com> 1.9-4
- Fix octave installation method
- Remove wx lib, which doesn't have meaningful code.
* Sun Aug 02 2009 <mycae(a!t)yahoo.com> 1.9-3
- Fix texinfo install (mv to main & add pre/post)
- Remove chrpath, as we now autoreconf
- Add octave pkg rebuild commands
* Tue Jul 21 2009 <mycae(a!t)yahoo.com> 1.9-2
- Fix rpath for build on x86_64.
- remove unrecognized configure options: --enable-tiff, --disable-ltdl-install
- Switch to --enable-all --enable-octave
- Add hdf5 patch
- Add doc subpackage
* Thu Jul 09 2009 <mycae(a!t)yahoo.com> 1.9-1
- Update to 1.9
- Drop explicit Requires
- Perserve timestamps on EOL conversion
- Added patch to disable unused gsl cblas link
2014-01-16 05:05:16 +00:00
* Sat May 02 2009 <mycae(a!t)yahoo.com> 1.8.1-1
2009-09-14 10:51:23 +00:00
- Update to 1.8.1
* Wed Jan 28 2009 <mycae(a!t)yahoo.com> 1.8-3
- Ensure timestamps are preserved during make install
- Modify defattr
- Remove UDAV from package summary
* Mon Dec 29 2008 <mycae(a!t)yahoo.com> 1.8-2
- Remove redundant and erroneous licence field in devel section
- Fix files from mgl/*h to mgl/
- Removed Requires, per bugzilla recommendation.
- Disabled static library generation
- Removed libltdl from build
- Added libtool-ltdl as BuildRequires
* Mon Dec 29 2008 <mycae(a!t)yahoo.com> 1.8-1
- Updated to version 1.8
- Added QT env. vars for fedora
- Cleaned up description
- Change licence field from GPL to GPLv2
* Wed Jun 4 2008 Nik <niktr@mail.ru>
- disabled hdf5 support according to developer request
* Tue Jun 3 2008 Nik <niktr@mail.ru>
- updated to version 1.7.1
2014-01-16 05:05:16 +00:00
* Mon Jun 2 2008 Nik <niktr@mail.ru>
2009-09-14 10:51:23 +00:00
- updated to version 1.7
* Sat Apr 5 2008 Nik <niktr@mail.ru>
- updated to version 1.6.2
* Thu Mar 13 2008 Nik <niktr@mail.ru>
- updated to version 1.6
- added fltk(-devel) to requres list
* Tue Mar 11 2008 Nik <niktr@mail.ru>
- tiff bug fixed
- enable-all option added
* Sat Mar 1 2008 Nik <niktr@mail.ru>
- spec cleanup
- --enable(jpeg, tiff, hdf5) features added
- enable-tiff leads to make error, submitted to author. Feature disabled.
* Fri Feb 29 2008 Nik <niktr@mail.ru>
- initial build of version 1.5