espeak-ng/espeak-ng.spec

131 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: espeak-ng
Version: 1.51.1
Release: 1mamba
Summary: eSpeak NG is an open source speech synthesizer that supports 108 languages and accents
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/espeak-ng/espeak-ng
Source: https://github.com/espeak-ng/espeak-ng.git/%{version}/espeak-ng-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: espeak
Obsoletes: espeak < 1.50
Provides: espeak-mbrola
Obsoletes: espeak-mbrola < 1.50
%description
eSpeak NG is an open source speech synthesizer that supports 108 languages and accents.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure \
CFLAGS="%{optflags} -fcommon"
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/espeak
%{_bindir}/espeak-ng
%{_bindir}/speak
%{_bindir}/speak-ng
%dir %{_datadir}/espeak-ng-data
%{_datadir}/espeak-ng-data/*_dict
%{_datadir}/espeak-ng-data/intonations
%dir %{_datadir}/espeak-ng-data/lang
%{_datadir}/espeak-ng-data/lang/*
%dir %{_datadir}/espeak-ng-data/mbrola_ph
%{_datadir}/espeak-ng-data/mbrola_ph/*
%{_datadir}/espeak-ng-data/phondata
%{_datadir}/espeak-ng-data/phondata-manifest
%{_datadir}/espeak-ng-data/phonindex
%{_datadir}/espeak-ng-data/phontab
%dir %{_datadir}/espeak-ng-data/voices
%dir %{_datadir}/espeak-ng-data/voices/!v
%{_datadir}/espeak-ng-data/voices/!v/*
%dir %{_datadir}/espeak-ng-data/voices/mb
%{_datadir}/espeak-ng-data/voices/mb/*
%{_datadir}/vim/addons/ftdetect/espeakfiletype.vim
%{_datadir}/vim/addons/syntax/espeaklist.vim
%{_datadir}/vim/addons/syntax/espeakrules.vim
%{_datadir}/vim/registry/espeak.yaml
%ifnarch arm %{ix86}
%{_mandir}/man1/espeak-ng.1*
%{_mandir}/man1/speak-ng.1*
%endif
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
#%{_libdir}/libespeak-ng-test.so.*
%{_libdir}/libespeak-ng.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/espeak-ng
%{_includedir}/espeak-ng/*.h
%{_includedir}/espeak/speak_lib.h
#%{_libdir}/libespeak-ng-test.a
#%{_libdir}/libespeak-ng-test.la
#%{_libdir}/libespeak-ng-test.so
%{_libdir}/libespeak-ng.a
%{_libdir}/libespeak-ng.la
%{_libdir}/libespeak-ng.so
%{_libdir}/libespeak.la
%{_libdir}/pkgconfig/espeak-ng.pc
%doc README.md
%changelog
* Wed Jun 22 2022 Automatic Build System <autodist@mambasoft.it> 1.51.1-1mamba
- automatic version update by autodist
* Sun Apr 03 2022 Automatic Build System <autodist@mambasoft.it> 1.51-1mamba
- automatic version update by autodist
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-2mamba
- obsolete espeak and espeak-mbrola
* Sun Dec 01 2019 Automatic Build System <autodist@mambasoft.it> 1.50-1mamba
- automatic version update by autodist
* Sat Nov 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.49.2-1mamba
- package created using the webbuild interface