mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
(cherry picked from commit ca9cef9326)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "netto.spec"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("madonuko/netto"));
|
||||
Reference in New Issue
Block a user