packaging/rpm/repo-el/SPECS/cloudberry-dev-repo.spec (31 lines of code) (raw):

Name: cloudberry-dev-repo Version: 1.0 Release: 1%{?dist} Summary: Cloudberry Database Repository Configuration License: ASL 2.0 Group: Applications/Databases URL: https://cloudberrydb.org Vendor: Cloudberry Open Source BuildArch: noarch %description This package configures the Cloudberry Database repository on your system. Cloudberry Database is an open-source project aimed at providing a scalable, high-performance SQL database for analytics. This repository provides access to the latest RPM packages for Cloudberry Database, allowing you to easily install and stay up-to-date with the latest developments. %install mkdir -p %{buildroot}%{_sysconfdir}/yum.repos.d/ cat > %{buildroot}%{_sysconfdir}/yum.repos.d/cloudberry-dev.repo <<EOF [cloudberry-dev] name=Cloudberry Database Repository baseurl=https://cloudberry-rpm-dev-bucket.s3.amazonaws.com/repo/el%{rhel}/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://cloudberry-rpm-dev-bucket.s3.amazonaws.com/repo/el%{rhel}/x86_64/RPM-GPG-KEY-cloudberry EOF %files %{_sysconfdir}/yum.repos.d/cloudberry-dev.repo %changelog * Thu Aug 21 2024 Ed Espino eespino@gmail.com - 1.0-1 - Initial package with repository configuration