Name: scilab Version: 2025.0.0 Release: 1mamba Summary: A scientific software package for numerical computations Group: Graphical Desktop/Applications/Scientific Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.scilab.org/ Source0: https://gitlab.com/scilab/scilab/-/archive/%{version}/scilab-%{version}.tar.bz2 Source1: scilab.desktop Source2: scilab_256x256x32.png Patch5: scilab-6.1.1-ocaml-num.patch License: CeCILL, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libarchive-devel BuildRequires: libarpack-devel BuildRequires: libcurl-devel BuildRequires: libfftw-devel BuildRequires: libgcc BuildRequires: libgfortran BuildRequires: libgomp-devel BuildRequires: libhdf5-devel BuildRequires: libicu-devel BuildRequires: liblzma-devel BuildRequires: libmatio-devel BuildRequires: libmpi-devel BuildRequires: libncurses-devel BuildRequires: libopenblas-devel 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 BuildRequires: libmatio-devel >= 1.5.27 BuildRequires: libmpi-devel >= 4.1.5 BuildRequires: ocaml BuildRequires: ocaml-num BuildRequires: desktop-file-utils BuildRequires: ImageMagick # java stuff #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 Requires: docbook-xsl #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 Requires: ocaml Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %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. %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 Group: Development/Libraries Summary: Development files for Scilab Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: scilab-devel Obsoletes: scilab-devel < 6.1.0 %description -n lib%{name}-devel Scilab - A scientific software package for numerical computations. This package contains development files for with Scilab. %debug_package %prep %setup -q #-D -T #:<< _EOF cd scilab %patch 5 -p0 %build #:<< _EOF cd scilab %configure \ --enable-debug \ --with-gcc \ --with-gfortran \ --with-mpi \ --with-matio \ --with-umfpack \ --with-fftw \ --with-modelica \ --without-emf \ --with-install-help-xml \ --without-javasci \ --without-jdk \ --disable-build-doxygen \ --disable-build-help \ --disable-debug-java \ --disable-static-system-lib \ FFLAGS="-fallow-argument-mismatch" \ CFLAGS="%{optflags} -fcommon" \ CXXFLAGS="%{optflags} -fcommon" %make -j1 \ OCAMLCFLAGS="" OCAMLOPTFLAGS="" make doc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C scilab make -C scilab DESTDIR=%{buildroot} install-data install-html %find_lang scilab %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f scilab.lang %defattr(-,root,root) %{_bindir}/XML2Modelica %{_bindir}/modelicac %{_bindir}/modelicat #%{_bindir}/scilab #%{_bindir}/scilab-adv-cli #%{_bindir}/scilab-bin %{_bindir}/scilab-cli %{_bindir}/scilab-cli-bin #%{_bindir}/scinotes #%{_bindir}/xcos %dir %{_datadir}/scilab %{_datadir}/scilab/ACKNOWLEDGEMENTS %{_datadir}/scilab/CHANGES.md %{_datadir}/scilab/COPYING* %{_datadir}/scilab/README.md %{_datadir}/scilab/Version.incl %{_datadir}/scilab/contrib %{_datadir}/scilab/etc %{_datadir}/scilab/tools %dir %{_datadir}/scilab/modules %{_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 #%{_libdir}/scilab/libjavasci2.so.* %{_libdir}/scilab/libsci*.so.* %{_libdir}/scilab/*.so #%doc COPYING COPYING-BSD %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/scilab %{_includedir}/scilab/* %dir %{_includedir}/nvector %{_includedir}/nvector/* %dir %{_includedir}/sundials %{_includedir}/sundials/* %dir %{_includedir}/sunmatrix %{_includedir}/sunmatrix/* %{_libdir}/pkgconfig/scilab.pc %changelog * Thu Oct 31 2024 Silvan Calarco 2025.0.0-1mamba - update to 2025.0.0 * Sat Oct 21 2023 Silvan Calarco 6.1.1-1mamba - update to 6.1.1 * Sun Apr 11 2021 Silvan Calarco 6.1.0-1mamba - update to 6.1.0 * Sat Aug 03 2013 Silvan Calarco 5.3.0-5mamba - rebuilt with libhdf5 1.8.10 * Tue Mar 06 2012 Silvan Calarco 5.3.0-4mamba - rebuilt with libsuitesparse * Tue Feb 08 2011 gil 5.3.0-3mamba - add getmodules.patch * Tue Feb 08 2011 gil 5.3.0-2mamba - edit configure options add libatlas support * Fri Feb 04 2011 gil 5.3.0-1mamba - update to 5.3.0 * Wed Jul 30 2008 gil 4.1.2-1mamba - update to 4.1.2 * Wed Jul 13 2005 Silvan Calarco 3.1.1-3qilnx - added automatic creation of user configuration for rtai patch * Wed Jul 13 2005 Silvan Calarco 3.1.1-2qilnx - added RTAI patch * Mon Jul 11 2005 Silvan Calarco 3.1.1-1qilnx - package created by autospec