diff options
Diffstat (limited to '0.84/platform/sugar/SPECS/sugar.spec')
-rw-r--r-- | 0.84/platform/sugar/SPECS/sugar.spec | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/0.84/platform/sugar/SPECS/sugar.spec b/0.84/platform/sugar/SPECS/sugar.spec new file mode 100644 index 0000000..3f8864f --- /dev/null +++ b/0.84/platform/sugar/SPECS/sugar.spec @@ -0,0 +1,129 @@ +# NOTE: Do not edit, file was generated by jhconvert + +Name: sugar +Version: 0.84.5 +Release: 1 +Summary: Sugar window manager +License: GPL/LGPL +Group: System Environment/Libraries +Url: http://sugarlabs.org/ + +Source: http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.84.5.tar.bz2 + +Patch: sugar-0.84.5-sugar-start-script.patch + +Requires: sugar-artwork >= 0.84.1 +Requires: dbus-1 +Requires: dbus-1-x11 +Requires: gconf2 +Requires: gstreamer-0_10-plugins-base +Requires: python-gstreamer-0_10 +Requires: gtk2 +Requires: hal +Requires: gnome-python-desktop +Requires: matchbox-window-manager +Requires: python-numpy +Requires: openssh +Requires: python-gtk +Requires: python-gtksourceview +Requires: python +Requires: python-cjson +Requires: sugar-toolkit >= 0.84.4 +Requires: xorg-x11 + +BuildRequires: perl-XML-Parser +BuildRequires: gconf2-devel +BuildRequires: gettext +BuildRequires: gtk2-devel +BuildRequires: intltool >= 0.33 +BuildRequires: python-gtk-devel +BuildRequires: python-devel +BuildRequires: fdupes + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +This package contains the base modules for Sugar. +Sugar is a graphical user interface aimed at children which promotes sharing +and collaborative learning. It was introduced on the One Laptop Per Child +(OLPC) XO laptop but is useful on other devices as well. + +%package emulator +Summary: The emulator for the Sugar Desktop Environment +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +Requires: x11-server-xephyr +%description emulator +This package contains the Sugar emulator. It is using Xephyr +to run a Sugar environment similar to what is on the XO laptop. + +%prep +%setup -q -n sugar-0.84.5 +%patch -p1 + +%build +%configure +make + +%install +rm -rf %{buildroot} +make \ + DESTDIR=%{buildroot} \ + install +%fdupes -s %{buildroot} +%find_lang sugar + +%post +if (update-mime-database -v &> /dev/null); then + update-mime-database "%{_datadir}/mime" > /dev/null +fi +export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` +gconftool-2 --makefile-install-rule \ + %{_sysconfdir}/gconf/schemas/sugar.schemas > /dev/null || : + +%preun +if [ "$1" -eq 0 ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule \ + %{_sysconfdir}/gconf/schemas/sugar.schemas > /dev/null || : +fi + +%postun +if (update-mime-database -v &> /dev/null); then + update-mime-database "%{_datadir}/mime" > /dev/null +fi + +%clean +rm -rf %{buildroot} + +%files -f sugar.lang +%defattr(-,root,root,-) +%dir %{_datadir}/sugar +%config(noreplace) %{_sysconfdir}/dbus*/system.d/* +%config(noreplace) %{_sysconfdir}/gconf/schemas/* +%{_bindir}/* +%exclude %{_bindir}/sugar-emulator +%(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/* +%{_datadir}/sugar/* +%{_datadir}/mime/packages/* +%{_datadir}/xsessions/sugar.desktop +%doc AUTHORS COPYING README + +%files emulator +%defattr(-,root,root,-) +%{_bindir}/sugar-emulator + +%changelog +* Thu Apr 23 2009 alsroot@member.fsf.org +- Switch to jhconvert +* Sat Mar 7 2009 lars@linux-schulserver.de +- use fdupes +* Fri Mar 6 2009 cyberorg@opensuse.org +- Update to 0.84.0 +- See http://sugarlabs.org/go/DevelopmentTeam/Release/Releases/Sucrose/0.84.0 +* Fri Jan 16 2009 cyberorg@opensuse.org +- Update to 0.83.4 +* Wed Aug 27 2008 cyberorg@opensuse.org +- Update to 0.82.0 +* Tue Aug 26 2008 cyberorg@opensuse.org +- Initial packages for openSUSE based on Fedora 10 |