Name: dtc Version: 1.7.1 Release: 1mamba Summary: Device Tree Compiler Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/dgibson/dtc Source: https://github.com/dgibson/dtc.git/v%{version}/dtc-%{version}.tar.bz2 License: BSD, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libpython311-devel BuildRequires: libyaml-devel ## AUTOBUILDREQ-END BuildRequires: meson Requires: libfdt = %{?epoch:%epoch:}%{version}-%{release} %description The source tree contains the Device Tree Compiler (dtc) toolchain for working with device tree source and binary files and also libfdt, a utility library for reading and manipulating the binary format. %package -n libfdt Group: System/Libraries Summary: Shared libraries for %{name} %description -n libfdt This package contains shared libraries for %{name}. %package -n libfdt-devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: libfdt = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n libfdt-devel This package contains libraries and header files for developing applications that use %{name}. %package -n python-libfdt Group: System/Libraries/Python Summary: Python bindings to libfdt %description -n python-libfdt This package contains shared libraries for %{name}. %debug_package %prep %setup -q sed -i "s/@VERSION@/%{version}/" setup.py %build %meson %meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/convert-dtsv0 %{_bindir}/dtc %{_bindir}/dtdiff %{_bindir}/fdtdump %{_bindir}/fdtget %{_bindir}/fdtoverlay %{_bindir}/fdtput %files -n python-libfdt %defattr(-,root,root) %{python3_sitearch}/__pycache__/libfdt.cpython-*.pyc %{python3_sitearch}/_libfdt.cpython-*.so %dir %{python3_sitearch}/libfdt-%{version}-py*.egg-info %{python3_sitearch}/libfdt-%{version}-py*.egg-info/* %{python3_sitearch}/libfdt.py %files -n libfdt %defattr(-,root,root) %{_libdir}/libfdt.so.* %doc GPL BSD-2-Clause %files -n libfdt-devel %defattr(-,root,root) %{_includedir}/fdt.h %{_includedir}/libfdt.h %{_includedir}/libfdt_env.h %{_libdir}/libfdt.a %{_libdir}/libfdt.so %{_libdir}/pkgconfig/libfdt.pc %doc README.license README.md TODO %changelog * Sat Sep 21 2024 Automatic Build System 1.7.1-1mamba - automatic version update by autodist * Sat Aug 26 2023 Silvan Calarco 1.7.0-1mamba - package created using the webbuild interface