%define __spec_install_post %{nil}
%define __os_install_post %{_dbpath}/brp-compress
%define debug_package %{nil}

Name: dokkoo
Summary: Mokk (Macro Output Key Kit) implementation written in Rust.
Version: 0.3.1
Release: 439112b%{?dist}
License: AGPLv3+
Group: Applications/System
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/Dirout/dokkoo

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
%{summary}

%prep
%setup -q

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
cp -a * %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/*
/usr/lib/libdokkoo.so
/usr/share/doc/dokkoo/COPYING
/usr/share/doc/dokkoo/README