Name: olpc-library Version: 2.0.3 Release: 1%{?dist} Summary: OLPC library files and scripts # library.js is AGPLv1 # olpc-library-update (aka make_index) is GPLv2+ License: GPLv2+ and AGPLv1 Group: Applications/Internet URL: http://wiki.laptop.org/go/Library Source0: http://dev.laptop.org/~dsd/olpc-library/%{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 %{?_smp_mflags} %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 * Tue Dec 1 2009 Daniel Drake <dsd@laptop.org> - 2.0.3-1 - new version * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 11 2009 Daniel Drake <dsd@laptop.org> - 2.0.2-1 - Initial import