2022-03-10 17:50:24 +01:00
|
|
|
#
|
|
|
|
# spec file for package juliaup
|
|
|
|
#
|
2023-01-04 02:21:36 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-03-10 17:50:24 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2022-03-14 07:29:56 +01:00
|
|
|
|
2022-11-25 10:17:23 +01:00
|
|
|
# We will keep this for now
|
2022-07-21 07:53:41 +02:00
|
|
|
%global oldest_supported_julia_version 0.7.0
|
2022-11-24 15:26:18 +01:00
|
|
|
%global latest_julia_version 1.8.3
|
2022-07-21 07:53:41 +02:00
|
|
|
|
2022-03-10 17:50:24 +01:00
|
|
|
Name: juliaup
|
2023-01-04 02:21:36 +01:00
|
|
|
Version: 1.8.16
|
2022-03-10 17:50:24 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Julia installer and version multiplexer
|
2022-03-14 07:29:56 +01:00
|
|
|
License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND Apache-2.0 AND ISC AND MIT AND MPL-2.0 AND MIT
|
2022-03-11 02:07:05 +01:00
|
|
|
Group: Development/Languages/Other
|
2022-03-14 07:29:56 +01:00
|
|
|
URL: https://github.com/JuliaLang/juliaup
|
2023-02-13 01:04:11 +01:00
|
|
|
Source0: %{name}-%{version}.tar.zst
|
|
|
|
Source1: vendor.tar.zst
|
2022-03-10 17:50:24 +01:00
|
|
|
Source2: cargo_config
|
|
|
|
BuildRequires: cargo-packaging
|
2022-11-24 20:37:33 +01:00
|
|
|
BuildRequires: rust+cargo
|
2023-03-01 11:25:44 +01:00
|
|
|
BuildRequires: zstd
|
2023-03-01 11:14:48 +01:00
|
|
|
ExclusiveArch: %{rust_tier1_arches}
|
2022-11-24 16:24:52 +01:00
|
|
|
|
2022-11-25 10:17:23 +01:00
|
|
|
# It doesn't make sense to do this anyway.
|
|
|
|
# Provides: julia = %%{latest_julia_version}
|
|
|
|
# Obsoletes: julia < %%{latest_julia_version}
|
2022-07-17 14:57:35 +02:00
|
|
|
|
2022-03-10 17:50:24 +01:00
|
|
|
%description
|
|
|
|
A cross-platform installer for the Julia programming language.
|
|
|
|
|
2022-03-14 07:29:56 +01:00
|
|
|
The installer also bundles a full Julia version manager called juliaup.
|
2022-07-17 14:57:35 +02:00
|
|
|
One can use juliaup to install specific Julia versions, it alerts users
|
|
|
|
when new Julia versions are released and provides a convenient Julia
|
|
|
|
release channel abstraction.
|
2022-03-10 17:50:24 +01:00
|
|
|
|
|
|
|
%prep
|
2022-12-26 07:22:49 +01:00
|
|
|
%autosetup -a1 -p1
|
2022-03-10 17:50:24 +01:00
|
|
|
mkdir .cargo
|
|
|
|
cp %{SOURCE2} .cargo/config
|
|
|
|
|
|
|
|
%build
|
2022-11-21 15:20:25 +01:00
|
|
|
%{cargo_build} --no-default-features
|
2022-03-10 17:50:24 +01:00
|
|
|
|
|
|
|
%install
|
2022-11-21 15:20:25 +01:00
|
|
|
%{cargo_install} --no-default-features
|
2022-11-25 10:43:12 +01:00
|
|
|
ln -sfv "%{_bindir}/julialauncher" "%{buildroot}/%{_bindir}/julia"
|
2022-08-17 15:02:41 +02:00
|
|
|
|
2022-03-10 17:50:24 +01:00
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_bindir}/juliainstaller
|
|
|
|
%{_bindir}/julialauncher
|
|
|
|
%{_bindir}/juliaup
|
2022-11-24 16:26:59 +01:00
|
|
|
%{_bindir}/julia
|
2022-03-10 17:50:24 +01:00
|
|
|
|
2022-11-24 20:23:01 +01:00
|
|
|
%changelog
|