mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-18 17:40:38 +00:00
35 lines
935 B
RPMSpec
35 lines
935 B
RPMSpec
Name: netto
|
|
Version: 0.1.4
|
|
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 -Dpm755 src/netto -t %buildroot%_bindir
|
|
install -Dpm644 assets/netto.desktop -t %buildroot%_datadir/applications/
|
|
install -Dpm644 assets/netto.svg -t %buildroot%_iconsdir/hicolor/scalable/apps/
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE.md
|
|
%_bindir/netto
|
|
%_datadir/applications/netto.desktop
|
|
%_iconsdir/hicolor/scalable/apps/netto.svg
|