Name: olpc-library Version: 2.0.1 Release: 1%{?dist} Summary: OLPC library files and scripts Group: Applications/Internet License: GPLv2+ and AGPLv1 URL: http://wiki.laptop.org/go/Library Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: sugar, python-jinja %description Scripts to maintain the OLPC Library index page. %prep %setup -q %build %configure make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # for legacy purposes (sugar uses this path) ln -s %{_bindir}/olpc-library-update $RPM_BUILD_ROOT/%{_datadir}/library-common/make_index.py %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README LICENSE COPYING.AGPLv1 COPYING.GPLv2 %{_datadir}/library-common/ %{_bindir}/olpc-library-update %changelog * Wed Jul 8 2009 Daniel Drake - 2.0.1-1 - Initial import