SHA256
1
0
forked from pool/ruby-build
ruby-build/ruby-build.spec
Lukas Müller b5e052f673 Accepting request 985964 from home:expeehaa:branches:devel:languages:ruby:extensions
- Update to version 20220630.
  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20220630
  * Add JRuby 9.2.21.0 and 9.3.6.0
  * Add mruby-3.1.0
  * Add picoruby-3.0.0
- Update to version 20220610.
  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20220610
  * Skip building docs when building openssl
    * See openssl/openssl#8170
    * The install_sw target exists since 1.0.0 or earlier:
      https://github.com/openssl/openssl/blob/OpenSSL_1_0_0-stable/Makefile.org
  * Re-enable ssldir creation target for openssl install
    Prior commit attempts to shorten install by omitting documentation install,
    however an additional target is needed to get the conf dirs for capturing the
    PEMs et al.
  * OpenSSL 1.1+ needs the extra install_ssldirs target to install certificates
  * Add Darwin-arm64 and Linux-aarch64 for truffleruby-dev and truffleruby+graalvm-dev
- Run "osc service runall format_spec_file".
- Update to version 20220426.
  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20220426
  * Add TruffleRuby and TruffleRuby GraalVM 22.1.0
- Update to version 20220415.
  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20220415
  * Allow truffleruby to install in an existing empty directory
- Update to version 20220412.
  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20220412
  * Add definition for Ruby 3.2.0-preview1
  * Add Ruby 3.1.2, 3.0.4, 2.7.6, 2.6.10
- Update to version 20220324.
  Changelog: https://github.com/rbenv/ruby-build/releases/tag/v20220324
  * Bump up OpenSSL 1.1.1n and 3.0.2
  * Update openssl version at 2.4.0-preview versions
  * Add JRuby 9.3.4.0
- Update to version 20220218.
- Changelog:
  https://github.com/rbenv/ruby-build/releases/tag/v20220218
  * Added Ruby 3.1.1
- Update to version 20220125.
- Changelog:
  https://github.com/rbenv/ruby-build/releases/tag/v20220125
  * Add JRuby 9.3.3.0
  * Add TruffleRuby and TruffleRuby GraalVM 22.0.0.2
- Update to version 20211225.
- Changelog:
  https://github.com/rbenv/ruby-build/releases/tag/v20211225
  * Add Ruby 3.1.0.
- Update to version 20211203.
- Changelog v20211203: 
  https://github.com/rbenv/ruby-build/releases/tag/v20211203
  * Add JRuby 9.3.2.0
- Changelog v20211201: 
  https://github.com/rbenv/ruby-build/releases/tag/v20211201
  * Add JRuby 9.2.20.1
- Update to version 20211124.
- Changelog: 
  https://github.com/rbenv/ruby-build/releases/tag/v20211124
  * Add ruby 2.6.9, 2.7.5 and 3.0.3
- Update to version 20211109.
- Replace the source download service with a static source archive
  and a disabled service to update the sources manually.
- Update to v20211019.
- Changelog: 
  https://github.com/rbenv/ruby-build/releases/tag/v20211019
- Enable testing.
- Update to v20210423: changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20210423 
- Update to v2020926 from v20200727. Changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20200926 
- Update to v20200727 from v20200401. Changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20200727
- Update to v20200401 from v20190401. Changelog at:
  https://github.com/rbenv/ruby-build/releases?after=v20200402
- Update to v20181225: changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20181225
- Update to v20180822: changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20180822
- Update to v20180224: changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20180224
- Update to v20171215: changelog at:
  https://github.com/rbenv/ruby-build/releases/tag/v20171226
- update to v20170523
- https://github.com/rbenv/ruby-build/releases/tag/v20170523
- update to v20170201
- https://github.com/rbenv/ruby-build/releases/tag/v20170201
- update to v20170112
- https://github.com/rbenv/ruby-build/releases/tag/v20170112
- update to v20161121
- https://github.com/rbenv/ruby-build/releases/tag/v20161121
- update to v20160602
- https://github.com/rbenv/ruby-build/releases/tag/v20160602
- update to v20151226
- https://github.com/rbenv/ruby-build/releases/tag/v20151226
- add libffi-devel as MRI 2.2.1 does not build with the
  bundled one
- update to v20150303
- update to v20150116
- update to v20141028
- update to v20140110.1
- update to v20131220
- update to v20131008
- update to v20130224
- update to v20121204
- update to v20120524
- update to v20120216
- update to v20111230
- add Url tag
- add curl to Requires
- add ruby MRI BuildRequires to Requires
- add BuildRoot tag
- initial package for v20111030

OBS-URL: https://build.opensuse.org/request/show/985964
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/ruby-build?expand=0&rev=50
2022-06-30 01:14:09 +00:00

82 lines
2.0 KiB
RPMSpec

#
# spec file for package ruby-build
#
# Copyright (c) 2022 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/
#
# SLE does not provide "bats", which is required for testing.
%if %{undefined sle_version}
%bcond_without test
%else
%bcond_with test
%endif
Name: ruby-build
Version: 20220630
Release: 0
BuildArch: noarch
License: MIT
Group: Development/Languages/Ruby
URL: https://github.com/rbenv/ruby-build
Summary: Compile and install Ruby
Source0: https://github.com/rbenv/ruby-build/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: fix-test-requiring-git-repository.patch
%if %{with test}
BuildRequires: bats
%endif
Requires: bash
Requires: curl
Requires: gcc
# ruby MRI BuildRequires
Requires: bison
Requires: automake
Requires: gdbm-devel
Requires: gperf
Requires: graphviz
Requires: libffi-devel
Requires: libjpeg-devel
Requires: openssl-devel
Requires: readline-devel
Requires: tk-devel
%description
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
%prep
%setup -q
%patch0 -p1
%build
%install
PREFIX="%{buildroot}%{_prefix}" ./install.sh
sed -i 's|#!/usr/bin/env bash|#!/bin/bash|g' %{buildroot}%{_bindir}/*
%check
%if %{with test}
bats test
%endif
%files
%license LICENSE
%doc README.md
%{_bindir}/*
%dir %{_datadir}/ruby-build
%{_datadir}/ruby-build/*
%changelog