myip/SPEC/myip.spec

58 lines
1011 B
RPMSpec

%define name myip
%define version 1.0.1
%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 <arnaud@rx3.net>
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
* Sat Jul 26 2025 Arnaud G. GIBERT <arnaud@rx3.net> - 1.0.1-1rx3.mga9
- Filter output to remove errors and only keep IP
* Sun Apr 6 2025 Arnaud G. GIBERT <arnaud@rx3.net> - 1.0.0-1rx3.mga9
- Create initial SPEC file for 1.0.0 on Mageia 9