%global base_version 1.3 %global patch_version 3 Name: rhproxy Version: 1.3.3 Release: 1.20241022153757966378.pr14.1.gc5397ed%{?dist} Summary: Insights Proxy Service v%{version} License: GPLv3 URL: https://github.com/RedHatInsights/rhproxy Source0: rhproxy-1.3.3.tar.gz BuildArch: noarch Requires: bash %description This RPM installs the Insights Proxy Service on the System. The rhproxy service controller installs and manages the Insights Proxy via a systemd quadlet service. %prep %autosetup -n rhproxy-1.3.3 %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_datadir}/%{name}/bin cp bin/%{name} %{buildroot}/%{_bindir}/%{name} cp bin/rhproxy-configure %{buildroot}/%{_datadir}/%{name}/bin/rhproxy-configure mkdir -p %{buildroot}/%{_datadir}/%{name}/config cp config/*.container %{buildroot}/%{_datadir}/%{name}/config/ mkdir -p %{buildroot}/%{_datadir}/%{name}/env cp env/*.env %{buildroot}/%{_datadir}/%{name}/env/ cp env/*.servers %{buildroot}/%{_datadir}/%{name}/env/ mkdir -p %{buildroot}/%{_datadir}/%{name}/download/bin cp download/bin/*.template %{buildroot}/%{_datadir}/%{name}/download/bin/ # Let's make sure we pick the major.minor released version of the engine sed -i 's/{{RHPROXY_ENGINE_RELEASE_TAG}}/%{base_version}/' %{buildroot}/%{_datadir}/%{name}/config/rhproxy.container %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/%{name}/bin/rhproxy-configure %{_datadir}/%{name}/config/rhproxy.container %{_datadir}/%{name}/env/rhproxy.env %{_datadir}/%{name}/env/redhat.servers %{_datadir}/%{name}/env/epel.servers %{_datadir}/%{name}/env/mirror.servers %{_datadir}/%{name}/download/bin/configure-client.sh.template %changelog * Tue Oct 22 2024 Packit - 1.3.3-1.20241022153757966378.pr14.1.gc5397ed - Updated README.md to mention both latest and release upstream build repos. (Alberto Bellotti) * Wed Oct 18 2024 Alberto Bellotti - 1.3.3 - Adding support for EPEL server via epel.servers - Adding support for optional mirror servers via mirror.servers * Thu Oct 17 2024 Alberto Bellotti - 1.3.2 - Now using URL based Source in the RPM spec * Wed Sep 18 2024 Alberto Bellotti - 1.3.1 - Sharing rhproxy env directory with the rhproxy-engine - No longer the need to create an env variable for the list of servers - Now supporting redhat.servers and mirror.servers * Tue Sep 17 2024 Alberto Bellotti - 1.3.0 - Moving to major.minor.patch version of the RPM. - Moving to major.minor released versions of the container engine. * Wed Aug 21 2024 Alberto Bellotti - 1.3 - Renaming to rhproxy * Tue Jul 02 2024 Alberto Bellotti - 1.2 - Additional enhancements * Fri Jun 28 2024 Alberto Bellotti - 1.1 - Initial prototype