File aru.spec of Package aru

#
# spec file for package aru
#
# Copyright (c) 2023 Samu Voutilainen
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.


Name:           aru
Version:        2.0.0
Release:        0
Summary:        Improved version of aa-remove-unknown
License:        ISC
Group:          Productivity/Security
URL:            https://git.sr.ht/~smar/aru
Source0:        %{name}-%{version}.tar.zst
Source1:        crystal-smar.tar.zst
BuildRequires:  crystal
BuildRequires:  cmake >= 3.20
BuildRequires:  libyaml-devel

%description
SUSE 15-SP3’s `aa-remove-unknown` is missing some features these
profiles uses. Most notably, it can’t scan but one directory.

This script implements the features I need to have.

%prep
%setup

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%license LICENSE
%doc README.adoc

%attr(0755,root,root) %{_sbindir}/aru

%changelog