Files
libfyaml/libfyaml.spec

72 lines
1.8 KiB
RPMSpec

Name: libfyaml
Version: 0.9
Release: 1mamba
Summary: Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/pantoniou/libfyaml
Source: https://github.com/pantoniou/libfyaml.git/v%{version}/libfyaml-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Development
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%prep
%setup -q
autoreconf -fi
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libfyaml.so.*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/libfyaml.h
%{_libdir}/libfyaml.a
%{_libdir}/libfyaml.so
%{_libdir}/pkgconfig/libfyaml.pc
%doc README.md
%files tools
%defattr(-,root,root)
%{_bindir}/fy-*
%{_mandir}/man1/fy-*.1*
%changelog
* Fri Sep 19 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
- package created using the webbuild interface