1 |
Name: sugar-toolkit-gtk3 |
2 |
Version: 0.95.3 |
3 |
Release: %mkrel 1 |
4 |
Summary: Sugar toolkit |
5 |
Group: Graphical desktop/Other |
6 |
License: LGPLv2+ |
7 |
URL: http://wiki.laptop.org/go/Sugar |
8 |
Source: http://download.sugarlabs.org/sources/sucrose/glucose/%{name}/%{name}-%{version}.tar.bz2 |
9 |
Patch0: sugar-toolkit-gtk3-0.95.2-underlink.patch |
10 |
BuildRequires: pkgconfig |
11 |
BuildRequires: gettext |
12 |
BuildRequires: gtk+3-devel |
13 |
BuildRequires: perl-XML-Parser |
14 |
BuildRequires: libsm-devel |
15 |
BuildRequires: alsa-lib-devel |
16 |
BuildRequires: intltool |
17 |
BuildRequires: gobject-introspection-devel |
18 |
BuildRequires: librsvg-devel |
19 |
BuildRequires: python-devel |
20 |
BuildRequires: pygtk2.0-devel |
21 |
BuildRequires: python-gobject-devel |
22 |
|
23 |
Requires: dbus-python |
24 |
Requires: sugar-datastore |
25 |
Requires: python-simplejson |
26 |
Requires: python-dateutil |
27 |
Requires: unzip |
28 |
Requires: pygobject3 |
29 |
|
30 |
%description |
31 |
Sugar is the core of the OLPC Human Interface. The toolkit provides |
32 |
a set of widgets to build HIG compliant applications and interfaces |
33 |
to interact with system services like presence and the data store. |
34 |
This is the toolkit depending on GTK3. |
35 |
|
36 |
%package devel |
37 |
Summary: Invokation information for accessing SugarExt-1.0 |
38 |
Group: Development/Libraries |
39 |
Requires: %{name} = %{version}-%{release} |
40 |
|
41 |
%description devel |
42 |
This package contains the invocation information for accessing |
43 |
the SugarExt-1.0 library through gobject-introspection. |
44 |
|
45 |
%prep |
46 |
%setup -q |
47 |
%apply_patches |
48 |
|
49 |
%build |
50 |
%define __libtoolize true |
51 |
%configure |
52 |
make V=1 |
53 |
|
54 |
%install |
55 |
%make_install |
56 |
%find_lang %name |
57 |
|
58 |
# static files unwanted |
59 |
rm %{buildroot}/%{_libdir}/libsugarext.la |
60 |
|
61 |
|
62 |
%files -f %{name}.lang |
63 |
%defattr(-,root,root,-) |
64 |
%doc COPYING README |
65 |
%{python_sitelib}/* |
66 |
%{_libdir}/girepository-1.0/SugarExt-1.0.typelib |
67 |
%{_libdir}/libsugarext.so.0 |
68 |
%{_libdir}/libsugarext.so.0.0.0 |
69 |
%{_bindir}/sugar-activity |
70 |
|
71 |
%files devel |
72 |
%defattr(-,root,root,-) |
73 |
%{_libdir}/libsugarext.so |
74 |
%{_datadir}/gir-1.0/SugarExt-1.0.gir |
75 |
|