add: mkfstab (#1303) (#1307)

(cherry picked from commit c012c6f94e)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-05-31 12:15:48 -07:00
committed by GitHub
parent 00715a84b0
commit a7c9360fd0
3 changed files with 32 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "mkfstab.spec"
}
}
+26
View File
@@ -0,0 +1,26 @@
Name: mkfstab
Version: 0.1.1
Release: 1%?dist
Summary: An alternative to genfstab: generate output suitable for addition to /etc/fstab
License: MIT
URL: https://github.com/Ultramarine-Linux/mkfstab
Source0: %url/archive/refs/tags/v%version.tar.gz
BuildRequires: nim anda-srpm-macros
%description
An alternative to genfstab from Arch Linux. This is a dead simple but faster implementation of genfstab.
%prep
%autosetup
%build
nimble setup -y
nim c %nim_c src/%name
%install
install -Dpm755 src/%name %buildroot%_bindir/%name
%files
%doc README.md
%license LICENSE
%_bindir/%name
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("Ultramarine-Linux/mkfstab"));