Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zzndb001
nali
nali.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nali.spec of Package nali
# # spec file for package nali # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: nali Version: 0.8.1 Release: 0 Summary: An offline tool for querying IP geographic information and CDN provider License: MIT URL: https://github.com/zu1k/nali Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.xz BuildRequires: go >= 1.19 %description Feature * Multi database support - Chunzhen qqip database - ZX ipv6 database - Geoip2 city database - IPIP free database - ip2region database - DB-IP database - IP2Location DB3 LITE database * CDN provider query * Pipeline support * Interactive query * Both ipv4 and ipv6 supported * Multilingual support * Offline query * Full platform support * Color print %prep %setup -q -a 1 %build %define version_package github.com/zu1k/nali/internal/constant info="-X '%{version_package}.Version=%{version}'" go build -mod vendor -buildmode pie -trimpath -ldflags "${info} -w -s" -o %{name} main.go %install install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} %post %postun %files %license LICENSE %doc README.md README_en.md %{_bindir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor