Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
23e53f7622 | ||
|
6bd6c49a3d | ||
|
209bb4b576 | ||
|
6705c9fc03 |
52
mathgl.spec
52
mathgl.spec
@ -1,4 +1,10 @@
|
|||||||
%ifnarch s390 s390x
|
%if 0%{?fedora} >= 40
|
||||||
|
%ifarch %{ix86}
|
||||||
|
%global with_openmpi 0
|
||||||
|
%else
|
||||||
|
%global with_openmpi 1
|
||||||
|
%endif
|
||||||
|
%else
|
||||||
%global with_openmpi 1
|
%global with_openmpi 1
|
||||||
%endif
|
%endif
|
||||||
%global with_mpich2 1
|
%global with_mpich2 1
|
||||||
@ -19,7 +25,7 @@
|
|||||||
|
|
||||||
Name: mathgl
|
Name: mathgl
|
||||||
Version: 8.0.1
|
Version: 8.0.1
|
||||||
Release: 3%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Cross-platform library for making high-quality scientific graphics
|
Summary: Cross-platform library for making high-quality scientific graphics
|
||||||
Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken
|
Summary(de): Plattformübergreifende Bibliothek für hochwertige wissenschaftliche Graphiken
|
||||||
Summary(ru): Библиотека для осуществления высококачественной визуализации данных
|
Summary(ru): Библиотека для осуществления высококачественной визуализации данных
|
||||||
@ -329,20 +335,20 @@ for file in AUTHORS ChangeLog.txt README ; do
|
|||||||
mv $file.new $file
|
mv $file.new $file
|
||||||
done
|
done
|
||||||
|
|
||||||
%patch0 -p1 -b .examples
|
%patch -P0 -p1 -b .examples
|
||||||
%patch1 -p1 -b .fluid
|
%patch -P1 -p1 -b .fluid
|
||||||
%patch2 -p1 -b .no-hdf4-and-hdf5-simultaneously
|
%patch -P2 -p1 -b .no-hdf4-and-hdf5-simultaneously
|
||||||
#patch5 -p1 -b .lang
|
#patch -P5 -p1 -b .lang
|
||||||
%patch6 -p1 -b .gcc7
|
%patch -P6 -p1 -b .gcc7
|
||||||
%patch7 -p1 -b .no_updatedb
|
%patch -P7 -p1 -b .no_updatedb
|
||||||
%if 0%{?with_octave}
|
%if 0%{?with_octave}
|
||||||
%patch3 -p1 -b .nooctaveinstall
|
%patch -P3 -p1 -b .nooctaveinstall
|
||||||
%else
|
%else
|
||||||
%patch4 -p1 -b .no_octave
|
%patch -P4 -p1 -b .no_octave
|
||||||
%endif
|
%endif
|
||||||
%patch8 -p0 -b .freeglut
|
%patch -P8 -p0 -b .freeglut
|
||||||
%patch9 -p1 -b .norebuild_l10n
|
%patch -P9 -p1 -b .norebuild_l10n
|
||||||
%patch10 -p1 -b .libharu2.4
|
%patch -P10 -p1 -b .libharu2.4
|
||||||
|
|
||||||
# Fix hardcoded Python version
|
# Fix hardcoded Python version
|
||||||
#sed -i -e 's,3\.[0-9],%{python3_version},g' \
|
#sed -i -e 's,3\.[0-9],%{python3_version},g' \
|
||||||
@ -357,11 +363,7 @@ sed -i s,/usr/local/share/mathgl/fonts/,%{_datadir}/%{name}/fonts/, udav/prop_dl
|
|||||||
# Fix octave module version wether we need it or not
|
# Fix octave module version wether we need it or not
|
||||||
sed -i -e "s,Version:.*,Version: %{version}," lang/DESCRIPTION
|
sed -i -e "s,Version:.*,Version: %{version}," lang/DESCRIPTION
|
||||||
|
|
||||||
%if 0%{?fedora} >= 21 && 0%{?fedora} < 26
|
%if 0%{?fedora}
|
||||||
%global mgl_octarch_dir %{_tmppath}/%{name}-%{version}-%{release}.%{_arch}
|
|
||||||
%global mgl_octarch_name %{octpkg}-%{version}.tar.gz
|
|
||||||
%endif
|
|
||||||
%if 0%{?fedora} >= 26
|
|
||||||
%global octave_tar_suffix %{octave_host}-%{octave_api}
|
%global octave_tar_suffix %{octave_host}-%{octave_api}
|
||||||
%global mgl_octarch_dir %{_builddir}/%{buildsubdir}/build/
|
%global mgl_octarch_dir %{_builddir}/%{buildsubdir}/build/
|
||||||
%global mgl_octarch_name %{octpkg}-%{version}-%{octave_tar_suffix}.tar.gz
|
%global mgl_octarch_name %{octpkg}-%{version}-%{octave_tar_suffix}.tar.gz
|
||||||
@ -623,6 +625,20 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/mgllab.desktop
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 29 2023 Orion Poplawski <orion@nwra.com> - 8.0.1-7
|
||||||
|
- Rebuild for openmpi 5.0.0, drops i686 and C++ API
|
||||||
|
- Use newer patch syntax
|
||||||
|
- Cleanup old conditionals
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 8.0.1-5
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Sat Apr 08 2023 Orion Poplawski <orion@nwra.com> - 8.0.1-4
|
||||||
|
- Rebuild with octave 8.1.0
|
||||||
|
|
||||||
* Sun Mar 05 2023 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 8.0.1-3
|
* Sun Mar 05 2023 Dmitrij S. Kryzhevich <kryzhev@ispms.ru> - 8.0.1-3
|
||||||
- Fix -[wx,fltk,qt5]-devel dependencies.
|
- Fix -[wx,fltk,qt5]-devel dependencies.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user