Name: scilab Version: 6.1.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: http://www.scilab.org/download/%{version}/scilab-%{version}-src.tar.gz Source1: scilab.desktop Source2: scilab_256x256x32.png Patch0: scilab-6.1.0-jogl-2.3.2.patch Patch1: scilab-6.1.0-strict-jar.patch Patch2: scilab-6.1.0-libhdf5-1.8.10.patch Patch3: scilab-6.1.0-hdf5_18_api.patch Patch4: scilab-6.1.0-matio-fix-uint32_t-type.patch Patch5: scilab-6.1.0-ocaml-num.patch Patch6: scilab-6.1.0-ocaml.patch Patch7: scilab-6.1.0-fix-core-link.patch License: CeCILL, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: gcc-fortran BuildRequires: glibc-devel BuildRequires: java-openjdk8-runtime BuildRequires: libarpack-devel BuildRequires: libbrotli-devel BuildRequires: libcares-devel BuildRequires: libcurl-devel BuildRequires: libe2fs-devel BuildRequires: libevent-devel BuildRequires: libfftw-devel BuildRequires: libgcc BuildRequires: libgomp-devel BuildRequires: libgsasl-devel BuildRequires: libgss-devel BuildRequires: libhdf5-devel BuildRequires: libhwloc-devel BuildRequires: libicu-devel BuildRequires: libidn-devel BuildRequires: libidn2-devel BuildRequires: libkrb5-devel BuildRequires: liblzma-devel BuildRequires: libmatio-devel BuildRequires: libmpi-devel BuildRequires: libncurses-devel BuildRequires: libnghttp2-devel BuildRequires: libntlm-devel BuildRequires: libopenblas-devel BuildRequires: libopenldap-devel BuildRequires: libopenssl-devel BuildRequires: libpcre-devel BuildRequires: libpsl-devel BuildRequires: libquadmath-devel BuildRequires: librtmp-devel BuildRequires: libsasl2-devel BuildRequires: libssh2-devel BuildRequires: libstdc++6-devel BuildRequires: libsuitesparse-devel BuildRequires: libtcl-devel BuildRequires: libtk-devel BuildRequires: libudev-devel BuildRequires: libunistring-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: libzstd-devel ## AUTOBUILDREQ-END BuildRequires: ocaml BuildRequires: ocaml-num BuildRequires: libarpack-devel BuildRequires: desktop-file-utils BuildRequires: ImageMagick # java stuff BuildRequires: java-openjdk8 BuildRequires: apache-ant BuildRequires: apache-batik BuildRequires: java-graphx BuildRequires: java-flexdock BuildRequires: java-jogl BuildRequires: jgoodies-looks BuildRequires: java-skinlf BuildRequires: javahelp2 BuildRequires: java-lucene BuildRequires: java-rosetta BuildRequires: apache-batik BuildRequires: java-jeuclid BuildRequires: apache-fop BuildRequires: jakarta-commons-io BuildRequires: java-excalibur-avalon-framework-api BuildRequires: jakarta-commons-logging BuildRequires: java-xmlgraphics-commons BuildRequires: java-jlatexmath BuildRequires: java-junit48 Requires: docbook-xsl Requires: antlr Requires: apache-batik Requires: apache-fop Requires: jakarta-commons-beanutils Requires: jakarta-commons-io Requires: jakarta-commons-logging Requires: java-xmlgraphics-commons Requires: java-checkstyle Requires: java-excalibur-avalon-framework Requires: java-flexdock Requires: java-graphx Requires: java-jeuclid Requires: java-jlatexmath Requires: java-junit48 Requires: java-openjdk8 Requires: java-qdox Requires: java-rosetta Requires: java-saxon9 Requires: java-skinlf Requires: java-testng 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 %patch0 -p2 #%patch1 -p0 %patch3 -p1 #%patch2 -p1 %patch4 -p1 %patch6 -p1 %patch7 -p1 autoreconf -f -i %patch5 -p0 %build #:<< _EOF %configure \ --with-gcc \ --with-gfortran \ --with-mpi \ --with-matio \ --with-umfpack \ --with-fftw \ --with-modelica \ --without-emf \ --with-install-help-xml \ --enable-build-help \ --enable-build-localization \ --disable-static-system-lib \ --with-jdk=%{_jvmdir}/java-8-openjdk/ \ FFLAGS="-fallow-argument-mismatch" \ CFLAGS="%{optflags} -fcommon" \ CXXFLAGS="%{optflags} -fcommon" %make make doc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall make DESTDIR=%{buildroot} install-data install-html %find_lang scilab %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun /sbin/ldconfig 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/icons %{_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 #%doc license.txt %files -n lib%{name} %defattr(-,root,root) %dir %{_libdir}/scilab %{_libdir}/scilab/libjavasci2.so.* %{_libdir}/scilab/libsci*.so.* %{_libdir}/scilab/*.so %{_libdir}/scilab/*.la %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/scilab %{_includedir}/scilab/* %{_libdir}/pkgconfig/scilab.pc %changelog * 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