diff --git a/.cvsignore b/.cvsignore index e69de29..0ba592b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Speak-9.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..9977b52 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +sugar-speak-9-3_fc10:HEAD:sugar-speak-9-3.fc10.src.rpm:1229974821 diff --git a/sources b/sources index e69de29..afcae08 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f3d0d17cc7579d89cc52d5ad55cd4e92 Speak-9.tar.bz2 diff --git a/sugar-speak-checkout.sh b/sugar-speak-checkout.sh new file mode 100644 index 0000000..7e379c2 --- /dev/null +++ b/sugar-speak-checkout.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# This script bsed on a template from the Fedora Project wiki +# https://fedoraproject.org/wiki/Packaging/SugarActivityGuidelines#Sample_Checkout_Script +# +# sugar-speak-checkout.sh +VERSION=9 +NAME=Speak +rm -rf $NAME-$VERSION +git clone git://dev.laptop.org/activities/speak $NAME-$VERSION +tar -cjvf $NAME-$VERSION.tar.bz2 $NAME-$VERSION +rm -rf $NAME-$VERSION diff --git a/sugar-speak.spec b/sugar-speak.spec new file mode 100644 index 0000000..f70c486 --- /dev/null +++ b/sugar-speak.spec @@ -0,0 +1,61 @@ +Name: sugar-speak +Version: 9 +Release: 3%{?dist} +Summary: Speak for Sugar + +Group: Sugar/Activities +License: GPLv3+ +URL: http://wiki.laptop.org/go/Speak +Source0: Speak-%{version}.tar.bz2 +Source1: sugar-speak-checkout.sh +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{_id_u} -n) +BuildArch: noarch + +BuildRequires: python +BuildRequires: sugar-toolkit + +Requires: sugar +Requires: numpy +Requires: espeak + + +%description +Speak is a talking face for the XO laptop. Anything you type will be spoken +aloud using the XO's speech synthesizer, espeak. You can adjust the accent, +rate and pitch of the voice as well as the shape of the eyes and mouth. This +is a great way to experiment with the speech synthesizer, learn to type or +just have fun making a funny face for your XO. + +%prep +%setup -q -n Speak-%{version}/Speak.activity + + +%build +python ./setup.py build + + +%install +rm -rf %{buildroot} +./setup.py install --prefix=%{buildroot}/%{_prefix} +find %{buildroot}%{sugaractivitydir}Speak.activity/activity.py -type f -name \* -exec chmod 644 {} \; + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc NEWS COPYING +%{sugaractivitydir}/Speak.activity/ + + +%changelog +* Sun Dec 14 2008 Fabian Affolter - 9-3 +- Fixed add numpy and espeak to Requires + +* Wed Nov 19 2008 Fabian Affolter - 9-2 +- Fixed license to GPLv3+ + +* Sun Oct 19 2008 Fabian Affolter - 9-1 +- Initial package for Fedora