40 lines
1.0 KiB
RPMSpec
40 lines
1.0 KiB
RPMSpec
|
|
%define debug_package %{nil}
|
|||
|
|
%define src_install_dir /usr/src/%{name}
|
|||
|
|
|
|||
|
|
Name: data-plane-api
|
|||
|
|
Version: 9d6ffa70677c4dbf23f6ed569676206c4e2edff4
|
|||
|
|
Release: 1
|
|||
|
|
Summary: Data Plane API Service
|
|||
|
|
License: Apache-2.0
|
|||
|
|
URL: https://github.com/envoyproxy/%{name}
|
|||
|
|
Source0: https://github.com/envoyproxy/%{name}/archive/%{version}.tar.gz
|
|||
|
|
|
|||
|
|
BuildRequires: python3-devel
|
|||
|
|
BuildRequires: python3-pip
|
|||
|
|
BuildRequires: gcc
|
|||
|
|
BuildRequires: make
|
|||
|
|
|
|||
|
|
%description
|
|||
|
|
The HAProxy Data Plane API is a service that lets you configure the load
|
|||
|
|
balancer using HTTP, RESTful commands, enabling dynamically-generated
|
|||
|
|
configurations. It runs as a standalone program or service, so its versions
|
|||
|
|
are independent from the load balancer’s release cycle.
|
|||
|
|
|
|||
|
|
%prep
|
|||
|
|
%setup -q
|
|||
|
|
|
|||
|
|
%build
|
|||
|
|
|
|||
|
|
%install
|
|||
|
|
mkdir -p %{buildroot}%{src_install_dir}
|
|||
|
|
cp -R * %{buildroot}%{src_install_dir}
|
|||
|
|
|
|||
|
|
%files
|
|||
|
|
%defattr(-,root,root,-)
|
|||
|
|
%license LICENSE
|
|||
|
|
%{src_install_dir}
|
|||
|
|
|
|||
|
|
%changelog
|
|||
|
|
* Mon Apr 7 2025 fuanan <fuanan3@h-partners.com> - 9d6ffa70677c4dbf23f6ed569676206c4e2edff4-1
|
|||
|
|
- Package Init
|