File piper-voices.spec of Package piper-voices
#
# spec file for package piper-voices
#
# Copyright (c) 2024 Andreas Schneider
#
# 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: piper-voices
Version: 1.0.0
Release: 0
Summary: Voice files for Piper TTS
License: CC-BY-4.0 and CC-BY-SA-4.0 and CC-BY-NC-SA-4.0 and CC0-1.0 and Unlicense
URL: https://huggingface.co/rhasspy/piper-voices/
# Created with: prepare_sources.sh
# Note that you need git-lfs installed to create the tarball
Source0: piper-voices-%{version}.tar.zst
BuildArch: noarch
BuildRequires: rsync
BuildRequires: zstd
Recommends: pipe-voices-en
%description
Voice files for Piper text to speech system.
%prep
%autosetup -p1 -n %{name}
%build
# empty
%install
install -d -m 0755 %{buildroot}%{_datadir}/%{name}
install -m 0644 voices.json %{buildroot}%{_datadir}/%{name}/voices.json
%files
%doc README.md
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/voices.json
%changelog