mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-05 11:22:19 +00:00
68 lines
1.7 KiB
RPMSpec
68 lines
1.7 KiB
RPMSpec
Name: muon
|
|
Version: 0.5.0
|
|
Release: 2%?dist
|
|
Summary: A meson-compatible build system
|
|
|
|
# https://git.sr.ht/~lattis/muon/tree/master/item/LICENSES
|
|
License: GPL-3.0-only AND Apache-2.0 AND Unlicense AND MIT AND Python-2.0
|
|
URL: https://muon.build/
|
|
Source: https://git.sr.ht/~lattis/muon/archive/%{version}.tar.gz
|
|
Patch0: fix-tracy-header-placement-quirk.patch
|
|
# mdbook removed multilingual support, this patch can be removed when this package next bumps
|
|
Patch1: remove-multilingual-field.patch
|
|
|
|
BuildRequires: meson
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: libpkgconf-devel
|
|
BuildRequires: scdoc
|
|
BuildRequires: git-core
|
|
%if %{?fedora} < 44
|
|
BuildRequires: pkgconfig(tracy) %dnl Temporary fix while Tracy does not build for 44+
|
|
%endif
|
|
BuildRequires: pkgconfig(libattr)
|
|
BuildRequires: pkgconfig(bzip2)
|
|
BuildRequires: pkgconfig(libb2)
|
|
BuildRequires: pkgconfig(liblz4)
|
|
BuildRequires: pkgconfig(libzstd)
|
|
BuildRequires: pkgconfig(liblzma)
|
|
BuildRequires: pkgconfig(lzo2)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(libacl)
|
|
BuildRequires: python3-pyyaml
|
|
BuildRequires: mandoc
|
|
BuildRequires: mdbook
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
An implementation of the meson build system in c99 with minimal dependencies.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%conf
|
|
%meson --wrap-mode=nofallback \
|
|
%if %{?fedora} >= 44
|
|
-Dtracy=disabled
|
|
%endif
|
|
|
|
%build
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%files
|
|
%{_bindir}/muon
|
|
%{_mandir}/man1/muon*
|
|
%{_mandir}/man5/meson*
|
|
%{_mandir}/man3/meson-reference.3.*
|
|
|
|
%changelog
|
|
* Mon Apr 20 2026 Owen Zimmerman <owen@fyralabs.com>
|
|
- Update spec, add tracy patch
|