# ###################################################################### # File: gnome-speech-ibmtts.spec # Version: 3.5 # Date: Wed Jul 27 13:41:01 CDT 2005 # Author: Ali Sobhi - IBM Research - Accessibility # # Description: # RPM spec file for packaging IBM Via Voice components of gnome-speech ######################################## # This SPEC file is created as a part of "bldgnome" process # duplicate the directory structure under "/usr/src/redhat" in a user-defined # directory (i.e. '/home/build/lap/rpmwork') # # The result of our jhbuild gets installed in $DestDir=/opt/lap/g2bin/2.10/ # in .jhbuilrc, we have 'prefix' set to "$DestDir" # # After the bldgnome is finished building the Gnome 2.10.x and put stuff in # $DestDir, copy this file to /home/build/lap/rpmwork/SPECS and run the # following command as user "build" # rpmbuild -bb gnome-speech-ibmtts.spec # # the rpm file can be found under RPMS/i386 :-) # rpm -qpil to get info on the package # rpm -qp --qf "${PREFIXES}\n" to see the prefix # # when installing this package, it would install in /usr, to install in # a different directory use the following # rpm -vhi --prefix # ######################################## # can put the following in this spec file: # %define _unpackaged_files_terminate_build 0 # # Put the following two lines in the ~/.rpmmacros # # %_topdir /home/build/lap/rpmwork # %_unpackaged_files_terminate_build 0 ###################################################################### # Name: gnome-speech-ibmtts Version: 0.3.8 Release: 6 Summary: IBM Text-to-Speech (TTS) enablement for Gnome Speech Group: Application/Sound License: CPL Vendor: YOUR COMPANY URL: http://cvs.gnome.org/viewcvs/gnome-speech/ Packager: YOUR NAME AutoReqProv: 0 Provides: Text-to-Speech Requires: gnome-speech, ibmtts_rte ExclusiveArch: i386 ExclusiveOS: linux BuildRoot: %{_builddir} Prefix: /usr %description Enable Gnome Speech to use the installed IBM ViaVoice Text-to-Speech (tts). %prep pwd rm -f %{_srcrpmdir}/* rm -f %{_rpmdir}/%{_arch}/%{name}-%{version}-%{release}.%{_arch}.rpm echo %{_builddir} echo $RPM_BUILD_ROOT echo %{_arch}/%{name}-%{version}-%{release}.%{_arch}.rpm echo Prep done %build echo Build done %install echo Install done in $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/viavoice-synthesis-driver /usr/lib/bonobo/servers/GNOME_Speech_SynthesisDriver_Viavoice.server