1 |
Name: rednotebook |
2 |
Version: 1.14 |
3 |
%define subrel 1 |
4 |
Release: %mkrel 1 |
5 |
Summary: Daily journal with calendar, templates and keyword searching |
6 |
Group: Office/Utilities |
7 |
License: GPLv2+ |
8 |
URL: http://rednotebook.sourceforge.net |
9 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
10 |
BuildArch: noarch |
11 |
BuildRequires: pkgconfig(python2) |
12 |
BuildRequires: pythonegg(2)(setuptools) |
13 |
BuildRequires: desktop-file-utils |
14 |
|
15 |
Requires: pywebkitgtk |
16 |
Requires: pythonegg(2)(pyyaml) |
17 |
Requires: pygtk2.0 |
18 |
Requires: pythonegg(2)(chardet) |
19 |
Recommends: pythonegg(2)(pygtkspellcheck) |
20 |
|
21 |
%description |
22 |
RedNotebook is a modern desktop journal. It lets you format, tag and |
23 |
search your entries. You can also add pictures, links and customizable |
24 |
templates, spell check your notes, and export to plain text, HTML, |
25 |
Latex or PDF. |
26 |
|
27 |
%prep |
28 |
%setup -q |
29 |
|
30 |
%build |
31 |
%py2_build |
32 |
|
33 |
%install |
34 |
%py2_install |
35 |
|
36 |
desktop-file-install \ |
37 |
--add-category="Calendar" \ |
38 |
--dir=%{buildroot}%{_datadir}/applications \ |
39 |
%{buildroot}/%{_datadir}/applications/%{name}.desktop |
40 |
|
41 |
%find_lang %{name} |
42 |
|
43 |
%files -f %{name}.lang |
44 |
%doc CHANGELOG README.md |
45 |
%license LICENSE |
46 |
%{_bindir}/%{name} |
47 |
%{_datadir}/applications/%{name}.desktop |
48 |
%{_datadir}/appdata/%{name}.appdata.xml |
49 |
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg |
50 |
%{python2_sitelib}/%{name}/ |
51 |
%{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info |