Author: twittner Date: Thu Jan 3 18:01:43 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, NFY: doesn't build (fails during %install - python module), BRs, bconds and %files not checked (taken from template-lib.spec). Save work for now.
---- Files affected: SPECS: speech-dispatcher.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/speech-dispatcher.spec diff -u /dev/null SPECS/speech-dispatcher.spec:1.1 --- /dev/null Thu Jan 3 19:01:43 2008 +++ SPECS/speech-dispatcher.spec Thu Jan 3 19:01:38 2008 @@ -0,0 +1,118 @@ +# $Revision$, $Date$ +# Conditional build: +%bcond_with flite +%bcond_with ibmtts +%bcond_without espeak +%bcond_without nas +%bcond_without alsa +%bcond_without pulse +# +Summary: A device independent layer for speech synthesis +#Summary(pl.UTF-8): - +Name: speech-dispatcher +Version: 0.6.5 +Release: 0.1 +License: GPL v2 +Group: Applications +Source0: http://www.freebsoft.org/pub/projects/speechd/%{name}-%{version}.tar.gz +# Source0-md5: ad8cf47918207872ba976f2b2e47c02b +URL: http://www.freebsoft.org/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +%{?with_flite:Buildrequires: flite-devel} +%{?with_ibmtts:Buildrequires: ibmtts-devel} +%{?with_espeak:Buildrequires: espeak-devel} +%{?with_nas:Buildrequires: nas-devel} +%{?with_alsa:Buildrequires: alsa-lib-devel} +%{?with_pulse:Buildrequires: pulseaudio-devel} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Speech Dispatcher provides a device independent layer for speech +synthesis. + +#description -l pl.UTF-8 + +%package devel +Summary: Header files for speed-dispatcher library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki speed-dispatcher +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for speed-dispatcher library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki speed-dispatcher. + +%package static +Summary: Static speed-dispatcher library +Summary(pl.UTF-8): Statyczna biblioteka speed-dispatcher +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static speed-dispatcher library. + +%description static -l pl.UTF-8 +Statyczna biblioteka speed-dispatcher. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + %{?with_flite:--with-flite}%{!?with_flite:--without-flite} \ + %{?with_ibmtts:--with-ibmtts}%{!?with_flite:--without-ibmtts} \ + %{?with_espeak:--with-espeak}%{!?with_flite:--without-espeak} \ + %{?with_nas:--with-nas}%{!?with_flite:--without-nas} \ + %{?with_alsa:--with-alsa}%{!?with_flite:--without-nas} \ + %{?with_pulse:--with-pulse}%{!?with_flite:--without-pulse} + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%{_datadir}/%{name} + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_includedir}/* +%{_aclocaldir}/*.m4 +%{_pkgconfigdir}/*.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-01-03 18:01:38 twittner +- initial, NFY: doesn't build (fails during %install - python module), + BRs, bconds and %files not checked (taken from template-lib.spec). Save + work for now. + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
