%define gittag %(echo %version | cut -d_ -f2) Name: mbrola-voices Version: 20200330_fe05a0 Release: 2mamba Summary: Data files of mbrola speech synthesizer voices Group: System/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/numediart/MBROLA-voices Source: https://github.com/numediart/MBROLA-voices.git/master@%{gittag}/MBROLA-voices-%{version}.tar.bz2 License: Affero GNU Public License ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildArch: noarch Requires: mbrola %description Data files of mbrola speech synthesizer voices. %prep %setup -q -n MBROLA-voices-%{version} %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d -m0755 %{buildroot}%{_datadir}/mbrola cd data cp -a en1 it3 it4 %{buildroot}%{_datadir}/mbrola/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %lang(en) %{_datadir}/mbrola/en1 %lang(it) %{_datadir}/mbrola/it3 %lang(it) %{_datadir}/mbrola/it4 %doc LICENSE.md %changelog * Wed May 15 2024 Silvan Calarco 20200330_fe05a0-2mamba - use gittag from version instead of master * Sat Dec 02 2023 Automatic Build System 20200330_fe05a0-1mamba - automatic version update by autodist * Sun Oct 27 2019 Silvan Calarco 20191027git-1mamba - package created using the webbuild interface