%define gemname wavefile

Name:    gem-wavefile
Version: 1.1.2
Release: alt1

Summary: A pure Ruby library for reading and writing Wave sound files (*.wav)
License: MIT
Group:   Development/Ruby
Url:     https://github.com/dionixs/morsify

Packager: Alexander Lubyagin <dfpl@altlinux.org>

Source:  %name-%version.tar

BuildRequires(pre): automake
BuildRequires(pre): autoconf
BuildRequires(pre): libtool
BuildRequires(pre): rpm-build-ruby

%description
You can use this gem to create Ruby programs that work with audio, by reading
and writing Wave sound files (*.wav). Since it is written in pure Ruby
(as opposed to wrapping an existing C library), you can use it without having
to compile a separate extension.

%prep
%setup

%build
%ruby_build

%install
%ruby_install

%check
%ruby_test

%files
%doc README*
%_libexecdir/*

%changelog
* Tue Jul 02 2024 Alexander Lubyagin <dfpl@altlinux.org> 1.1.2-alt1
- Initial build for Sisyphus
