blob: 14ff25d68ef00ae97949fac529f17f0a1e1d64d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# NOTE: Do not edit, file was generated by jhconvert
Name: sugar-write
Version: 63
Release: 2
Summary: Word processor for Sugar
License: GPLv2+
Group: Sugar/Activities
Url: http://sugarlabs.org/
Source: http://download.sugarlabs.org/sources/sucrose/fructose/Write/Write-63.tar.bz2
Requires: abiword >= 2.6.8
Requires: python-abiword
Requires: sugar-toolkit >= 0.84.4
BuildRequires: gettext
BuildRequires: sugar-toolkit >= 0.84.4
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
The Write activity provides a word processor for the Sugar interface.
%prep
%setup -q -n Write-63
%build
python \
setup.py \
build
%install
rm -rf %{buildroot}
[ -f setup.py ] && chmod 0755 setup.py
python \
setup.py \
install \
--prefix=%{buildroot}/%{_prefix}
%fdupes -s %{buildroot}
%find_lang org.laptop.AbiWordActivity
%clean
rm -rf %{buildroot}
%files -f org.laptop.AbiWordActivity.lang
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%doc NEWS
%changelog
|