%define name acstore %define version 20230519 %define release 1 Summary: Attribute Container Storage (ACStore). 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: Log2Timeline maintainers Packager: Log2Timeline maintainers Url: https://github.com/log2timeline/acstore BuildRequires: python3-devel, python3-setuptools %description ACStore, or Attribute Container Storage, provides a stand-alone implementation to read and write attribute container storage files. %package -n python3-%{name} Requires: python3-pyyaml >= 3.10 Summary: Python 3 module of Attribute Container Storage (ACStore). %description -n python3-%{name} ACStore, or Attribute Container Storage, provides a stand-alone implementation to read and write attribute container storage files. %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}/acstore %{python3_sitelib}/acstore*.egg-info %changelog * Fri May 19 2023 log2timeline development team 20230519-1 - Auto-generated