Blob Blame History Raw
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 <simon@schampijer.de> - 65-2
- make dependency only on gnome-python2-evince to not drag in 
  all gnome-python

* Wed Mar 04 2009 Simon Schampijer <simon@schampijer.de> - 65-1
- Initial packaging