%define name myip %define version 1.1.0 %define release %mkrel 1rx3 %global debug_package %{nil} Name: %{name} Version: %{version} Release: %{release} Summary: Simple script to get your public IP License: GPL URL: https://git.rx3.org/gitea/rx3/myip Source0: myip Distribution: Rx3 Free Software Vendor: Rx3 Packager: Arnaud G. GIBERT Requires: bind-utils %description Simple script to get your public IP. %prep cp %{SOURCE0} . %build %install install -D -pm 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name} %check %files %{_bindir}/%{name} %changelog * Tue Sep 9 2025 Arnaud G. GIBERT - 1.1.0-1rx3.mga9 - Update to 1.1.0 * Sat Jul 26 2025 Arnaud G. GIBERT - 1.0.1-1rx3.mga9 - Filter output to remove errors and only keep IP * Sun Apr 6 2025 Arnaud G. GIBERT - 1.0.0-1rx3.mga9 - Create initial SPEC file for 1.0.0 on Mageia 9