%define name artifacts %define version 20230928 %define release 1 Summary: ForensicArtifacts.com Artifact Repository. 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: Forensic artifacts Packager: Forensic artifacts Url: https://github.com/ForensicArtifacts/artifacts BuildRequires: python3-devel, python3-setuptools %description A free, community-sourced, machine-readable knowledge base of forensic artifacts that the world can use both as an information source and within other tools. %package -n %{name}-data Summary: Data files for ForensicArtifacts.com Artifact Repository. %description -n %{name}-data A free, community-sourced, machine-readable knowledge base of forensic artifacts that the world can use both as an information source and within other tools. %package -n python3-%{name} Requires: artifacts-data >= %{version}, python3-pyyaml >= 3.10 Summary: Python 3 module of ForensicArtifacts.com Artifact Repository. %description -n python3-%{name} A free, community-sourced, machine-readable knowledge base of forensic artifacts that the world can use both as an information source and within other tools. %package -n %{name}-tools Requires: python3-artifacts >= %{version} Summary: Tools for ForensicArtifacts.com Artifact Repository. %description -n %{name}-tools A free, community-sourced, machine-readable knowledge base of forensic artifacts that the world can use both as an information source and within other tools. %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 %{name}-data %defattr(644,root,root,755) %license LICENSE %doc ACKNOWLEDGEMENTS AUTHORS README %{_datadir}/%{name}/* %files -n python3-%{name} %license LICENSE %doc README %{python3_sitelib}/artifacts %{python3_sitelib}/artifacts*.egg-info %files -n %{name}-tools %{_bindir}/*.py %changelog * Sat Sep 30 2023 log2timeline development team 20230928-1 - Auto-generated