%define name dtfabric %define version 20230520 %define release 1 Summary: Data type fabric (dtfabric) Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.gz License: Apache License, Version 2.0 Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Joachim Metz Packager: Joachim Metz Url: https://github.com/libyal/dtfabric BuildRequires: python3-devel, python3-setuptools %description dtFabric, or data type fabric, is a project to manage data types and structures, as used in the libyal projects. %package -n python3-%{name} Requires: python3-pyyaml >= 3.10 Summary: Python 3 module of Data type fabric (dtfabric) %description -n python3-%{name} dtFabric, or data type fabric, is a project to manage data types and structures, as used in the libyal projects. %package -n %{name}-tools Requires: python3-dtfabric >= %{version} Summary: Tools for Data type fabric (dtfabric) %description -n %{name}-tools dtFabric, or data type fabric, is a project to manage data types and structures, as used in the libyal projects. %prep %autosetup -n %{name}-%{version} %build %py3_build %install %py3_install rm -rf %{buildroot}/usr/lib/python*/site-packages/*.egg-info/requires.txt rm -rf %{buildroot}/usr/share/doc/%{name}/ %clean rm -rf %{buildroot} %files -n python3-%{name} %license LICENSE %doc README %{python3_sitelib}/dtfabric %{python3_sitelib}/dtfabric*.egg-info %files -n %{name}-tools %{_bindir}/* %exclude %{_bindir}/* %changelog * Sun Mar 3 2024 log2timeline development team 20230520-1 - Auto-generated