1 |
Summary: A desktop wiki and outliner |
2 |
Name: zim |
3 |
Version: 0.52 |
4 |
Release: %mkrel 1 |
5 |
Source: http://www.zim-wiki.org/downloads/%{name}-%version.tar.gz |
6 |
License: GPLv2 |
7 |
Group: Editors |
8 |
Url: http://www.zim-wiki.org/ |
9 |
BuildRequires: python-devel |
10 |
BuildRequires: python-gobject |
11 |
Requires: python |
12 |
Requires: pygtk2.0 |
13 |
Requires: python-gobject |
14 |
Requires: python-simplejson |
15 |
Suggests: python-pyxdg |
16 |
Suggests: xdg-utils |
17 |
BuildArch: noarch |
18 |
|
19 |
%description |
20 |
Zim is a WYSIWYG text editor written in Gtk2-Perl which aims to bring |
21 |
the concept of a wiki to your desktop. Every page is saved as a text |
22 |
file with wiki markup. Pages can contain links to other pages, and are |
23 |
saved automatically. Creating a new page is as easy as linking to a |
24 |
non-existing page. Pages are ordered in a hierarchical structure that |
25 |
gives it the look and feel of an outliner. This tool is intended to |
26 |
keep track of TODO lists or to serve as a personal scratch book. |
27 |
|
28 |
%prep |
29 |
%setup -q -n %{name}-%{version} |
30 |
|
31 |
%install |
32 |
rm -rf %{buildroot} |
33 |
python setup.py install --skip-xdg-cmd --root=%{buildroot} |
34 |
|
35 |
#install icons |
36 |
install -D -m 0644 data/zim.png %{buildroot}%{_icons64dir}/zim.png |
37 |
install -D -m 0644 data/zim.png %{buildroot}%{_iconsdir}/hicolor/64x64/mimetypes/application-x-zim-notebook.png |
38 |
install -D -m 0644 data/zim.png %{buildroot}%{_iconsdir}/hicolor/64x64/mimetypes/gnome-mime-application-x-zim-notebook.png |
39 |
|
40 |
%find_lang %{name} |
41 |
|
42 |
%clean |
43 |
rm -rf %{buildroot} |
44 |
|
45 |
%files -f %{name}.lang |
46 |
%defattr(-,root,root) |
47 |
%doc README.txt CHANGELOG.txt |
48 |
%{_bindir}/%{name} |
49 |
%{_datadir}/%{name}/* |
50 |
%{_datadir}/applications/%{name}.desktop |
51 |
%{python_sitelib}/* |
52 |
%{_mandir}/man1/%{name}* |
53 |
%{_datadir}/pixmaps/%{name}.png |
54 |
%{_datadir}/mime/* |
55 |
%{_iconsdir}/hicolor/*/*/* |