├── scripts └── build-rpm.sh ├── .github └── workflows │ └── push-docker-image.yml ├── Dockerfile-7 ├── README.md ├── .circleci ├── update-spec.sh ├── github-release.sh └── config.yml ├── ruby-2.6.spec ├── ruby-3.0.spec ├── ruby-2.7.spec ├── ruby-3.1.spec └── ruby-3.2.spec /scripts/build-rpm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -xeu 4 | 5 | RUBY_X_Y_VERSION=$1 6 | SPEC_FILE=ruby-${RUBY_X_Y_VERSION}.spec 7 | RUBY_X_Y_Z_VERSION=$(grep '^Version: ' ~/ruby-rpm/${SPEC_FILE} | awk '{ print $NF }') 8 | ARCH=$(uname -m) 9 | 10 | cp ~/ruby-rpm/${SPEC_FILE} ~/rpmbuild/SPECS/ 11 | 12 | cd ~/rpmbuild/SOURCES 13 | curl -LO https://cache.ruby-lang.org/pub/ruby/${RUBY_X_Y_VERSION}/ruby-${RUBY_X_Y_Z_VERSION}.tar.gz 14 | 15 | rpmbuild -ba ~/rpmbuild/SPECS/${SPEC_FILE} 16 | 17 | DEST_DIR=/tmp/ruby-${RUBY_X_Y_VERSION}-rpm 18 | mkdir -p ${DEST_DIR} 19 | cp ~/rpmbuild/RPMS/${ARCH}/* ${DEST_DIR} 20 | cp ~/rpmbuild/SRPMS/* ${DEST_DIR} 21 | -------------------------------------------------------------------------------- /.github/workflows/push-docker-image.yml: -------------------------------------------------------------------------------- 1 | name: push-docker-image 2 | on: 3 | workflow_dispatch: 4 | jobs: 5 | push-docker-image: 6 | runs-on: ubuntu-latest 7 | permissions: 8 | contents: read 9 | packages: write 10 | env: 11 | REGISTRY: ghcr.io 12 | IMAGE_NAME: ${{ github.repository }} 13 | steps: 14 | - uses: actions/checkout@v3 15 | - uses: docker/login-action@v2 16 | with: 17 | registry: ${{ env.REGISTRY }} 18 | username: ${{ github.actor }} 19 | password: ${{ github.token }} 20 | - uses: docker/setup-buildx-action@v2 21 | - uses: docker/build-push-action@v4 22 | with: 23 | file: ./Dockerfile-7 24 | target: base 25 | tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:centos7 26 | platforms: linux/amd64,linux/arm64 27 | push: true 28 | # See: https://github.com/community/community/discussions/45969 29 | provenance: false 30 | -------------------------------------------------------------------------------- /Dockerfile-7: -------------------------------------------------------------------------------- 1 | # 2 | # base image 3 | # 4 | 5 | FROM centos:7 AS base 6 | MAINTAINER feedforce Inc. 7 | 8 | # setup 9 | RUN yum install -y rpm-build tar make 10 | 11 | # ruby depends 12 | RUN yum -y install readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel libyaml-devel libffi-devel zlib-devel 13 | 14 | # 15 | # builder image 16 | # 17 | 18 | FROM base AS builder 19 | 20 | ARG RUBY_X_Y_VERSION 21 | 22 | # rpmbuild command recommends to use `builder:builder` as user:group. 23 | RUN useradd -u 1000 builder 24 | 25 | RUN mkdir -p /home/builder/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} 26 | RUN mkdir -p /home/builder/ruby-rpm 27 | RUN chown -R builder:builder /home/builder/rpmbuild 28 | RUN chown -R builder:builder /home/builder/ruby-rpm 29 | 30 | WORKDIR /home/builder/ruby-rpm 31 | USER builder 32 | 33 | COPY . /home/builder/ruby-rpm/ 34 | RUN /home/builder/ruby-rpm/scripts/build-rpm.sh $RUBY_X_Y_VERSION 35 | 36 | # 37 | # tester image 38 | # 39 | 40 | FROM base AS tester 41 | 42 | ARG RUBY_X_Y_VERSION 43 | 44 | COPY --from=builder /tmp/ruby-$RUBY_X_Y_VERSION-rpm /tmp/ruby-$RUBY_X_Y_VERSION-rpm 45 | RUN yum install -y /tmp/ruby-$RUBY_X_Y_VERSION-rpm/ruby-$RUBY_X_Y_VERSION.*.$(uname -m).rpm 46 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![CircleCI](https://circleci.com/gh/feedforce/ruby-rpm.svg?style=shield)](https://circleci.com/gh/feedforce/ruby-rpm) 2 | 3 | # What is this spec? 4 | 5 | Forked from hansode's ruby-2.1.x-rpm project at https://github.com/hansode/ruby-2.1.x-rpm and updated for 2.2.2. 6 | 7 | # build SRPM and RPM 8 | 9 | It's Simple. 10 | 11 | 1. Create your feature branch named `ruby-{major}.{minor}.{patch}` (e.g ruby-2.2.4) 12 | 2. Edit `ruby-{major}.{minor}.spec` 13 | - Change value of `Version` 14 | - Add Changelog 15 | 3. Push to the branch. 16 | 4. Create a Pull request. 17 | 5. When the Pull request is merged, CircleCI will release ruby rpms to https://github.com/feedforce/ruby-rpm/releases . 18 | 19 | ## Automation 20 | 21 | We create a Pull Request automatically using CircleCI. 22 | 23 | # About Docker Image 24 | 25 | This project uses Docker to build RPMs. 26 | 27 | The Docker images are hosted at [GitHub Container Registry (ghcr.io)](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry). 28 | 29 | - For CentOS 7: `ghcr.io/feedforce/ruby-rpm:centos7` 30 | 31 | ## How to build and push Docker image 32 | 33 | Build and push Docker image to ghcr.io from GitHub Actions. 34 | 35 | ### Manually 36 | 37 | Currently, only manual execution using the workflow_dispatch event is supported. 38 | 39 | 1. Open https://github.com/feedforce/ruby-rpm/actions/workflows/push-docker-image.yml 40 | 1. Run workflow with master branch 41 | 1. Wait until workflow succeededs 42 | 1. Open https://github.com/feedforce/ruby-rpm/pkgs/container/ruby-rpm 43 | 1. Check that a new image has been pushed 44 | -------------------------------------------------------------------------------- /.circleci/update-spec.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -xeu 4 | 5 | cd $(dirname $0)/.. 6 | 7 | for f in $(ls -1 ruby-*.spec) 8 | do 9 | ruby_x_y_version=$(basename $f .spec | cut -d '-' -f 2) 10 | ruby_x_y_z_version=$(curl https://cache.ruby-lang.org/pub/ruby/${ruby_x_y_version}/ \ 11 | | grep "ruby-${ruby_x_y_version}.*.tar.gz" | sort | tail -1 \ 12 | | sed -E 's/.*ruby-([0-9]+\.[0-9]+\.[0-9]+)\.tar\.gz.*/\1/') 13 | 14 | if [[ ${ruby_x_y_z_version} != ${ruby_x_y_version}.* ]] 15 | then 16 | echo "Can't detect newest Ruby version." 17 | continue 18 | fi 19 | 20 | if grep -q "^Version: ${ruby_x_y_z_version}\$" $f 21 | then 22 | echo "SPEC file is up to date." 23 | continue 24 | fi 25 | 26 | message="* $(date +'%a %b %d %Y') ${CHANGELOG_AUTHOR} - ${ruby_x_y_z_version}\\n- Update ruby version to ${ruby_x_y_z_version}" 27 | sed -i "s/^Version: .*\$/Version: ${ruby_x_y_z_version}/" $f 28 | sed -i "/^%changelog/a \\\n${message}" $f 29 | 30 | git config --global user.email "${GIT_CONFIG_USER_EMAIL}" 31 | git config --global user.name "${GIT_CONFIG_USER_NAME}" 32 | 33 | branch=ruby-${ruby_x_y_z_version} 34 | 35 | if git branch -a | grep -q remotes/origin/${branch} 36 | then 37 | echo "PR branch `${branch}` exists." 38 | continue 39 | fi 40 | 41 | git checkout -b ${branch} ${CIRCLE_BRANCH} 42 | git add $f 43 | git commit -m "feat: bump up Ruby to ${ruby_x_y_z_version}". 44 | git push origin ${branch} 45 | 46 | curl --fail \ 47 | -H "Accept: application/vnd.github.v3+json" \ 48 | -H "Authorization: token ${GITHUB_TOKEN}" \ 49 | -d "{\"title\": \"${branch}\", \"head\":\"${branch}\", \"base\":\"${CIRCLE_BRANCH}\", \"body\":\"Check for [News](https://www.ruby-lang.org/en/news/).\" }" \ 50 | https://api.github.com/repos/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/pulls 51 | done 52 | -------------------------------------------------------------------------------- /.circleci/github-release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -xe 4 | 5 | RUBY_VERSION=$(grep '^Version: ' ruby-${1}.spec | awk '{ print $NF }') 6 | 7 | need_to_release() { 8 | http_code=$(curl -sL -w "%{http_code}\\n" https://github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/releases/tag/${RUBY_VERSION} -o /dev/null) 9 | test $http_code = "404" 10 | } 11 | 12 | get_github_release() { 13 | version=v0.10.0 14 | wget https://github.com/github-release/github-release/releases/download/${version}/linux-amd64-github-release.bz2 15 | bzip2 -d linux-amd64-github-release.bz2 16 | chmod +x linux-amd64-github-release 17 | mkdir -p $HOME/bin 18 | mv linux-amd64-github-release $HOME/bin/github-release 19 | } 20 | 21 | if ! need_to_release; then 22 | echo "$CIRCLE_PROJECT_REPONAME $RUBY_VERSION has already released." 23 | exit 0 24 | fi 25 | 26 | get_github_release 27 | cp $CIRCLE_ARTIFACTS/*.rpm . 28 | 29 | # 30 | # Create a release page 31 | # 32 | 33 | $HOME/bin/github-release release \ 34 | --user $CIRCLE_PROJECT_USERNAME \ 35 | --repo $CIRCLE_PROJECT_REPONAME \ 36 | --tag $RUBY_VERSION \ 37 | --name "Ruby-${RUBY_VERSION}" \ 38 | --description "not release" \ 39 | --target master 40 | 41 | # Wait a few seconds after create release to avoid to error `could not find the release corresponding to tag ...`. 42 | sleep 5 43 | 44 | # 45 | # Upload rpm files and build a release note 46 | # 47 | 48 | print_rpm_markdown() { 49 | RPM_FILE=$1 50 | cat < description.md 66 | Use at your own risk! 67 | 68 | Build on CentOS 7 69 | 70 | EOS 71 | 72 | # CentOS 7 73 | for i in *.el7.centos.*.rpm; do 74 | print_rpm_markdown $i >> description.md 75 | upload_rpm $i 76 | done 77 | 78 | # 79 | # Make the release note to complete! 80 | # 81 | 82 | $HOME/bin/github-release edit \ 83 | --user $CIRCLE_PROJECT_USERNAME \ 84 | --repo $CIRCLE_PROJECT_REPONAME \ 85 | --tag $RUBY_VERSION \ 86 | --name "Ruby-${RUBY_VERSION}" \ 87 | --description "$(cat description.md)" 88 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2.1 2 | 3 | # ## Workflows 4 | # 5 | # ### Contiunous Ruby Update 6 | # 7 | # 1. Check the newest Ruby (scheduled) 8 | # 1. If a new Ruby found, create a new Pull Request 9 | # - Created branch is named `ruby-{major}.{minor}.{patch}` 10 | # - After git push, CircleCI trigger default workflow 11 | # 12 | # ### Default workflow 13 | # 14 | # NOTE: Start workflow only if branch name matches `master` or `ruby-*`. 15 | # 16 | # 1. Build Ruby RPM 17 | # 1. Test Ruby RPM 18 | # 1. Deploy Ruby RPM if the branch is `master` 19 | # 20 | # ## ENV (CircleCI) 21 | # 22 | # | Name | Description | Example | 23 | # | ----------------------- | ---------------------------------------- | ---------------------------------------------------- | 24 | # | `GITHUB_TOKEN` | GitHub API Token to use to create PR. | "" | 25 | # | `GIT_CONFIG_USER_EMAIL` | Email address to use git commit message. | "technical_staff@feedforce.jp" | 26 | # | `GIT_CONFIG_USER_NAME` | User name to use git commit message. | "feedforce tech team" | 27 | # | `CHANGELOG_AUTHOR` | Author to write SPEC changelog. | "feedforce tech team " | 28 | # 29 | # ## Usage 30 | # 31 | # ### To add a new Ruby version 32 | # 33 | # 1. Add a new SPEC file as `ruby-{major}.{minor}.spec` to repository 34 | # 1. Add jobs of a new Ruby version to workflows in `.circleci/config.yml` 35 | # 36 | 37 | executors: 38 | amd64: 39 | machine: 40 | image: ubuntu-2004:202104-01 41 | environment: 42 | DOCKER_BUILDKIT: 1 43 | 44 | arm64: 45 | machine: 46 | image: ubuntu-2004:202104-01 47 | environment: 48 | DOCKER_BUILDKIT: 1 49 | resource_class: arm.medium 50 | 51 | jobs: 52 | build_and_test: 53 | parameters: 54 | version: 55 | description: Ruby version (e.g. 2.5) 56 | type: enum 57 | enum: 58 | - "2.6" 59 | - "2.7" 60 | - "3.0" 61 | - "3.1" 62 | - "3.2" 63 | arch: 64 | type: enum 65 | enum: 66 | - "amd64" 67 | - "arm64" 68 | executor: << parameters.arch >> 69 | working_directory: ~/ruby-rpm 70 | steps: 71 | - checkout 72 | - run: 73 | name: "Build Docker image for Ruby RPM << parameters.version >>" 74 | command: | 75 | docker build \ 76 | -t feedforce/ruby-rpm:<< parameters.version >>-builder \ 77 | -f Dockerfile-7 \ 78 | --target builder \ 79 | --cache-from=ghcr.io/feedforce/ruby-rpm:centos7 \ 80 | --build-arg RUBY_X_Y_VERSION=<< parameters.version >> \ 81 | --progress plain \ 82 | . 83 | - run: 84 | name: "Extract RPM file from Docker container" 85 | command: | 86 | CONTAINER_ID=$(docker create feedforce/ruby-rpm:<< parameters.version >>-builder) 87 | docker cp ${CONTAINER_ID}:/tmp/ruby-<< parameters.version >>-rpm/ /tmp/ 88 | - store_artifacts: 89 | path: "/tmp/ruby-<< parameters.version >>-rpm" 90 | destination: "ruby-<< parameters.version >>-rpm" 91 | - run: 92 | name: "Build Docker image to install Ruby RPM << parameters.version >>" 93 | command: | 94 | docker build \ 95 | -t feedforce/ruby-rpm:<< parameters.version >>-tester \ 96 | -f Dockerfile-7 \ 97 | --target tester \ 98 | --cache-from=ghcr.io/feedforce/ruby-rpm:<< parameters.version >>-builder \ 99 | --build-arg RUBY_X_Y_VERSION=<< parameters.version >> \ 100 | --progress plain \ 101 | . 102 | - run: 103 | name: "Run Ruby << parameters.version >>" 104 | command: | 105 | docker run -it feedforce/ruby-rpm:<< parameters.version >>-tester \ 106 | ruby -v -e 'puts File.read("/etc/centos-release")' 107 | - run: 108 | name: "Uninstall Ruby RPM << parameters.version >>" 109 | command: | 110 | docker run -it feedforce/ruby-rpm:<< parameters.version >>-tester \ 111 | yum remove -y ruby 112 | # Avoid "Concurrent upstream jobs persisted the same file(s)" error in attach_workspace 113 | # see https://app.circleci.com/pipelines/github/feedforce/ruby-rpm/10839/workflows/830b00e7-ebb9-49c4-b363-805085c2a47b/jobs/23143 114 | - when: 115 | condition: 116 | equal: [ << parameters.arch >>, arm64 ] 117 | steps: 118 | - run: 119 | name: "Delete SRPM file only arm64" 120 | command: | 121 | rm /tmp/ruby-<< parameters.version >>-rpm/ruby-*.el7.src.rpm 122 | - persist_to_workspace: 123 | root: "/tmp/ruby-<< parameters.version >>-rpm" 124 | paths: 125 | - ./* 126 | 127 | deploy: 128 | parameters: 129 | version: 130 | description: Ruby version (e.g. 2.5) 131 | type: enum 132 | enum: 133 | - "2.6" 134 | - "2.7" 135 | - "3.0" 136 | - "3.1" 137 | - "3.2" 138 | docker: 139 | - image: cimg/base:stable 140 | environment: 141 | CIRCLE_ARTIFACTS: "/tmp/ruby-<< parameters.version >>-rpm" 142 | working_directory: ~/ruby-rpm 143 | steps: 144 | - checkout 145 | - attach_workspace: 146 | at: "/tmp/ruby-<< parameters.version >>-rpm" 147 | - run: 148 | name: "List Ruby RPM files" 149 | command: ls -l /tmp/ruby-<< parameters.version >>-rpm/ 150 | # Workaround to keep backward compatibility for RPM file name 151 | # see https://github.com/feedforce/ruby-rpm/pull/63 152 | - run: 153 | name: "Rename Ruby RPM files" 154 | command: | 155 | for f in /tmp/ruby-<< parameters.version >>-rpm/*.el7.*.rpm; do 156 | mv "${f}" $(echo "${f}" | sed "s/\.el7\./\.el7\.centos\./") 157 | done 158 | - run: 159 | name: "List Ruby RPM files" 160 | command: ls -l /tmp/ruby-<< parameters.version >>-rpm/ 161 | - deploy: 162 | name: "Deploy Ruby RPM << parameters.version >>" 163 | command: "./.circleci/github-release.sh << parameters.version >>" 164 | 165 | update: 166 | docker: 167 | - image: cimg/base:stable 168 | working_directory: ~/ruby-rpm 169 | steps: 170 | - checkout 171 | - run: 172 | name: Update SPEC files 173 | command: ./.circleci/update-spec.sh 174 | 175 | workflows: 176 | version: 2 177 | default: 178 | jobs: 179 | - build_and_test: 180 | name: ruby-<< matrix.version >>-centos7-<< matrix.arch >>-build-and-test 181 | matrix: 182 | parameters: 183 | version: ["2.6", "2.7", "3.0", "3.1", "3.2"] 184 | arch: ["amd64", "arm64"] 185 | - deploy: 186 | name: ruby-<< matrix.version >>-deploy 187 | matrix: 188 | parameters: 189 | version: ["2.6", "2.7", "3.0", "3.1", "3.2"] 190 | requires: 191 | - ruby-<< matrix.version >>-centos7-amd64-build-and-test 192 | - ruby-<< matrix.version >>-centos7-arm64-build-and-test 193 | filters: 194 | branches: 195 | only: 196 | - master 197 | 198 | continuous_update: 199 | triggers: 200 | - schedule: 201 | cron: "0 * * * *" 202 | filters: 203 | branches: 204 | only: 205 | - master 206 | jobs: 207 | - update 208 | -------------------------------------------------------------------------------- /ruby-2.6.spec: -------------------------------------------------------------------------------- 1 | Name: ruby 2 | Version: 2.6.9 3 | Release: 1%{?dist} 4 | License: Ruby License/GPL - see COPYING 5 | URL: http://www.ruby-lang.org/ 6 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 | Requires: readline ncurses gdbm glibc openssl libyaml libffi zlib 8 | BuildRequires: readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel make libyaml-devel libffi-devel zlib-devel 9 | Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz 10 | Summary: An interpreter of object-oriented scripting language 11 | Group: Development/Languages 12 | Provides: ruby(abi) = 2.6 13 | Provides: ruby-irb 14 | Provides: ruby-rdoc 15 | Provides: ruby-libs 16 | Provides: ruby-devel 17 | Provides: rubygems 18 | Obsoletes: ruby < %{version} 19 | Obsoletes: ruby-devel < %{version} 20 | Obsoletes: ruby-irb < %{version} 21 | Obsoletes: ruby-libs < %{version} 22 | Obsoletes: rubygem-bigdecimal 23 | Obsoletes: rubygem-io-console 24 | Obsoletes: rubygem-json 25 | Obsoletes: rubygem-psych 26 | Obsoletes: rubygem-rdoc 27 | Obsoletes: rubygems 28 | 29 | %description 30 | Ruby is the interpreted scripting language for quick and easy 31 | object-oriented programming. It has many features to process text 32 | files and to do system management tasks (as in Perl). It is simple, 33 | straight-forward, and extensible. 34 | 35 | %prep 36 | %setup -n ruby-%{version} 37 | 38 | %build 39 | export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -std=gnu99" 40 | 41 | %configure \ 42 | --enable-shared \ 43 | --disable-rpath \ 44 | --without-X11 \ 45 | --includedir=%{_includedir}/ruby \ 46 | --libdir=%{_libdir} 47 | 48 | make %{?_smp_mflags} 49 | 50 | %install 51 | # installing binaries ... 52 | make install DESTDIR=$RPM_BUILD_ROOT 53 | 54 | #we don't want to keep the src directory 55 | rm -rf $RPM_BUILD_ROOT/usr/src 56 | 57 | %clean 58 | rm -rf $RPM_BUILD_ROOT 59 | 60 | %files 61 | %defattr(-, root, root) 62 | %{_bindir}/* 63 | %{_includedir}/* 64 | %{_datadir}/* 65 | %{_libdir}/* 66 | 67 | %changelog 68 | 69 | * Wed Nov 24 2021 feedforce tech team - 2.6.9 70 | - Update ruby version to 2.6.9 71 | 72 | * Wed Jul 07 2021 feedforce tech team - 2.6.8 73 | - Update ruby version to 2.6.8 74 | 75 | * Mon Apr 05 2021 feedforce tech team - 2.6.7 76 | - Update ruby version to 2.6.7 77 | 78 | * Wed Apr 01 2020 feedforce tech team - 2.6.6 79 | - Update ruby version to 2.6.6 80 | 81 | * Tue Oct 01 2019 feedforce tech team - 2.6.5 82 | - Update ruby version to 2.6.5 83 | 84 | * Wed Aug 28 2019 feedforce tech team - 2.6.4 85 | - Update ruby version to 2.6.4 86 | 87 | * Wed Apr 17 2019 feedforce tech team - 2.6.3 88 | - Update ruby version to 2.6.3 89 | 90 | * Wed Mar 13 2019 feedforce tech team - 2.6.2 91 | - Update ruby version to 2.6.2 92 | 93 | * Wed Jan 30 2019 feedforce tech team - 2.6.1 94 | - Update ruby version to 2.6.1 95 | 96 | * Tue Dec 25 2018 feedforce tech team - 2.6.0 97 | - Update ruby version to 2.6.0 98 | 99 | * Fri Oct 19 2018 Masataka Suzuki - 2.5.3 100 | - Update ruby version to 2.5.3 101 | 102 | * Thu Oct 18 2018 Masataka Suzuki - 2.5.2 103 | - Update ruby version to 2.5.2 104 | 105 | * Thu Mar 29 2018 Masataka Suzuki - 2.5.1 106 | - Update ruby version to 2.5.1 107 | 108 | * Mon Dec 25 2017 Takashi Masuda - 2.5.0 109 | - Update ruby version to 2.5.0 110 | 111 | * Fri Dec 15 2017 Masataka Suzuki - 2.4.3 112 | - Update ruby version to 2.4.3 113 | 114 | * Fri Sep 15 2017 Masataka Suzuki - 2.4.2 115 | - Update ruby version to 2.4.2 116 | 117 | * Thu Mar 23 2017 Masataka Suzuki - 2.4.1 118 | - Update ruby version to 2.4.1 119 | 120 | * Mon Dec 26 2016 Takashi Masuda - 2.4.0 121 | - Update ruby version to 2.4.0 122 | 123 | * Tue Nov 22 2016 Masato Tanaka - 2.3.3 124 | - Update ruby version to 2.3.3 125 | 126 | * Wed Nov 16 2016 Masato Tanaka - 2.3.2 127 | - Update ruby version to 2.3.2 128 | 129 | * Tue Apr 26 2016 Takashi Masuda - 2.3.1 130 | - Update ruby version to 2.3.1 131 | 132 | * Tue Dec 25 2015 Masato Tanaka - 2.3.0 133 | - Update ruby version to 2.3.0 134 | 135 | * Tue Dec 17 2015 Masato Tanaka - 2.2.4 136 | - Update ruby version to 2.2.4 137 | 138 | * Tue Aug 19 2015 Masato Tanaka - 2.2.3 139 | - Update ruby version to 2.2.3 140 | 141 | * Tue Apr 14 2015 Takashi Masuda - 2.2.2 142 | - Update ruby version to 2.2.2 143 | 144 | * Wed Mar 4 2015 Shota Miyamoto - 2.2.1 145 | - Update ruby version to 2.2.1 146 | 147 | * Fri Dec 26 2014 Kenta ONISHI - 2.2.0 148 | - Version bumped to 2.2.0 149 | 150 | * Fri Nov 14 2014 Takashi Masuda - 2.1.5 151 | - Update ruby version to 2.1.5 152 | - Remove dependency unzip 153 | 154 | * Wed Nov 5 2014 Takashi Masuda - 2.1.4-2 155 | - Remove dependency db4 and db4-devel 156 | 157 | * Fri Oct 31 2014 Takashi Masuda - 2.1.4 158 | - Update ruby version to 2.1.4 159 | 160 | * Wed Oct 29 2014 Takashi Masuda - 2.1.2 161 | - Remove dependencies on tcl-devel and byacc 162 | 163 | * Fri May 9 2014 Masahito Yoshida - 2.1.2 164 | - Update ruby version to 2.1.2 165 | 166 | * Thu Dec 26 2013 Masahito Yoshida - 2.1.0 167 | - Update ruby version to 2.1.0 168 | 169 | * Sat Nov 23 2013 Masahito Yoshida - 2.0.0-p353 170 | - Update ruby version to 2.0.0-p353 171 | 172 | * Tue Jul 2 2013 Masahito Yoshida - 2.0.0-p247 173 | - Update ruby version to 2.0.0-p247 174 | 175 | * Sun May 19 2013 Masahito Yoshida - 2.0.0-p195 176 | - Update ruby version to 2.0.0-p195 177 | 178 | * Sat Mar 23 2013 Masahito Yoshida - 2.0.0-p0 179 | - Update ruby version to 2.0.0-p0 180 | 181 | * Sun Feb 24 2013 Masahito Yoshida - 1.9.3-p392 182 | - Update ruby version to 1.9.3-p392 183 | 184 | * Tue Jan 29 2013 Carlos Villela - 1.9.3-p374 185 | - Update ruby version to 1.9.3-p374 186 | 187 | * Tue Jan 15 2013 Carlos Villela - 1.9.3-p362 188 | - Update ruby version to 1.9.3-p362 189 | 190 | * Thu Nov 15 2012 Rajat Vig - 1.9.3-p327 191 | - Update ruby version to 1.9.3-p327 192 | 193 | * Mon Oct 22 2012 Carlos Villela - 1.9.3-p286 194 | - Update ruby version to 1.9.3-p286 195 | 196 | * Wed Jul 4 2012 Carlos Villela - 1.9.3-p194 197 | - Update ruby version to 1.9.3-p194 198 | 199 | * Wed Jan 18 2012 Mandi Walls - 1.9.3-p0 200 | - Update ruby version to 1.9.3-p0 201 | 202 | * Mon Aug 29 2011 Gregory Graf - 1.9.2-p290 203 | - Update ruby version to 1.9.2-p290 204 | 205 | * Sat Jun 25 2011 Ian Meyer - 1.9.2-p180-2 206 | - Remove non-existant --sitearchdir and --vedorarchdir from %configure 207 | - Replace --sitedir --vendordir with simpler --libdir 208 | - Change %{_prefix}/share to %{_datadir} 209 | 210 | * Mon Mar 7 2011 Robert Duncan - 1.9.2-p180-1 211 | - Update prerequisites to include make 212 | - Update ruby version to 1.9.2-p180 213 | - Install /usr/share documentation 214 | - (Hopefully!?) platform agnostic 215 | 216 | * Sun Jan 2 2011 Ian Meyer - 1.9.2-p136-1 217 | - Initial spec to replace system ruby with 1.9.2-p136 218 | -------------------------------------------------------------------------------- /ruby-3.0.spec: -------------------------------------------------------------------------------- 1 | Name: ruby 2 | Version: 3.0.4 3 | Release: 1%{?dist} 4 | License: Ruby License/GPL - see COPYING 5 | URL: http://www.ruby-lang.org/ 6 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 | AutoReqProv: no 8 | Requires: readline ncurses gdbm glibc openssl libyaml libffi zlib 9 | BuildRequires: readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel make libyaml-devel libffi-devel zlib-devel 10 | Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz 11 | Summary: An interpreter of object-oriented scripting language 12 | Group: Development/Languages 13 | Provides: ruby(abi) = 3.0 14 | Provides: ruby-irb 15 | Provides: ruby-rdoc 16 | Provides: ruby-libs 17 | Provides: ruby-devel 18 | Provides: rubygems 19 | Obsoletes: ruby < %{version} 20 | Obsoletes: ruby-devel < %{version} 21 | Obsoletes: ruby-irb < %{version} 22 | Obsoletes: ruby-libs < %{version} 23 | Obsoletes: rubygem-bigdecimal 24 | Obsoletes: rubygem-io-console 25 | Obsoletes: rubygem-json 26 | Obsoletes: rubygem-psych 27 | Obsoletes: rubygem-rdoc 28 | Obsoletes: rubygems 29 | 30 | %description 31 | Ruby is the interpreted scripting language for quick and easy 32 | object-oriented programming. It has many features to process text 33 | files and to do system management tasks (as in Perl). It is simple, 34 | straight-forward, and extensible. 35 | 36 | %prep 37 | %setup -n ruby-%{version} 38 | 39 | %build 40 | export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -std=gnu99" 41 | 42 | %configure \ 43 | --enable-shared \ 44 | --disable-rpath \ 45 | --without-X11 \ 46 | --includedir=%{_includedir}/ruby \ 47 | --libdir=%{_libdir} 48 | 49 | make %{?_smp_mflags} 50 | 51 | %install 52 | # installing binaries ... 53 | make install DESTDIR=$RPM_BUILD_ROOT 54 | 55 | #we don't want to keep the src directory 56 | rm -rf $RPM_BUILD_ROOT/usr/src 57 | 58 | %clean 59 | rm -rf $RPM_BUILD_ROOT 60 | 61 | %files 62 | %defattr(-, root, root) 63 | %{_bindir}/* 64 | %{_includedir}/* 65 | %{_datadir}/* 66 | %{_libdir}/* 67 | 68 | %changelog 69 | 70 | * Tue Apr 12 2022 feedforce tech team - 3.0.4 71 | - Update ruby version to 3.0.4 72 | 73 | * Wed Nov 24 2021 feedforce tech team - 3.0.3 74 | - Update ruby version to 3.0.3 75 | 76 | * Wed Jul 07 2021 feedforce tech team - 3.0.2 77 | - Update ruby version to 3.0.2 78 | 79 | * Wed Apr 07 2021 feedforce tech team - 3.0.1 80 | - Update ruby version to 3.0.1 81 | 82 | * Wed Apr 07 2021 Tsubasa Takayama - 3.0.0 83 | - Update ruby version to 3.0.0 84 | 85 | * Mon Apr 05 2021 feedforce tech team - 2.7.3 86 | - Update ruby version to 2.7.3 87 | 88 | * Fri Oct 02 2020 feedforce tech team - 2.7.2 89 | - Update ruby version to 2.7.2 90 | 91 | * Wed Apr 01 2020 feedforce tech team - 2.7.1 92 | - Update ruby version to 2.7.1 93 | 94 | * Thu Jan 02 2020 Mike MacDonald - 2.7.0 95 | - Update ruby version to 2.7.0 96 | 97 | * Tue Oct 01 2019 feedforce tech team - 2.6.5 98 | - Update ruby version to 2.6.5 99 | 100 | * Wed Aug 28 2019 feedforce tech team - 2.6.4 101 | - Update ruby version to 2.6.4 102 | 103 | * Wed Apr 17 2019 feedforce tech team - 2.6.3 104 | - Update ruby version to 2.6.3 105 | 106 | * Wed Mar 13 2019 feedforce tech team - 2.6.2 107 | - Update ruby version to 2.6.2 108 | 109 | * Wed Jan 30 2019 feedforce tech team - 2.6.1 110 | - Update ruby version to 2.6.1 111 | 112 | * Tue Dec 25 2018 feedforce tech team - 2.6.0 113 | - Update ruby version to 2.6.0 114 | 115 | * Fri Oct 19 2018 Masataka Suzuki - 2.5.3 116 | - Update ruby version to 2.5.3 117 | 118 | * Thu Oct 18 2018 Masataka Suzuki - 2.5.2 119 | - Update ruby version to 2.5.2 120 | 121 | * Thu Mar 29 2018 Masataka Suzuki - 2.5.1 122 | - Update ruby version to 2.5.1 123 | 124 | * Mon Dec 25 2017 Takashi Masuda - 2.5.0 125 | - Update ruby version to 2.5.0 126 | 127 | * Fri Dec 15 2017 Masataka Suzuki - 2.4.3 128 | - Update ruby version to 2.4.3 129 | 130 | * Fri Sep 15 2017 Masataka Suzuki - 2.4.2 131 | - Update ruby version to 2.4.2 132 | 133 | * Thu Mar 23 2017 Masataka Suzuki - 2.4.1 134 | - Update ruby version to 2.4.1 135 | 136 | * Mon Dec 26 2016 Takashi Masuda - 2.4.0 137 | - Update ruby version to 2.4.0 138 | 139 | * Tue Nov 22 2016 Masato Tanaka - 2.3.3 140 | - Update ruby version to 2.3.3 141 | 142 | * Wed Nov 16 2016 Masato Tanaka - 2.3.2 143 | - Update ruby version to 2.3.2 144 | 145 | * Tue Apr 26 2016 Takashi Masuda - 2.3.1 146 | - Update ruby version to 2.3.1 147 | 148 | * Tue Dec 25 2015 Masato Tanaka - 2.3.0 149 | - Update ruby version to 2.3.0 150 | 151 | * Tue Dec 17 2015 Masato Tanaka - 2.2.4 152 | - Update ruby version to 2.2.4 153 | 154 | * Tue Aug 19 2015 Masato Tanaka - 2.2.3 155 | - Update ruby version to 2.2.3 156 | 157 | * Tue Apr 14 2015 Takashi Masuda - 2.2.2 158 | - Update ruby version to 2.2.2 159 | 160 | * Wed Mar 4 2015 Shota Miyamoto - 2.2.1 161 | - Update ruby version to 2.2.1 162 | 163 | * Fri Dec 26 2014 Kenta ONISHI - 2.2.0 164 | - Version bumped to 2.2.0 165 | 166 | * Fri Nov 14 2014 Takashi Masuda - 2.1.5 167 | - Update ruby version to 2.1.5 168 | - Remove dependency unzip 169 | 170 | * Wed Nov 5 2014 Takashi Masuda - 2.1.4-2 171 | - Remove dependency db4 and db4-devel 172 | 173 | * Fri Oct 31 2014 Takashi Masuda - 2.1.4 174 | - Update ruby version to 2.1.4 175 | 176 | * Wed Oct 29 2014 Takashi Masuda - 2.1.2 177 | - Remove dependencies on tcl-devel and byacc 178 | 179 | * Fri May 9 2014 Masahito Yoshida - 2.1.2 180 | - Update ruby version to 2.1.2 181 | 182 | * Thu Dec 26 2013 Masahito Yoshida - 2.1.0 183 | - Update ruby version to 2.1.0 184 | 185 | * Sat Nov 23 2013 Masahito Yoshida - 2.0.0-p353 186 | - Update ruby version to 2.0.0-p353 187 | 188 | * Tue Jul 2 2013 Masahito Yoshida - 2.0.0-p247 189 | - Update ruby version to 2.0.0-p247 190 | 191 | * Sun May 19 2013 Masahito Yoshida - 2.0.0-p195 192 | - Update ruby version to 2.0.0-p195 193 | 194 | * Sat Mar 23 2013 Masahito Yoshida - 2.0.0-p0 195 | - Update ruby version to 2.0.0-p0 196 | 197 | * Sun Feb 24 2013 Masahito Yoshida - 1.9.3-p392 198 | - Update ruby version to 1.9.3-p392 199 | 200 | * Tue Jan 29 2013 Carlos Villela - 1.9.3-p374 201 | - Update ruby version to 1.9.3-p374 202 | 203 | * Tue Jan 15 2013 Carlos Villela - 1.9.3-p362 204 | - Update ruby version to 1.9.3-p362 205 | 206 | * Thu Nov 15 2012 Rajat Vig - 1.9.3-p327 207 | - Update ruby version to 1.9.3-p327 208 | 209 | * Mon Oct 22 2012 Carlos Villela - 1.9.3-p286 210 | - Update ruby version to 1.9.3-p286 211 | 212 | * Wed Jul 4 2012 Carlos Villela - 1.9.3-p194 213 | - Update ruby version to 1.9.3-p194 214 | 215 | * Wed Jan 18 2012 Mandi Walls - 1.9.3-p0 216 | - Update ruby version to 1.9.3-p0 217 | 218 | * Mon Aug 29 2011 Gregory Graf - 1.9.2-p290 219 | - Update ruby version to 1.9.2-p290 220 | 221 | * Sat Jun 25 2011 Ian Meyer - 1.9.2-p180-2 222 | - Remove non-existant --sitearchdir and --vedorarchdir from %configure 223 | - Replace --sitedir --vendordir with simpler --libdir 224 | - Change %{_prefix}/share to %{_datadir} 225 | 226 | * Mon Mar 7 2011 Robert Duncan - 1.9.2-p180-1 227 | - Update prerequisites to include make 228 | - Update ruby version to 1.9.2-p180 229 | - Install /usr/share documentation 230 | - (Hopefully!?) platform agnostic 231 | 232 | * Sun Jan 2 2011 Ian Meyer - 1.9.2-p136-1 233 | - Initial spec to replace system ruby with 1.9.2-p136 234 | -------------------------------------------------------------------------------- /ruby-2.7.spec: -------------------------------------------------------------------------------- 1 | Name: ruby 2 | Version: 2.7.8 3 | Release: 1%{?dist} 4 | License: Ruby License/GPL - see COPYING 5 | URL: http://www.ruby-lang.org/ 6 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 | AutoReqProv: no 8 | Requires: readline ncurses gdbm glibc openssl libyaml libffi zlib 9 | BuildRequires: readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel make libyaml-devel libffi-devel zlib-devel 10 | Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz 11 | Summary: An interpreter of object-oriented scripting language 12 | Group: Development/Languages 13 | Provides: ruby(abi) = 2.7 14 | Provides: ruby-irb 15 | Provides: ruby-rdoc 16 | Provides: ruby-libs 17 | Provides: ruby-devel 18 | Provides: rubygems 19 | Obsoletes: ruby < %{version} 20 | Obsoletes: ruby-devel < %{version} 21 | Obsoletes: ruby-irb < %{version} 22 | Obsoletes: ruby-libs < %{version} 23 | Obsoletes: rubygem-bigdecimal 24 | Obsoletes: rubygem-io-console 25 | Obsoletes: rubygem-json 26 | Obsoletes: rubygem-psych 27 | Obsoletes: rubygem-rdoc 28 | Obsoletes: rubygems 29 | 30 | %description 31 | Ruby is the interpreted scripting language for quick and easy 32 | object-oriented programming. It has many features to process text 33 | files and to do system management tasks (as in Perl). It is simple, 34 | straight-forward, and extensible. 35 | 36 | %prep 37 | %setup -n ruby-%{version} 38 | 39 | %build 40 | export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -std=gnu99" 41 | 42 | %configure \ 43 | --enable-shared \ 44 | --disable-rpath \ 45 | --without-X11 \ 46 | --includedir=%{_includedir}/ruby \ 47 | --libdir=%{_libdir} 48 | 49 | make %{?_smp_mflags} 50 | 51 | %install 52 | # installing binaries ... 53 | make install DESTDIR=$RPM_BUILD_ROOT 54 | 55 | #we don't want to keep the src directory 56 | rm -rf $RPM_BUILD_ROOT/usr/src 57 | 58 | %clean 59 | rm -rf $RPM_BUILD_ROOT 60 | 61 | %files 62 | %defattr(-, root, root) 63 | %{_bindir}/* 64 | %{_includedir}/* 65 | %{_datadir}/* 66 | %{_libdir}/* 67 | 68 | %changelog 69 | 70 | * Thu Mar 30 2023 feedforce tech team - 2.7.8 71 | - Update ruby version to 2.7.8 72 | 73 | * Thu Nov 24 2022 feedforce tech team - 2.7.7 74 | - Update ruby version to 2.7.7 75 | 76 | * Tue Apr 12 2022 feedforce tech team - 2.7.6 77 | - Update ruby version to 2.7.6 78 | 79 | * Wed Nov 24 2021 feedforce tech team - 2.7.5 80 | - Update ruby version to 2.7.5 81 | 82 | * Wed Jul 07 2021 feedforce tech team - 2.7.4 83 | - Update ruby version to 2.7.4 84 | 85 | * Mon Apr 05 2021 feedforce tech team - 2.7.3 86 | - Update ruby version to 2.7.3 87 | 88 | * Fri Oct 02 2020 feedforce tech team - 2.7.2 89 | - Update ruby version to 2.7.2 90 | 91 | * Wed Apr 01 2020 feedforce tech team - 2.7.1 92 | - Update ruby version to 2.7.1 93 | 94 | * Thu Jan 02 2020 Mike MacDonald - 2.7.0 95 | - Update ruby version to 2.7.0 96 | 97 | * Tue Oct 01 2019 feedforce tech team - 2.6.5 98 | - Update ruby version to 2.6.5 99 | 100 | * Wed Aug 28 2019 feedforce tech team - 2.6.4 101 | - Update ruby version to 2.6.4 102 | 103 | * Wed Apr 17 2019 feedforce tech team - 2.6.3 104 | - Update ruby version to 2.6.3 105 | 106 | * Wed Mar 13 2019 feedforce tech team - 2.6.2 107 | - Update ruby version to 2.6.2 108 | 109 | * Wed Jan 30 2019 feedforce tech team - 2.6.1 110 | - Update ruby version to 2.6.1 111 | 112 | * Tue Dec 25 2018 feedforce tech team - 2.6.0 113 | - Update ruby version to 2.6.0 114 | 115 | * Fri Oct 19 2018 Masataka Suzuki - 2.5.3 116 | - Update ruby version to 2.5.3 117 | 118 | * Thu Oct 18 2018 Masataka Suzuki - 2.5.2 119 | - Update ruby version to 2.5.2 120 | 121 | * Thu Mar 29 2018 Masataka Suzuki - 2.5.1 122 | - Update ruby version to 2.5.1 123 | 124 | * Mon Dec 25 2017 Takashi Masuda - 2.5.0 125 | - Update ruby version to 2.5.0 126 | 127 | * Fri Dec 15 2017 Masataka Suzuki - 2.4.3 128 | - Update ruby version to 2.4.3 129 | 130 | * Fri Sep 15 2017 Masataka Suzuki - 2.4.2 131 | - Update ruby version to 2.4.2 132 | 133 | * Thu Mar 23 2017 Masataka Suzuki - 2.4.1 134 | - Update ruby version to 2.4.1 135 | 136 | * Mon Dec 26 2016 Takashi Masuda - 2.4.0 137 | - Update ruby version to 2.4.0 138 | 139 | * Tue Nov 22 2016 Masato Tanaka - 2.3.3 140 | - Update ruby version to 2.3.3 141 | 142 | * Wed Nov 16 2016 Masato Tanaka - 2.3.2 143 | - Update ruby version to 2.3.2 144 | 145 | * Tue Apr 26 2016 Takashi Masuda - 2.3.1 146 | - Update ruby version to 2.3.1 147 | 148 | * Tue Dec 25 2015 Masato Tanaka - 2.3.0 149 | - Update ruby version to 2.3.0 150 | 151 | * Tue Dec 17 2015 Masato Tanaka - 2.2.4 152 | - Update ruby version to 2.2.4 153 | 154 | * Tue Aug 19 2015 Masato Tanaka - 2.2.3 155 | - Update ruby version to 2.2.3 156 | 157 | * Tue Apr 14 2015 Takashi Masuda - 2.2.2 158 | - Update ruby version to 2.2.2 159 | 160 | * Wed Mar 4 2015 Shota Miyamoto - 2.2.1 161 | - Update ruby version to 2.2.1 162 | 163 | * Fri Dec 26 2014 Kenta ONISHI - 2.2.0 164 | - Version bumped to 2.2.0 165 | 166 | * Fri Nov 14 2014 Takashi Masuda - 2.1.5 167 | - Update ruby version to 2.1.5 168 | - Remove dependency unzip 169 | 170 | * Wed Nov 5 2014 Takashi Masuda - 2.1.4-2 171 | - Remove dependency db4 and db4-devel 172 | 173 | * Fri Oct 31 2014 Takashi Masuda - 2.1.4 174 | - Update ruby version to 2.1.4 175 | 176 | * Wed Oct 29 2014 Takashi Masuda - 2.1.2 177 | - Remove dependencies on tcl-devel and byacc 178 | 179 | * Fri May 9 2014 Masahito Yoshida - 2.1.2 180 | - Update ruby version to 2.1.2 181 | 182 | * Thu Dec 26 2013 Masahito Yoshida - 2.1.0 183 | - Update ruby version to 2.1.0 184 | 185 | * Sat Nov 23 2013 Masahito Yoshida - 2.0.0-p353 186 | - Update ruby version to 2.0.0-p353 187 | 188 | * Tue Jul 2 2013 Masahito Yoshida - 2.0.0-p247 189 | - Update ruby version to 2.0.0-p247 190 | 191 | * Sun May 19 2013 Masahito Yoshida - 2.0.0-p195 192 | - Update ruby version to 2.0.0-p195 193 | 194 | * Sat Mar 23 2013 Masahito Yoshida - 2.0.0-p0 195 | - Update ruby version to 2.0.0-p0 196 | 197 | * Sun Feb 24 2013 Masahito Yoshida - 1.9.3-p392 198 | - Update ruby version to 1.9.3-p392 199 | 200 | * Tue Jan 29 2013 Carlos Villela - 1.9.3-p374 201 | - Update ruby version to 1.9.3-p374 202 | 203 | * Tue Jan 15 2013 Carlos Villela - 1.9.3-p362 204 | - Update ruby version to 1.9.3-p362 205 | 206 | * Thu Nov 15 2012 Rajat Vig - 1.9.3-p327 207 | - Update ruby version to 1.9.3-p327 208 | 209 | * Mon Oct 22 2012 Carlos Villela - 1.9.3-p286 210 | - Update ruby version to 1.9.3-p286 211 | 212 | * Wed Jul 4 2012 Carlos Villela - 1.9.3-p194 213 | - Update ruby version to 1.9.3-p194 214 | 215 | * Wed Jan 18 2012 Mandi Walls - 1.9.3-p0 216 | - Update ruby version to 1.9.3-p0 217 | 218 | * Mon Aug 29 2011 Gregory Graf - 1.9.2-p290 219 | - Update ruby version to 1.9.2-p290 220 | 221 | * Sat Jun 25 2011 Ian Meyer - 1.9.2-p180-2 222 | - Remove non-existant --sitearchdir and --vedorarchdir from %configure 223 | - Replace --sitedir --vendordir with simpler --libdir 224 | - Change %{_prefix}/share to %{_datadir} 225 | 226 | * Mon Mar 7 2011 Robert Duncan - 1.9.2-p180-1 227 | - Update prerequisites to include make 228 | - Update ruby version to 1.9.2-p180 229 | - Install /usr/share documentation 230 | - (Hopefully!?) platform agnostic 231 | 232 | * Sun Jan 2 2011 Ian Meyer - 1.9.2-p136-1 233 | - Initial spec to replace system ruby with 1.9.2-p136 234 | -------------------------------------------------------------------------------- /ruby-3.1.spec: -------------------------------------------------------------------------------- 1 | Name: ruby 2 | Version: 3.1.4 3 | Release: 1%{?dist} 4 | License: Ruby License/GPL - see COPYING 5 | URL: http://www.ruby-lang.org/ 6 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 | AutoReqProv: no 8 | Requires: readline ncurses gdbm glibc openssl libyaml libffi zlib 9 | BuildRequires: readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel make libyaml-devel libffi-devel zlib-devel 10 | Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz 11 | Summary: An interpreter of object-oriented scripting language 12 | Group: Development/Languages 13 | Provides: ruby(abi) = 3.1 14 | Provides: ruby-irb 15 | Provides: ruby-rdoc 16 | Provides: ruby-libs 17 | Provides: ruby-devel 18 | Provides: rubygems 19 | Obsoletes: ruby < %{version} 20 | Obsoletes: ruby-devel < %{version} 21 | Obsoletes: ruby-irb < %{version} 22 | Obsoletes: ruby-libs < %{version} 23 | Obsoletes: rubygem-bigdecimal 24 | Obsoletes: rubygem-io-console 25 | Obsoletes: rubygem-json 26 | Obsoletes: rubygem-psych 27 | Obsoletes: rubygem-rdoc 28 | Obsoletes: rubygems 29 | 30 | %description 31 | Ruby is the interpreted scripting language for quick and easy 32 | object-oriented programming. It has many features to process text 33 | files and to do system management tasks (as in Perl). It is simple, 34 | straight-forward, and extensible. 35 | 36 | %prep 37 | %setup -n ruby-%{version} 38 | 39 | %build 40 | export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -std=gnu99" 41 | 42 | %configure \ 43 | --enable-shared \ 44 | --disable-rpath \ 45 | --without-X11 \ 46 | --includedir=%{_includedir}/ruby \ 47 | --libdir=%{_libdir} 48 | 49 | make %{?_smp_mflags} 50 | 51 | %install 52 | # installing binaries ... 53 | make install DESTDIR=$RPM_BUILD_ROOT 54 | 55 | #we don't want to keep the src directory 56 | rm -rf $RPM_BUILD_ROOT/usr/src 57 | 58 | %clean 59 | rm -rf $RPM_BUILD_ROOT 60 | 61 | %files 62 | %defattr(-, root, root) 63 | %{_bindir}/* 64 | %{_includedir}/* 65 | %{_datadir}/* 66 | %{_libdir}/* 67 | 68 | %changelog 69 | 70 | * Thu Mar 30 2023 feedforce tech team - 3.1.4 71 | - Update ruby version to 3.1.4 72 | 73 | * Fri Mar 17 2023 Tsubasa Takayama - 3.1.3 74 | - Update ruby version to 3.1.3 75 | 76 | * Wed Nov 24 2021 feedforce tech team - 3.0.3 77 | - Update ruby version to 3.0.3 78 | 79 | * Wed Jul 07 2021 feedforce tech team - 3.0.2 80 | - Update ruby version to 3.0.2 81 | 82 | * Wed Apr 07 2021 feedforce tech team - 3.0.1 83 | - Update ruby version to 3.0.1 84 | 85 | * Wed Apr 07 2021 Tsubasa Takayama - 3.0.0 86 | - Update ruby version to 3.0.0 87 | 88 | * Mon Apr 05 2021 feedforce tech team - 2.7.3 89 | - Update ruby version to 2.7.3 90 | 91 | * Fri Oct 02 2020 feedforce tech team - 2.7.2 92 | - Update ruby version to 2.7.2 93 | 94 | * Wed Apr 01 2020 feedforce tech team - 2.7.1 95 | - Update ruby version to 2.7.1 96 | 97 | * Thu Jan 02 2020 Mike MacDonald - 2.7.0 98 | - Update ruby version to 2.7.0 99 | 100 | * Tue Oct 01 2019 feedforce tech team - 2.6.5 101 | - Update ruby version to 2.6.5 102 | 103 | * Wed Aug 28 2019 feedforce tech team - 2.6.4 104 | - Update ruby version to 2.6.4 105 | 106 | * Wed Apr 17 2019 feedforce tech team - 2.6.3 107 | - Update ruby version to 2.6.3 108 | 109 | * Wed Mar 13 2019 feedforce tech team - 2.6.2 110 | - Update ruby version to 2.6.2 111 | 112 | * Wed Jan 30 2019 feedforce tech team - 2.6.1 113 | - Update ruby version to 2.6.1 114 | 115 | * Tue Dec 25 2018 feedforce tech team - 2.6.0 116 | - Update ruby version to 2.6.0 117 | 118 | * Fri Oct 19 2018 Masataka Suzuki - 2.5.3 119 | - Update ruby version to 2.5.3 120 | 121 | * Thu Oct 18 2018 Masataka Suzuki - 2.5.2 122 | - Update ruby version to 2.5.2 123 | 124 | * Thu Mar 29 2018 Masataka Suzuki - 2.5.1 125 | - Update ruby version to 2.5.1 126 | 127 | * Mon Dec 25 2017 Takashi Masuda - 2.5.0 128 | - Update ruby version to 2.5.0 129 | 130 | * Fri Dec 15 2017 Masataka Suzuki - 2.4.3 131 | - Update ruby version to 2.4.3 132 | 133 | * Fri Sep 15 2017 Masataka Suzuki - 2.4.2 134 | - Update ruby version to 2.4.2 135 | 136 | * Thu Mar 23 2017 Masataka Suzuki - 2.4.1 137 | - Update ruby version to 2.4.1 138 | 139 | * Mon Dec 26 2016 Takashi Masuda - 2.4.0 140 | - Update ruby version to 2.4.0 141 | 142 | * Tue Nov 22 2016 Masato Tanaka - 2.3.3 143 | - Update ruby version to 2.3.3 144 | 145 | * Wed Nov 16 2016 Masato Tanaka - 2.3.2 146 | - Update ruby version to 2.3.2 147 | 148 | * Tue Apr 26 2016 Takashi Masuda - 2.3.1 149 | - Update ruby version to 2.3.1 150 | 151 | * Tue Dec 25 2015 Masato Tanaka - 2.3.0 152 | - Update ruby version to 2.3.0 153 | 154 | * Tue Dec 17 2015 Masato Tanaka - 2.2.4 155 | - Update ruby version to 2.2.4 156 | 157 | * Tue Aug 19 2015 Masato Tanaka - 2.2.3 158 | - Update ruby version to 2.2.3 159 | 160 | * Tue Apr 14 2015 Takashi Masuda - 2.2.2 161 | - Update ruby version to 2.2.2 162 | 163 | * Wed Mar 4 2015 Shota Miyamoto - 2.2.1 164 | - Update ruby version to 2.2.1 165 | 166 | * Fri Dec 26 2014 Kenta ONISHI - 2.2.0 167 | - Version bumped to 2.2.0 168 | 169 | * Fri Nov 14 2014 Takashi Masuda - 2.1.5 170 | - Update ruby version to 2.1.5 171 | - Remove dependency unzip 172 | 173 | * Wed Nov 5 2014 Takashi Masuda - 2.1.4-2 174 | - Remove dependency db4 and db4-devel 175 | 176 | * Fri Oct 31 2014 Takashi Masuda - 2.1.4 177 | - Update ruby version to 2.1.4 178 | 179 | * Wed Oct 29 2014 Takashi Masuda - 2.1.2 180 | - Remove dependencies on tcl-devel and byacc 181 | 182 | * Fri May 9 2014 Masahito Yoshida - 2.1.2 183 | - Update ruby version to 2.1.2 184 | 185 | * Thu Dec 26 2013 Masahito Yoshida - 2.1.0 186 | - Update ruby version to 2.1.0 187 | 188 | * Sat Nov 23 2013 Masahito Yoshida - 2.0.0-p353 189 | - Update ruby version to 2.0.0-p353 190 | 191 | * Tue Jul 2 2013 Masahito Yoshida - 2.0.0-p247 192 | - Update ruby version to 2.0.0-p247 193 | 194 | * Sun May 19 2013 Masahito Yoshida - 2.0.0-p195 195 | - Update ruby version to 2.0.0-p195 196 | 197 | * Sat Mar 23 2013 Masahito Yoshida - 2.0.0-p0 198 | - Update ruby version to 2.0.0-p0 199 | 200 | * Sun Feb 24 2013 Masahito Yoshida - 1.9.3-p392 201 | - Update ruby version to 1.9.3-p392 202 | 203 | * Tue Jan 29 2013 Carlos Villela - 1.9.3-p374 204 | - Update ruby version to 1.9.3-p374 205 | 206 | * Tue Jan 15 2013 Carlos Villela - 1.9.3-p362 207 | - Update ruby version to 1.9.3-p362 208 | 209 | * Thu Nov 15 2012 Rajat Vig - 1.9.3-p327 210 | - Update ruby version to 1.9.3-p327 211 | 212 | * Mon Oct 22 2012 Carlos Villela - 1.9.3-p286 213 | - Update ruby version to 1.9.3-p286 214 | 215 | * Wed Jul 4 2012 Carlos Villela - 1.9.3-p194 216 | - Update ruby version to 1.9.3-p194 217 | 218 | * Wed Jan 18 2012 Mandi Walls - 1.9.3-p0 219 | - Update ruby version to 1.9.3-p0 220 | 221 | * Mon Aug 29 2011 Gregory Graf - 1.9.2-p290 222 | - Update ruby version to 1.9.2-p290 223 | 224 | * Sat Jun 25 2011 Ian Meyer - 1.9.2-p180-2 225 | - Remove non-existant --sitearchdir and --vedorarchdir from %configure 226 | - Replace --sitedir --vendordir with simpler --libdir 227 | - Change %{_prefix}/share to %{_datadir} 228 | 229 | * Mon Mar 7 2011 Robert Duncan - 1.9.2-p180-1 230 | - Update prerequisites to include make 231 | - Update ruby version to 1.9.2-p180 232 | - Install /usr/share documentation 233 | - (Hopefully!?) platform agnostic 234 | 235 | * Sun Jan 2 2011 Ian Meyer - 1.9.2-p136-1 236 | - Initial spec to replace system ruby with 1.9.2-p136 237 | -------------------------------------------------------------------------------- /ruby-3.2.spec: -------------------------------------------------------------------------------- 1 | Name: ruby 2 | Version: 3.2.2 3 | Release: 1%{?dist} 4 | License: Ruby License/GPL - see COPYING 5 | URL: http://www.ruby-lang.org/ 6 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 7 | AutoReqProv: no 8 | Requires: readline ncurses gdbm glibc openssl libyaml libffi zlib 9 | BuildRequires: readline-devel ncurses-devel gdbm-devel glibc-devel gcc openssl-devel make libyaml-devel libffi-devel zlib-devel 10 | Source0: https://cache.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz 11 | Summary: An interpreter of object-oriented scripting language 12 | Group: Development/Languages 13 | Provides: ruby(abi) = 3.2 14 | Provides: ruby-irb 15 | Provides: ruby-rdoc 16 | Provides: ruby-libs 17 | Provides: ruby-devel 18 | Provides: rubygems 19 | Obsoletes: ruby < %{version} 20 | Obsoletes: ruby-devel < %{version} 21 | Obsoletes: ruby-irb < %{version} 22 | Obsoletes: ruby-libs < %{version} 23 | Obsoletes: rubygem-bigdecimal 24 | Obsoletes: rubygem-io-console 25 | Obsoletes: rubygem-json 26 | Obsoletes: rubygem-psych 27 | Obsoletes: rubygem-rdoc 28 | Obsoletes: rubygems 29 | 30 | %description 31 | Ruby is the interpreted scripting language for quick and easy 32 | object-oriented programming. It has many features to process text 33 | files and to do system management tasks (as in Perl). It is simple, 34 | straight-forward, and extensible. 35 | 36 | %prep 37 | %setup -n ruby-%{version} 38 | 39 | %build 40 | export CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -std=gnu99" 41 | 42 | %configure \ 43 | --enable-shared \ 44 | --disable-rpath \ 45 | --without-X11 \ 46 | --includedir=%{_includedir}/ruby \ 47 | --libdir=%{_libdir} 48 | 49 | make %{?_smp_mflags} 50 | 51 | %install 52 | # installing binaries ... 53 | make install DESTDIR=$RPM_BUILD_ROOT 54 | 55 | #we don't want to keep the src directory 56 | rm -rf $RPM_BUILD_ROOT/usr/src 57 | 58 | %clean 59 | rm -rf $RPM_BUILD_ROOT 60 | 61 | %files 62 | %defattr(-, root, root) 63 | %{_bindir}/* 64 | %{_includedir}/* 65 | %{_datadir}/* 66 | %{_libdir}/* 67 | 68 | %changelog 69 | 70 | * Thu Mar 30 2023 feedforce tech team - 3.2.2 71 | - Update ruby version to 3.2.2 72 | 73 | * Wed Feb 08 2023 feedforce tech team - 3.2.1 74 | - Update ruby version to 3.2.1 75 | 76 | * Wed Jan 04 2023 John Balyozian - 3.2.0 77 | - Update ruby version to 3.2.0 78 | 79 | * Tue Apr 12 2022 feedforce tech team - 3.0.4 80 | - Update ruby version to 3.0.4 81 | 82 | * Wed Nov 24 2021 feedforce tech team - 3.0.3 83 | - Update ruby version to 3.0.3 84 | 85 | * Wed Jul 07 2021 feedforce tech team - 3.0.2 86 | - Update ruby version to 3.0.2 87 | 88 | * Wed Apr 07 2021 feedforce tech team - 3.0.1 89 | - Update ruby version to 3.0.1 90 | 91 | * Wed Apr 07 2021 Tsubasa Takayama - 3.0.0 92 | - Update ruby version to 3.0.0 93 | 94 | * Mon Apr 05 2021 feedforce tech team - 2.7.3 95 | - Update ruby version to 2.7.3 96 | 97 | * Fri Oct 02 2020 feedforce tech team - 2.7.2 98 | - Update ruby version to 2.7.2 99 | 100 | * Wed Apr 01 2020 feedforce tech team - 2.7.1 101 | - Update ruby version to 2.7.1 102 | 103 | * Thu Jan 02 2020 Mike MacDonald - 2.7.0 104 | - Update ruby version to 2.7.0 105 | 106 | * Tue Oct 01 2019 feedforce tech team - 2.6.5 107 | - Update ruby version to 2.6.5 108 | 109 | * Wed Aug 28 2019 feedforce tech team - 2.6.4 110 | - Update ruby version to 2.6.4 111 | 112 | * Wed Apr 17 2019 feedforce tech team - 2.6.3 113 | - Update ruby version to 2.6.3 114 | 115 | * Wed Mar 13 2019 feedforce tech team - 2.6.2 116 | - Update ruby version to 2.6.2 117 | 118 | * Wed Jan 30 2019 feedforce tech team - 2.6.1 119 | - Update ruby version to 2.6.1 120 | 121 | * Tue Dec 25 2018 feedforce tech team - 2.6.0 122 | - Update ruby version to 2.6.0 123 | 124 | * Fri Oct 19 2018 Masataka Suzuki - 2.5.3 125 | - Update ruby version to 2.5.3 126 | 127 | * Thu Oct 18 2018 Masataka Suzuki - 2.5.2 128 | - Update ruby version to 2.5.2 129 | 130 | * Thu Mar 29 2018 Masataka Suzuki - 2.5.1 131 | - Update ruby version to 2.5.1 132 | 133 | * Mon Dec 25 2017 Takashi Masuda - 2.5.0 134 | - Update ruby version to 2.5.0 135 | 136 | * Fri Dec 15 2017 Masataka Suzuki - 2.4.3 137 | - Update ruby version to 2.4.3 138 | 139 | * Fri Sep 15 2017 Masataka Suzuki - 2.4.2 140 | - Update ruby version to 2.4.2 141 | 142 | * Thu Mar 23 2017 Masataka Suzuki - 2.4.1 143 | - Update ruby version to 2.4.1 144 | 145 | * Mon Dec 26 2016 Takashi Masuda - 2.4.0 146 | - Update ruby version to 2.4.0 147 | 148 | * Tue Nov 22 2016 Masato Tanaka - 2.3.3 149 | - Update ruby version to 2.3.3 150 | 151 | * Wed Nov 16 2016 Masato Tanaka - 2.3.2 152 | - Update ruby version to 2.3.2 153 | 154 | * Tue Apr 26 2016 Takashi Masuda - 2.3.1 155 | - Update ruby version to 2.3.1 156 | 157 | * Tue Dec 25 2015 Masato Tanaka - 2.3.0 158 | - Update ruby version to 2.3.0 159 | 160 | * Tue Dec 17 2015 Masato Tanaka - 2.2.4 161 | - Update ruby version to 2.2.4 162 | 163 | * Tue Aug 19 2015 Masato Tanaka - 2.2.3 164 | - Update ruby version to 2.2.3 165 | 166 | * Tue Apr 14 2015 Takashi Masuda - 2.2.2 167 | - Update ruby version to 2.2.2 168 | 169 | * Wed Mar 4 2015 Shota Miyamoto - 2.2.1 170 | - Update ruby version to 2.2.1 171 | 172 | * Fri Dec 26 2014 Kenta ONISHI - 2.2.0 173 | - Version bumped to 2.2.0 174 | 175 | * Fri Nov 14 2014 Takashi Masuda - 2.1.5 176 | - Update ruby version to 2.1.5 177 | - Remove dependency unzip 178 | 179 | * Wed Nov 5 2014 Takashi Masuda - 2.1.4-2 180 | - Remove dependency db4 and db4-devel 181 | 182 | * Fri Oct 31 2014 Takashi Masuda - 2.1.4 183 | - Update ruby version to 2.1.4 184 | 185 | * Wed Oct 29 2014 Takashi Masuda - 2.1.2 186 | - Remove dependencies on tcl-devel and byacc 187 | 188 | * Fri May 9 2014 Masahito Yoshida - 2.1.2 189 | - Update ruby version to 2.1.2 190 | 191 | * Thu Dec 26 2013 Masahito Yoshida - 2.1.0 192 | - Update ruby version to 2.1.0 193 | 194 | * Sat Nov 23 2013 Masahito Yoshida - 2.0.0-p353 195 | - Update ruby version to 2.0.0-p353 196 | 197 | * Tue Jul 2 2013 Masahito Yoshida - 2.0.0-p247 198 | - Update ruby version to 2.0.0-p247 199 | 200 | * Sun May 19 2013 Masahito Yoshida - 2.0.0-p195 201 | - Update ruby version to 2.0.0-p195 202 | 203 | * Sat Mar 23 2013 Masahito Yoshida - 2.0.0-p0 204 | - Update ruby version to 2.0.0-p0 205 | 206 | * Sun Feb 24 2013 Masahito Yoshida - 1.9.3-p392 207 | - Update ruby version to 1.9.3-p392 208 | 209 | * Tue Jan 29 2013 Carlos Villela - 1.9.3-p374 210 | - Update ruby version to 1.9.3-p374 211 | 212 | * Tue Jan 15 2013 Carlos Villela - 1.9.3-p362 213 | - Update ruby version to 1.9.3-p362 214 | 215 | * Thu Nov 15 2012 Rajat Vig - 1.9.3-p327 216 | - Update ruby version to 1.9.3-p327 217 | 218 | * Mon Oct 22 2012 Carlos Villela - 1.9.3-p286 219 | - Update ruby version to 1.9.3-p286 220 | 221 | * Wed Jul 4 2012 Carlos Villela - 1.9.3-p194 222 | - Update ruby version to 1.9.3-p194 223 | 224 | * Wed Jan 18 2012 Mandi Walls - 1.9.3-p0 225 | - Update ruby version to 1.9.3-p0 226 | 227 | * Mon Aug 29 2011 Gregory Graf - 1.9.2-p290 228 | - Update ruby version to 1.9.2-p290 229 | 230 | * Sat Jun 25 2011 Ian Meyer - 1.9.2-p180-2 231 | - Remove non-existant --sitearchdir and --vedorarchdir from %configure 232 | - Replace --sitedir --vendordir with simpler --libdir 233 | - Change %{_prefix}/share to %{_datadir} 234 | 235 | * Mon Mar 7 2011 Robert Duncan - 1.9.2-p180-1 236 | - Update prerequisites to include make 237 | - Update ruby version to 1.9.2-p180 238 | - Install /usr/share documentation 239 | - (Hopefully!?) platform agnostic 240 | 241 | * Sun Jan 2 2011 Ian Meyer - 1.9.2-p136-1 242 | - Initial spec to replace system ruby with 1.9.2-p136 243 | --------------------------------------------------------------------------------