ip-lookup/ip-lookup.spec

30 lines
647 B
RPMSpec
Raw Normal View History

2024-02-26 02:23:14 -05:00
Name: ip-lookup
2024-03-08 07:10:06 -05:00
Version: 1.5.1
2024-02-26 02:23:14 -05:00
Release: 1%{?dist}
Summary: A simple IP lookup tool
License: GPL
URL: https://deadzone.lol
BuildArch: x86_64
BuildRequires: gcc, libcurl-devel, cjson-devel
Requires: curl, cjson
%description
A simple IP lookup tool that shows city, ASN, and other information.
%prep
echo "Prep step; possibly unnecessary for direct binary build"
%build
make -C $(pwd)
%install
install -Dm755 bin/ip-lookup %{buildroot}%{_bindir}/ip-lookup
%files
%{_bindir}/ip-lookup
%changelog
* Mon Feb 26 2024 Rich <rich@bandaholics.cash> - 1.2-1
- Initial package for ip-lookup