SHA256
1
0
forked from pool/juliaup
juliaup/juliaup.spec

69 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package juliaup
#
# Copyright (c) 2023 SUSE LLC
#
# 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/
#
# We will keep this for now
%global oldest_supported_julia_version 0.7.0
%global latest_julia_version 1.8.3
Name: juliaup
Version: 1.8.16
Release: 0
Summary: Julia installer and version multiplexer
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
Group: Development/Languages/Other
URL: https://github.com/JuliaLang/juliaup
- Update to version 1.8.12: * Fix typo * Fix a typo * Add a check phase to test workflow that runs on all platforms * Fix some platform specific errors and warnings * chore: Release juliaup version 1.8.11 * Fix cond compile on macos * Unfix wrong target family * Fix typo on merge * Use more borrowed types where possible * Reset some functions return values back to Result * Change default versions db update interval to 24 hours * Add versions db update to add and update command * Update deps * Bump peter-evans/create-pull-request from 3 to 4 * Various lints and minor improvements * Configure for target_os, not nonexistant family * Make 60 the default versions db update interval * Make the update interval between versions db updates a config * Update versions db on self update * Add a powerpoint schematic in devdocs * Update version db * Add alpha versions * Document releasepreview usage * Also add musl fix for release action. * Use sudo. * Fix quotes. * Musl build can't find gcc-musl. * chore: Release juliaup version 1.8.10 * Enable second part of musl tests * Properly disable musl tests * Unify some output * Fix some unit tests * Update version db * Fix parse_versionstring * Generate better arch strings in semver * Enable ci tests of musl build * Disable musl tests for now * Use cross on Linux for tests * Add Juliaup version to juliaup info * Add musl build to tests * chore: Release juliaup version 1.8.9 * Change shell script to serve musl on Linux * Add triplet to juliaup info * chore: Release juliaup version 1.8.8 * Add info command * change to a redirect for developers to the wiki * add source build notes to the readme OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=64
2022-12-03 14:12:53 +01:00
Source0: %{name}-%{version}.tar.xz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: rust+cargo
# It doesn't make sense to do this anyway.
# Provides: julia = %%{latest_julia_version}
# Obsoletes: julia < %%{latest_julia_version}
%description
A cross-platform installer for the Julia programming language.
The installer also bundles a full Julia version manager called juliaup.
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.
%prep
%autosetup -a1 -p1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%build
%{cargo_build} --no-default-features
%install
%{cargo_install} --no-default-features
ln -sfv "%{_bindir}/julialauncher" "%{buildroot}/%{_bindir}/julia"
%files
%license LICENSE
%doc README.md
%{_bindir}/juliainstaller
%{_bindir}/julialauncher
%{_bindir}/juliaup
%{_bindir}/julia
%changelog