Group :: Som
RPM: speech-dispatcher
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: speech-dispatcher
Version: 0.6.7
Release: alt2
License: %gpl2plus
Group: Sound
Summary: Speech dispatcher is a speech output processing daemon
URL: http://www.freebsoft.org/speechd
Packager: Michael Pozhidaev <msp at altlinux.ru>
# Automatically added by buildreq on Sun Sep 14 2008
BuildRequires: flite-devel gcc-c++ glib2-devel glibc-devel-static libalsa-devel libdotconf-devel libespeak-devel
BuildRequires: rpm-build-licenses rpm-build-python python-base python-dev
Source0: %name-%version.tar.gz
Patch1: speech-dispatcher-0.6.7-alt-flite.patch
Patch2: speech-dispatcher-0.6.7-alt-python.patch
%add_python_req_skip speechd_config
%description
FIXME
%package -n libspeechd
Summary: Client library for Speech Dispatcher
Group: System/Libraries
%description -n libspeechd
Application can use this library to communicate with Speech Dispatcher daemon
and produce speech output with it.
%package -n libspeechd-devel
Group: Development/C
Summary: Development files to use libspeechd to connect to Speech Dispatcher
%description -n libspeechd-devel
Application developers can use this library to connect to Speech Dispatcher daemon
and produce speech output with it
%package -n python-module-speechd
Summary: Python client for Speech Dispatcher
Group: Development/Python
%description -n python-module-speechd
This python module allows programmers access
Speech Dispatcher daemon and send text data to it.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%configure
make
%install
%make_install DESTDIR='%buildroot' install
# This package has custom python installation via distutils setup
# and uses /usr/lib directory even for x86_64<;
if ! [ -d %buildroot%python_sitelibdir ]; then
cp -r %buildroot/usr/lib/* %buildroot%_libdir
fi
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%post -n libspeechd
%post_ldconfig
%postun -n libspeechd
%postun_ldconfig
%files
%_bindir/*
%config %_sysconfdir/%name
%_libdir/%name
%_libdir/%name-modules
%_datadir/sounds/%name
%_datadir/%name
%_infodir/*
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%files -n libspeechd
%_libdir/libspeechd.so.2
%_libdir/libspeechd.so.2.1.1
%files -n libspeechd-devel
%_includedir/*
%_libdir/libspeechd.so
%files -n python-module-speechd
%python_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: speech-dispatcher
Version: 0.6.7
Release: alt2
License: %gpl2plus
Group: Sound
Summary: Speech dispatcher is a speech output processing daemon
URL: http://www.freebsoft.org/speechd
Packager: Michael Pozhidaev <msp at altlinux.ru>
# Automatically added by buildreq on Sun Sep 14 2008
BuildRequires: flite-devel gcc-c++ glib2-devel glibc-devel-static libalsa-devel libdotconf-devel libespeak-devel
BuildRequires: rpm-build-licenses rpm-build-python python-base python-dev
Source0: %name-%version.tar.gz
Patch1: speech-dispatcher-0.6.7-alt-flite.patch
Patch2: speech-dispatcher-0.6.7-alt-python.patch
%add_python_req_skip speechd_config
%description
FIXME
%package -n libspeechd
Summary: Client library for Speech Dispatcher
Group: System/Libraries
%description -n libspeechd
Application can use this library to communicate with Speech Dispatcher daemon
and produce speech output with it.
%package -n libspeechd-devel
Group: Development/C
Summary: Development files to use libspeechd to connect to Speech Dispatcher
%description -n libspeechd-devel
Application developers can use this library to connect to Speech Dispatcher daemon
and produce speech output with it
%package -n python-module-speechd
Summary: Python client for Speech Dispatcher
Group: Development/Python
%description -n python-module-speechd
This python module allows programmers access
Speech Dispatcher daemon and send text data to it.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%configure
make
%install
%make_install DESTDIR='%buildroot' install
# This package has custom python installation via distutils setup
# and uses /usr/lib directory even for x86_64<;
if ! [ -d %buildroot%python_sitelibdir ]; then
cp -r %buildroot/usr/lib/* %buildroot%_libdir
fi
%post
%install_info %name.info
%preun
%uninstall_info %name.info
%post -n libspeechd
%post_ldconfig
%postun -n libspeechd
%postun_ldconfig
%files
%_bindir/*
%config %_sysconfdir/%name
%_libdir/%name
%_libdir/%name-modules
%_datadir/sounds/%name
%_datadir/%name
%_infodir/*
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%files -n libspeechd
%_libdir/libspeechd.so.2
%_libdir/libspeechd.so.2.1.1
%files -n libspeechd-devel
%_includedir/*
%_libdir/libspeechd.so
%files -n python-module-speechd
%python_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui