%define pkg_name julia %define pkg_version 1.1.0 %define pkg_release 2%{?_dist_release} %global unwindversion 1.1-julia2 %global uvcommit 2348256acf5759a544e5ca7935f638d2bc091d60 %global patchelfversion 0.9 %global utf8proccommit 97ef668b312b96382714dbb8eaac4affce0816e6 %global llvmversion 6.0.1 %global libwhichcommit 81e9723c0273d78493dc8c8ed570f68d9ce7e89e %global mpfrversion 4.0.1 %global cacertversion 2018-10-17 %global pkgcommit 853b3f1fd9895db32b402d89e9dee153b66b2316 Summary: High-level, high-performance dynamic programming language for numerical computing Name: %{pkg_name} Version: %{pkg_version} Release: %{pkg_release} License: MIT, BSD and GPLv3 # julia, utf8proc, libwhich: MIT # libunwind, libuv, llvm: BSD # patchelf, mpfr: GPLv3 Group: Applications/Edutainment URL: https://julialang.org/ Source0: https://github.com/JuliaLang/julia/releases/download/v%{version}/%{name}-%{version}.tar.gz Source11: libunwind-%{unwindversion}.tar.gz Source12: libuv-%{uvcommit}.tar.gz Source13: patchelf-%{patchelfversion}.tar.gz Source14: utf8proc-%{utf8proccommit}.tar.gz Source15: llvm-%{llvmversion}.src.tar.xz Source16: libwhich-%{libwhichcommit}.tar.gz Source17: mpfr-%{mpfrversion}.tar.bz2 Source18: cacert-%{cacertversion}.pem Source31: https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommit}#/Pkg-%{pkgcommit}.tar.gz # not make debug Patch11: julia-Makefile_release.patch # ## Patches for make test # # Avoid test error # Patch21: julia-skip-LibGit2-libgit2.patch # Patch from Fedora Patch31: llvm-julia-installdirs-64.patch # march=pentium4 in i686 Patch32: julia-i686-march.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: cmake BuildRequires: gcc-gfortran BuildRequires: gmp-devel BuildRequires: openblas-devel %ifarch x86_64 BuildRequires: openblas64-devel %endif BuildRequires: openspecfun-devel BuildRequires: openlibm-devel BuildRequires: suitesparse-devel BuildRequires: dSFMT-devel BuildRequires: pcre2-devel BuildRequires: libssh2-devel BuildRequires: curl-devel BuildRequires: libgit2-devel BuildRequires: mbedtls-devel BuildRequires: libatomic BuildRequires: desktop-file-utils Requires: openblas-threads %ifarch x86_64 Requires: openblas-threads64_ %endif Requires: openlibm Requires: suitesparse Requires: dSFMT Requires: pcre2 Requires: libssh2 Requires: libgit2 Requires: mbedtls Requires: libatomic Vendor: Project Vine Distribution: Vine Linux Packager: ara_t %description Julia is a high-level, high-performance dynamic programming language for numerical computing. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. Julia’s Base library, largely written in Julia itself, also integrates mature, best-of-breed open source C and Fortran libraries for linear algebra, random number generation, signal processing, and string processing. In addition, the Julia developer community is contributing a number of external packages through Julia's built-in package manager at a rapid pace. IJulia, a collaboration between the Jupyter and Julia communities, provides a powerful browser-based graphical notebook interface to Julia. Julia programs are organized around multiple dispatch; by defining functions and overloading them for different combinations of argument types, which can also be user-defined. For a more in-depth discussion of the rationale and advantages of Julia over other systems, see the following highlights or read the introduction in the online manual. #' %prep %{__rm} -rf ${RPM_BUILD_ROOT} %setup -q %patch11 -b .release # %patch21 -b .skip_test %ifarch x86_64 %patch31 -p1 -b .installdir64 %endif %ifarch %{ix86} %patch32 -b .march %endif cat > Make.user < 1.1.0-2 - build llvm shared library - add Patch31 for x86_64 - add Patch32 for i686 - add SOURCE18 (cacert-*.pem) - add SOURCE31 (Pkg library) - drop Patch21 * Mon Jan 28 2019 Toshiaki Ara 1.1.0-1 - update to 1.1.0 - change using system openblas * Sat Jan 26 2019 Toshiaki Ara 1.0.3-2 - remove unnecessary sofiles - rebuild with gfortran-8.2.0 * Sat Jan 05 2019 Toshiaki Ara 1.0.3-1 - update to 1.0.3 * Fri Nov 16 2018 Toshiaki Ara 1.0.2-1 - update to 1.0.2 * Thu Oct 04 2018 Toshiaki Ara 1.0.1-1 - update to 1.0.1 * Wed Aug 22 2018 Toshiaki Ara 1.0.0-2 - rebuild with suitesparse-4.4.6 * Fri Aug 17 2018 Toshiaki Ara 1.0.0-1 - update to 1.0.0 - add/update sources - drop some Patches - add BuildRequires: and Requires: libatomic * Sat Jul 14 2018 Toshiaki Ara 0.6.4-1 - new upstream release - update SOURCE17 (openblas) * Sun Jun 17 2018 Toshiaki Ara 0.6.3-1 - new package