2024-01-05 17:39:52 +01:00
|
|
|
Name: scilab
|
2024-11-06 13:15:44 +01:00
|
|
|
Version: 2025.0.0
|
2024-01-05 17:39:52 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:39:52 +01:00
|
|
|
Summary: A scientific software package for numerical computations
|
|
|
|
Group: Graphical Desktop/Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:39:52 +01:00
|
|
|
URL: https://www.scilab.org/
|
2024-11-06 13:15:44 +01:00
|
|
|
Source0: https://gitlab.com/scilab/scilab/-/archive/%{version}/scilab-%{version}.tar.bz2
|
2024-01-05 17:39:52 +01:00
|
|
|
Source1: scilab.desktop
|
|
|
|
Source2: scilab_256x256x32.png
|
2024-01-05 17:39:54 +01:00
|
|
|
Patch5: scilab-6.1.1-ocaml-num.patch
|
2024-01-05 17:39:52 +01:00
|
|
|
License: CeCILL, GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-11-06 13:15:44 +01:00
|
|
|
BuildRequires: libarchive-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libarpack-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libgcc
|
2024-11-06 13:15:44 +01:00
|
|
|
BuildRequires: libgfortran
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libgomp-devel
|
|
|
|
BuildRequires: libhdf5-devel
|
2024-11-06 13:15:44 +01:00
|
|
|
BuildRequires: libicu-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libmatio-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libmpi-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libncurses-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libopenblas-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: libpcre-devel
|
|
|
|
BuildRequires: libquadmath-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libsuitesparse-devel
|
|
|
|
BuildRequires: libtcl-devel
|
|
|
|
BuildRequires: libtk-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-11-06 13:15:44 +01:00
|
|
|
BuildRequires: libmatio-devel >= 1.5.27
|
2024-01-05 17:39:54 +01:00
|
|
|
BuildRequires: libmpi-devel >= 4.1.5
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: ocaml
|
|
|
|
BuildRequires: ocaml-num
|
2024-01-05 17:39:52 +01:00
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
# java stuff
|
2024-11-06 13:15:44 +01:00
|
|
|
#BuildRequires: apache-ant
|
|
|
|
#BuildRequires: apache-batik
|
|
|
|
#BuildRequires: apache-fop
|
|
|
|
#BuildRequires: jakarta-activation
|
|
|
|
#BuildRequires: java-openjdk17
|
|
|
|
#BuildRequires: java-flexdock
|
|
|
|
#BuildRequires: java-graphx
|
|
|
|
#BuildRequires: java-jogl
|
|
|
|
#BuildRequires: java-jeuclid
|
|
|
|
#BuildRequires: java-jlatexmath
|
|
|
|
#BuildRequires: java-lucene
|
|
|
|
#BuildRequires: java-rosetta
|
|
|
|
#BuildRequires: java-skinlf
|
|
|
|
#BuildRequires: java-xmlgraphics-commons
|
|
|
|
#BuildRequires: javahelp2
|
|
|
|
#BuildRequires: jgoodies-looks
|
|
|
|
#Requires: antlr
|
|
|
|
#Requires: apache-batik
|
|
|
|
#Requires: apache-fop
|
2024-01-05 17:39:54 +01:00
|
|
|
Requires: docbook-xsl
|
2024-11-06 13:15:44 +01:00
|
|
|
#Requires: jakarta-activation
|
|
|
|
#Requires: java-checkstyle
|
|
|
|
#Requires: java-flexdock
|
|
|
|
#Requires: java-graphx
|
|
|
|
#Requires: java-jeuclid
|
|
|
|
#Requires: java-jlatexmath
|
|
|
|
#Requires: java-qdox
|
|
|
|
#Requires: java-rosetta
|
|
|
|
#Requires: java-saxon9
|
|
|
|
#Requires: java-skinlf
|
|
|
|
#Requires: java-testng
|
|
|
|
#Requires: java-xmlgraphics-commons
|
|
|
|
#Requires: javahelp2
|
|
|
|
#Requires: jgoodies-looks
|
2024-01-05 17:39:52 +01:00
|
|
|
Requires: ocaml
|
2024-01-05 17:39:52 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Scilab is a scientific software package for numerical computations providing a powerful open computing environment for engineering and scientific applications.
|
|
|
|
Scilab includes hundreds of mathematical functions with the possibility to add interactively programs from various languages (C, Fortran...). It has sophisticated data structures (including lists, polynomials, rational functions, linear systems...), an interpreter and a high level programming language.
|
|
|
|
Scilab has been designed to be an open system where the user can define new data types and operations on these data types by using overloading.
|
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries provided by Scilab
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Scilab - A scientific software package for numerical computations.
|
|
|
|
This package contains the shared libraries provided by Scilab.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for Scilab
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:39:52 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: scilab-devel
|
|
|
|
Obsoletes: scilab-devel < 6.1.0
|
2024-01-05 17:39:52 +01:00
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
Scilab - A scientific software package for numerical computations.
|
|
|
|
This package contains development files for with Scilab.
|
|
|
|
|
2024-01-05 17:39:54 +01:00
|
|
|
%debug_package
|
2024-01-05 17:39:52 +01:00
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-11-06 13:15:44 +01:00
|
|
|
cd scilab
|
2024-01-05 17:39:54 +01:00
|
|
|
%patch 5 -p0
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#:<< _EOF
|
2024-11-06 13:15:44 +01:00
|
|
|
cd scilab
|
2024-01-05 17:39:52 +01:00
|
|
|
%configure \
|
2024-01-05 17:39:54 +01:00
|
|
|
--enable-debug \
|
2024-01-05 17:39:52 +01:00
|
|
|
--with-gcc \
|
|
|
|
--with-gfortran \
|
|
|
|
--with-mpi \
|
2024-01-05 17:39:52 +01:00
|
|
|
--with-matio \
|
2024-01-05 17:39:52 +01:00
|
|
|
--with-umfpack \
|
|
|
|
--with-fftw \
|
|
|
|
--with-modelica \
|
|
|
|
--without-emf \
|
|
|
|
--with-install-help-xml \
|
2024-11-06 13:15:44 +01:00
|
|
|
--without-javasci \
|
|
|
|
--without-jdk \
|
|
|
|
--disable-build-doxygen \
|
|
|
|
--disable-build-help \
|
|
|
|
--disable-debug-java \
|
2024-01-05 17:39:52 +01:00
|
|
|
--disable-static-system-lib \
|
2024-11-06 13:15:44 +01:00
|
|
|
FFLAGS="-fallow-argument-mismatch" \
|
|
|
|
CFLAGS="%{optflags} -fcommon" \
|
|
|
|
CXXFLAGS="%{optflags} -fcommon"
|
2024-01-05 17:39:52 +01:00
|
|
|
|
2024-01-05 17:39:54 +01:00
|
|
|
%make -j1 \
|
|
|
|
OCAMLCFLAGS="" OCAMLOPTFLAGS=""
|
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
make doc
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-11-06 13:15:44 +01:00
|
|
|
%makeinstall -C scilab
|
2024-01-05 17:39:52 +01:00
|
|
|
|
2024-11-06 13:15:44 +01:00
|
|
|
make -C scilab DESTDIR=%{buildroot} install-data install-html
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%find_lang scilab
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
2024-01-05 17:39:54 +01:00
|
|
|
:
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
2024-01-05 17:39:54 +01:00
|
|
|
:
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%files -f scilab.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_bindir}/XML2Modelica
|
|
|
|
%{_bindir}/modelicac
|
|
|
|
%{_bindir}/modelicat
|
2024-11-06 13:15:44 +01:00
|
|
|
#%{_bindir}/scilab
|
|
|
|
#%{_bindir}/scilab-adv-cli
|
|
|
|
#%{_bindir}/scilab-bin
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_bindir}/scilab-cli
|
|
|
|
%{_bindir}/scilab-cli-bin
|
2024-11-06 13:15:44 +01:00
|
|
|
#%{_bindir}/scinotes
|
|
|
|
#%{_bindir}/xcos
|
2024-01-05 17:39:52 +01:00
|
|
|
%dir %{_datadir}/scilab
|
|
|
|
%{_datadir}/scilab/ACKNOWLEDGEMENTS
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_datadir}/scilab/CHANGES.md
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_datadir}/scilab/COPYING*
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_datadir}/scilab/README.md
|
|
|
|
%{_datadir}/scilab/Version.incl
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_datadir}/scilab/contrib
|
|
|
|
%{_datadir}/scilab/etc
|
|
|
|
%{_datadir}/scilab/tools
|
|
|
|
%dir %{_datadir}/scilab/modules
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_datadir}/scilab/modules/*
|
|
|
|
%{_datadir}/appdata/scilab.appdata.xml
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/mime/packages/scilab.xml
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
|
|
|
#%{_datadir}/pixmaps/scilab.png
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/scilab
|
2024-11-06 13:15:44 +01:00
|
|
|
#%{_libdir}/scilab/libjavasci2.so.*
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_libdir}/scilab/libsci*.so.*
|
|
|
|
%{_libdir}/scilab/*.so
|
2024-11-06 13:15:44 +01:00
|
|
|
#%doc COPYING COPYING-BSD
|
2024-01-05 17:39:52 +01:00
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-05 17:39:52 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/scilab
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_includedir}/scilab/*
|
2024-11-06 13:15:44 +01:00
|
|
|
%dir %{_includedir}/nvector
|
|
|
|
%{_includedir}/nvector/*
|
|
|
|
%dir %{_includedir}/sundials
|
|
|
|
%{_includedir}/sundials/*
|
|
|
|
%dir %{_includedir}/sunmatrix
|
|
|
|
%{_includedir}/sunmatrix/*
|
2024-01-05 17:39:52 +01:00
|
|
|
%{_libdir}/pkgconfig/scilab.pc
|
2024-01-05 17:39:52 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-11-06 13:15:44 +01:00
|
|
|
* Thu Oct 31 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2025.0.0-1mamba
|
|
|
|
- update to 2025.0.0
|
|
|
|
|
2024-01-05 17:39:54 +01:00
|
|
|
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.1-1mamba
|
|
|
|
- update to 6.1.1
|
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-1mamba
|
|
|
|
- update to 6.1.0
|
|
|
|
|
2024-01-05 17:39:52 +01:00
|
|
|
* Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.0-5mamba
|
|
|
|
- rebuilt with libhdf5 1.8.10
|
|
|
|
|
|
|
|
* Tue Mar 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.0-4mamba
|
|
|
|
- rebuilt with libsuitesparse
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 gil <puntogil@libero.it> 5.3.0-3mamba
|
|
|
|
- add getmodules.patch
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 gil <puntogil@libero.it> 5.3.0-2mamba
|
|
|
|
- edit configure options add libatlas support
|
|
|
|
|
|
|
|
* Fri Feb 04 2011 gil <puntogil@libero.it> 5.3.0-1mamba
|
|
|
|
- update to 5.3.0
|
|
|
|
|
|
|
|
* Wed Jul 30 2008 gil <puntogil@libero.it> 4.1.2-1mamba
|
|
|
|
- update to 4.1.2
|
|
|
|
|
|
|
|
* Wed Jul 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-3qilnx
|
|
|
|
- added automatic creation of user configuration for rtai patch
|
|
|
|
|
|
|
|
* Wed Jul 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-2qilnx
|
|
|
|
- added RTAI patch
|
|
|
|
|
|
|
|
* Mon Jul 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1qilnx
|
|
|
|
- package created by autospec
|