## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global debug_package %{nil} %global _missing_build_ids_terminate_build 0 %global _dwz_low_mem_die_limit 0 Name: traefik Version: 3.6.2 Release: %autorelease Summary: Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. License: MIT URL: https://github.com/traefik/traefik Source0: https://github.com/traefik/traefik/archive/refs/tags/v%{version}.tar.gz Source1: traefik.sysusers.conf Source2: traefik.service BuildRequires: golang BuildRequires: nodejs BuildRequires: nodejs-npm BuildRequires: yarnpkg BuildRequires: go-task BuildRequires: git BuildRequires: jq BuildRequires: systemd-rpm-macros Requires: ansible %description Traefik (pronounced traffic) is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. Traefik integrates with your existing infrastructure components (Docker, Swarm mode, Kubernetes, Consul, Etcd, Rancher v2, Amazon ECS, ...) and configures itself automatically and dynamically. Pointing Traefik at your orchestrator should be the only configuration step you need. %prep %setup -q jq 'del(.packageManager)' ./webui/package.json > package.json.new mv package.json.new ./webui/package.json %build # Generate static web assets mkdir ./webbuild pushd ./webbuild cp ../webui/package.json ../webui/yarn.lock ../webui/.yarnrc.yml . yarn install --force cp -r ../webui/* . yarn build popd mkdir -p ./webui/static/ cp -r ./webbuild/static/* ./webui/static/ go generate # Build go build -ldflags "-s -w \ -X github.com/traefik/traefik/v3/pkg/version.Version=%{version} \ -X github.com/traefik/traefik/v3/pkg/version.Codename=cheddar" \ -installsuffix nocgo -o "./bin/traefik" ./cmd/traefik %install mkdir -p %{buildroot}%{_sysconfdir}/traefik/ mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_sharedstatedir}/traefik/ install -m 755 bin/traefik %{buildroot}%{_bindir}/traefik install -m 644 %{S:2} %{buildroot}%{_unitdir}/traefik.service %pre %sysusers_create_compat %{S:1} %post %systemd_post traefik.service %preun %systemd_preun traefik.service %postun %systemd_postun_with_restart traefik.service %files %license LICENSE.md %doc README.md CONTRIBUTING.md %attr(755, root, root) %{_bindir}/traefik %attr(750, root, traefik) %{_sysconfdir}/traefik/ %attr(755, traefik, traefik) %{_sharedstatedir}/traefik/ %{_unitdir}/traefik.service %changelog ## START: Generated by rpmautospec * Mon Nov 24 2025 Grillo del Mal - 3.6.2-1 - Update to 3.6.2 * Mon Nov 17 2025 Grillo del Mal - 3.6.1-1 - Update to 3.6.1 * Mon Sep 29 2025 Grillo del Mal - 3.5.3-1 - Initial commit ## END: Generated by rpmautospec