add: netto (#5832) (#5835)

(cherry picked from commit ca9cef9326)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2025-07-13 20:17:56 -07:00
committed by GitHub
parent 842c763258
commit ae16b09766
3 changed files with 36 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "netto.spec"
}
}
+30
View File
@@ -0,0 +1,30 @@
Name: netto
Version: 0.1.0
Release: 1%?dist
Summary: 📡 GUI Network Applet
License: GPL-3.0-or-later
URL: https://github.com/madonuko/netto
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildRequires: anda-srpm-macros nim
BuildRequires: pkgconfig(libhelium-1)
BuildRequires: pkgconfig(libnm)
%description
ネット (codename 🫘 納豆) is the new solution for setting up a new network.
Written proudly in libhelium and Nim, using libnm.
%prep
%autosetup -Sgit
%build
atlas init
atlas rep atlas.lock
%nim_c src/netto
%install
install -Dm755 src/netto -t %buildroot%_bindir
%files
%doc README.md
%license LICENSE.md
%_bindir/netto
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("madonuko/netto"));