]> git.pld-linux.org Git - packages/espeak.git/blobdiff - espeak.spec
- up to 1.26
[packages/espeak.git] / espeak.spec
index ff7d3c860d741c605960d2a4d81a4658639cd0c7..85093a2f0bda546c1456007663e0dcdcdbf70d4e 100644 (file)
@@ -1,13 +1,12 @@
 Summary:       eSpeak - speech synthesizer for English and other languages
 Summary(pl.UTF-8):     eSpeak - syntezator mowy dla jÄ™zyka angielskiego i innych
 Name:          espeak
-Version:       1.24
-Release:       2
+Version:       1.26
+Release:       1
 License:       GPL v2
 Group:         Applications
 Source0:       http://dl.sourceforge.net/espeak/%{name}-%{version}-source.zip
-# Source0-md5: 6b00c634a18caca91e8c94ca36675304
-Patch0:                %{name}-Makefile.patch
+# Source0-md5: fa29ac3c24df96925b4df98f3f19e2be
 URL:           http://espeak.sourceforge.net/
 BuildRequires: libstdc++-devel
 BuildRequires: portaudio-devel >= 19
@@ -113,29 +112,26 @@ eSpeak - biblioteki statyczne.
 
 %prep
 %setup -q -n %{name}-%{version}-source
-%patch0 -p1
 # remove pernicious headers to avoid using them during build instead of /usr/include/portaudio.h system header
 rm -f src/portaudio{18,19,}.h
 
 %build
-cd src
-%{__make} \
+%{__make} -C src \
        CXX="%{__cxx}" \
        CXXFLAGS="%{rpmcxxflags}" \
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-cd src
-%{__make} install \
+%{__make} -C src install \
        DESTDIR=$RPM_BUILD_ROOT \
        LIBDIR="%{_libdir}"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -187,6 +183,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}-data/voices/mb/mb-de5
 %{_datadir}/%{name}-data/voices/mb/mb-de4-en
 %{_datadir}/%{name}-data/voices/mb/mb-de5-en
+%{_datadir}/%{name}-data/voices/mb/mb-de7
 %{_datadir}/%{name}-data/voices/mb/mb-en1
 %{_datadir}/%{name}-data/voices/mb/mb-fr1
 %{_datadir}/%{name}-data/voices/mb/mb-fr1-en
@@ -268,11 +265,12 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%ghost %attr(755,root,root) %{_libdir}/lib*.so.[0-9]
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/*
 %attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.066686 seconds and 4 git commands to generate.