## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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 forgeurl https://codeberg.org/fbouynot/nftables-apply Version: 1.2.13 %forgemeta Name: nftables-apply Release: %{autorelease} Summary: A safer way to use nftables remotely License: GPL-3.0-or-later URL: %{forgeurl} Source0: %{forgesource} Requires: nftables coreutils systemd sed BuildArch: noarch %description A program to apply nftables rules, and automatically rollback if your new ruleset disconnects you. %prep %forgesetup %install mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1 cp -p %{name} %{buildroot}%{_bindir} cp -p %{name}.1 %{buildroot}%{_mandir}/man1 install -p -m 0755 %{name} %{buildroot}%{_bindir} install -p -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1 %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog ## START: Generated by rpmautospec * Tue Aug 26 2025 Leigh Scott - 1.2.13-9 - Add fullstop to description * Tue Aug 26 2025 fbouynot - 1.2.13-8 - feat: use forgesetup * Mon Aug 25 2025 fbouynot - 1.2.13-7 - fix(readme): add missing h3 title * Mon Aug 25 2025 fbouynot - 1.2.13-6 - fix: typo in readme * Mon Aug 25 2025 fbouynot - 1.2.13-5 - fix: change the source link * Mon Aug 25 2025 fbouynot - 1.2.13-4 - fix(readme): change the link to the script to target the main branch * Mon Aug 25 2025 fbouynot - 1.2.13-3 - Add content to the readme * Mon Aug 25 2025 fbouynot - 1.2.13-2 - fix(spec): remove the creation of the doc directory * Sat Aug 23 2025 fbouynot - 1.2.13-1 - Fix manpage * Sat Aug 23 2025 fbouynot - 1.2.12-3 - Fix manpage * Sat Aug 23 2025 fbouynot - 1.2.12-2 - Actualiser nftables-apply.1 * Sat Aug 23 2025 fbouynot - 1.2.12-1 - Fix manpage heading * Sat Aug 23 2025 fbouynot - 1.2.11-3 - Fix manpage heading * Sat Aug 23 2025 fbouynot - 1.2.11-2 - Fix manpage heading * Sat Aug 23 2025 fbouynot - 1.2.11-1 - Fix manpage formatting * Sat Aug 23 2025 fbouynot - 1.2.10-6 - Actualiser nftables-apply * Sat Aug 23 2025 fbouynot - 1.2.10-5 - Fix manpage formatting * Sat Aug 23 2025 fbouynot - 1.2.10-4 - Fix files def for man that is gzipped * Sat Aug 23 2025 fbouynot - 1.2.10-3 - Fix install and cp options * Sat Aug 23 2025 fbouynot - 1.2.10-2 - Harmonize buildroot var, add a missing cp step, factorize mkdir, remove unnecessary dir creation * Fri Aug 22 2025 fbouynot - 1.2.10-1 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.9-4 - 1.2.10 * Fri Aug 22 2025 fbouynot - 1.2.9-3 - Fix the manpage name * Fri Aug 22 2025 fbouynot - 1.2.9-2 - Fix the manpage name * Fri Aug 22 2025 fbouynot - 1.2.9-1 - Increase ver * Fri Aug 22 2025 fbouynot - 1.2.8-9 - Increase ver * Fri Aug 22 2025 fbouynot - 1.2.8-8 - Add the mangpage * Fri Aug 22 2025 fbouynot - 1.2.8-7 - Use helpers autochangelog, autorelease, and add forge meta * Fri Aug 22 2025 fbouynot - 1.2.8-6 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.8-5 - Add manpage * Fri Aug 22 2025 fbouynot - 1.2.8-4 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.8-3 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.8-2 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.8-1 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.8^20250822git48322db-4 - Attempt to fix the build by removing autosource * Fri Aug 22 2025 fbouynot - 1.2.8^20250822git48322db-3 - Attenmtp to fix the build by removing the autorelease helper * Fri Aug 22 2025 fbouynot - 1.2.8^20250822git48322db-2 - Attempt to fix the build by changing the setup instructions * Fri Aug 22 2025 fbouynot - 1.2.8^20250822git48322db-1 - Use helpers autochangelog, autorelease, and add forge meta * Fri Aug 22 2025 fbouynot - 1.2.8-8 - Set x permission for the script * Fri Aug 22 2025 fbouynot - 1.2.8-7 - Actualiser nftables-apply.spec * Fri Aug 22 2025 fbouynot - 1.2.8-6 - Actualiser README.md * Fri Aug 22 2025 fbouynot - 1.2.8-5 - Actualiser README * Fri Aug 22 2025 fbouynot - 1.2.8-4 - Attempt to remove the install step for doc and license * Fri Aug 22 2025 fbouynot - 1.2.8-3 - Move buildarch key * Fri Aug 22 2025 fbouynot - 1.2.8-2 - Add EOF * Fri Aug 22 2025 fbouynot - 1.2.8-1 - Add spec file ## END: Generated by rpmautospec