# Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/traefik/traefik %global goipath github.com/traefik/traefik Version: 3.7.13 %gometa -L -f Name: traefik Release: 1%{?dist} Summary: The Cloud Native Application Proxy # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description The Cloud Native Application Proxy. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/traefik ./cmd/traefik %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %files -f %{go_vendor_license_filelist} %doc docs CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md %doc README.md SECURITY.md %doc integration/fixtures/acme/README.md %doc integration/fixtures/https/clientca/README.md %doc integration/fixtures/tlsclientheaders/readme.md %doc integration/resources/tls/README.md script/release/README.md %doc webui/readme.md webui/public/robots.txt %{_bindir}/traefik %changelog * Mon Oct 05 2026 Evelynn Straw - 3.7.13-1 - Initial package