File riverguile.spec of Package riverguile

#
# spec file for package riverguile
#
# Copyright (c) 2024 SUSE LLC
#
# 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.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           riverguile
Version:        0.1.0+git8
Release:        0
License:        GPL-3.0-only
URL:            https://git.sr.ht/~leon_plickat/riverguile
Summary:        Scripting using Guile Scheme for RiverWM
Source0:        riverguile-0.1.0+git8.tar.zst
BuildRequires:  guile-devel
BuildRequires:  make
BuildRequires:  pkg-config
BuildRequires:  scdoc
BuildRequires:  wayland-devel
BuildRequires:  wayland-protocols-devel
BuildRequires:  zstd
Requires:       guile
Suggests:       river

%description
Scripting layer for RiverWM using Guile Scheme.

%prep
%setup -q

%build
make

%check

%install
mkdir -p %{buildroot}%{_mandir}
mkdir -p %{buildroot}%{_datadir}/guile/3.0/
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install

%files
%license LICENSE
%doc README.md
%{_bindir}/riverguile
%{_mandir}/man1/riverguile.1%{?ext_man}
%{_datadir}/guile/3.0/riverguile.scm

%changelog
openSUSE Build Service is sponsored by