Name: mrsh Version: 20210417 Release: 1%{?dist} Summary: A minimal POSIX shell License: MIT URL: https://git.sr.ht/~emersion/mrsh Source0: %{url}/archive/master.tar.gz BuildRequires: meson BuildRequires: gcc BuildRequires: pkgconfig(readline) Requires: libmrsh = %{version}-%{release} %description mrsh is a minimal POSIX-compliant shell. %package -n libmrsh Summary: POSIX shell library %description -n libmrsh This package contains the shared object files for libmrsh, a library for creating POSIX-compliant shells. %package -n libmrsh-devel Summary: Header files for libmrsh Requires: libmrsh%{?_isa} = %{version}-%{release} %description -n libmrsh-devel This package contains header files for building programs that depend on libmrsh. %prep %autosetup -n mrsh-master %build %meson %meson_build %install %meson_install %files %license LICENSE %{_bindir}/mrsh %files -n libmrsh %license LICENSE %{_libdir}/libmrsh.so %{_libdir}/libmrsh.so.0 %{_libdir}/libmrsh.so.0.0.0 %files -n libmrsh-devel %license LICENSE %{_includedir}/mrsh %{_libdir}/pkgconfig/mrsh.pc