Sha256: 21af7997f0d3d61537df998ed7f0d9449c07120ca5afd4471ad8bf8e8a994b7f
Contents?: true
Size: 1.64 KB
Versions: 3
Compression:
Stored size: 1.64 KB
Contents
Summary: Ruby for Mu(by) BuildArch: x86_64 Name: muby Version: 3.3.5 Release: 1%{dist} Group: Development/Languages License: Ruby License/GPL - see COPYING URL: http://www.ruby-lang.org/ Prefix: /opt/rubies Source: https://cache.ruby-lang.org/pub/ruby/3.3/ruby-%{version}.tar.gz BuildRequires: zlib BuildRequires: zlib-devel BuildRequires: libyaml BuildRequires: libyaml-devel BuildRequires: openssl %description I was drunk when I wrote this spec file %prep rm -rf $RPM_BUILD_DIR/ruby-%{version} rm -rf %{prefix} test -f $RPM_SOURCE_DIR/ruby-%{version}.tar.gz || ( cd $RPM_SOURCE_DIR && curl -O https://cache.ruby-lang.org/pub/ruby/3.3/ruby-%{version}.tar.gz ) tar -xzvf $RPM_SOURCE_DIR/ruby-%{version}.tar.gz mkdir -p $RPM_BUILD_ROOT%{prefix} ln -s %{prefix}/ruby-%{version} $RPM_BUILD_ROOT%{prefix}/ruby-%{version} %build cd $RPM_BUILD_DIR/ruby-%{version} ./configure --prefix=%{prefix}/ruby-%{version} --enable-load-relative --enable-shared --disable-install-doc make %install cd $RPM_BUILD_DIR/ruby-%{version} make install mkdir -p %{prefix} yes | %{prefix}/ruby-%{version}/bin/gem install bundler --version '~> 2.5.18' --force yes | %{prefix}/ruby-%{version}/bin/gem install psych --force mkdir -p $RPM_BUILD_ROOT%{prefix} mv %{prefix}/ruby-%{version} $RPM_BUILD_ROOT%{prefix}/ mkdir -p $RPM_BUILD_ROOT/usr/local/bin ln -s %{prefix}/ruby-%{version} $RPM_BUILD_ROOT/usr/local/ruby-current mkdir -p /usr/local/bin rm -f $RPM_BUILD_ROOT/usr/local/bin/ruby ln -s /usr/local/ruby-current/bin/ruby $RPM_BUILD_ROOT/usr/local/bin/ruby %clean cd $RPM_BUILD_DIR/ruby-%{version} make clean %files %{prefix}/ruby-%{version}/* /usr/local/ruby-current /usr/local/bin/ruby
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cloud-mu-3.6.5 | extras/ruby_rpm/muby.spec |
cloud-mu-3.6.4 | extras/ruby_rpm/muby.spec |
cloud-mu-3.6.3 | extras/ruby_rpm/muby.spec |