From 983f534deb3d982c10dfa8431759e00a978d2982 Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Thu, 10 Nov 2022 21:21:04 -0800 Subject: [PATCH] Add muon --- anda/tools/muon/anda.hcl | 5 +++++ anda/tools/muon/muon.spec | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 anda/tools/muon/anda.hcl create mode 100644 anda/tools/muon/muon.spec diff --git a/anda/tools/muon/anda.hcl b/anda/tools/muon/anda.hcl new file mode 100644 index 0000000000..2e4039a30e --- /dev/null +++ b/anda/tools/muon/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "muon.spec" + } +} \ No newline at end of file diff --git a/anda/tools/muon/muon.spec b/anda/tools/muon/muon.spec new file mode 100644 index 0000000000..2a036d7577 --- /dev/null +++ b/anda/tools/muon/muon.spec @@ -0,0 +1,39 @@ +Name: muon +Version: 0.1.0 +Release: 1%{?dist} +Summary: A meson-compatible build system. + +# muon is licensed under the GPL version 3 (see LICENSE). Tests under tests/project were copied from the meson project tests and are licensed under Apache 2.0. +License: GPLv3 and ASL 2.0 +URL: https://muon.build/ +Source: https://git.sr.ht/~lattis/muon/archive/%{version}.tar.gz + +Requires: libcurl +Requires: libarchive +Requires: libpkgconf + +BuildRequires: meson +BuildRequires: gcc +BuildRequires: cmake +BuildRequires: libcurl-devel +BuildRequires: libarchive-devel +BuildRequires: libpkgconf-devel +BuildRequires: scdoc + +%description +muon is an implementation of the meson build system in c99 with minimal dependencies. + +%prep +%autosetup + +%build +%meson -Dtracy=disabled +%meson_build + +%install +%meson_install + +%files +/usr/bin/muon +%{_mandir}/man1/muon* +%{_mandir}/man5/meson*