From a259d7eeaf6e1c91999f86a16ff94586a32b3f10 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Mar 06 2009 09:18:42 +0000 Subject: - make dependency only on gnome-python2-evince to not drag in all gnome-python --- diff --git a/.cvsignore b/.cvsignore index e69de29..f15dabd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Read-65.tar.bz2 diff --git a/sources b/sources index e69de29..ac4f378 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3a7c7cc764e139691a7f57c16cd6433c Read-65.tar.bz2 diff --git a/sugar-read.spec b/sugar-read.spec new file mode 100644 index 0000000..96b67ca --- /dev/null +++ b/sugar-read.spec @@ -0,0 +1,53 @@ +Name: sugar-read +Version: 65 +Release: 2%{?dist} +Summary: A document reader for Sugar +Group: Sugar/Activities +License: GPLv2+ +URL: http://wiki.laptop.org/go/Read +Source0: http://download.sugarlabs.org/sources/sucrose/fructose/Read/Read-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: python +BuildRequires: sugar-toolkit +Requires: gnome-python2-evince + +BuildArch: noarch + +%description +The Read activity allows the laptop to act as a book reader. It has a +simple interface, and will view many kinds of text and image-based book- +like materials. It will have particular strengths in handheld mode, with +extremely low power consumption and simple navigation controls. + +Read can read PDF files, single-page TIFF files, and also read DJVU files. + +%prep +%setup -q -n Read-%{version} + +%build +python ./setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir} +./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix} + +%find_lang org.laptop.sugar.ReadActivity + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f org.laptop.sugar.ReadActivity.lang +%defattr(-,root,root,-) +%doc COPYING AUTHORS +%{sugaractivitydir}/Read.activity/ + + +%changelog +* Fri Mar 06 2009 Simon Schampijer - 65-2 +- make dependency only on gnome-python2-evince to not drag in + all gnome-python + +* Wed Mar 04 2009 Simon Schampijer - 65-1 +- Initial packaging