1 |
Summary: Note-taking application |
2 |
Name: gnote |
3 |
Version: 0.7.4 |
4 |
Release: %mkrel 2 |
5 |
Group: Graphical desktop/GNOME |
6 |
License: GPLv3 |
7 |
URL: http://live.gnome.org/Gnote |
8 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2 |
9 |
BuildRequires: boost-devel |
10 |
BuildRequires: libuuid-devel |
11 |
BuildRequires: libxslt-devel |
12 |
BuildRequires: gtkspell-devel |
13 |
BuildRequires: dbus-c++-devel |
14 |
BuildRequires: gnome-doc-utils |
15 |
BuildRequires: intltool |
16 |
BuildRequires: desktop-file-utils |
17 |
|
18 |
%description |
19 |
Gnote is a simple desktop note-taking application for GNOME. |
20 |
Easy to use, but with potential to help you organize the ideas and |
21 |
information you deal with every day. Using a |
22 |
WikiWiki-like linking system, organizing ideas is as simple as typing |
23 |
a name. Branching an idea off is easy as pressing the Link button. And |
24 |
links between your ideas won't break, even when renaming and |
25 |
reorganizing them. |
26 |
|
27 |
This is a clone of Tomboy, in C++. |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
%apply_patches |
32 |
|
33 |
%build |
34 |
export CXXFLAGS="%optflags -DBOOST_FILESYSTEM_VERSION=2" |
35 |
%configure2_5x --with-gnu-ld --disable-schemas-install --disable-applet |
36 |
%make |
37 |
|
38 |
%install |
39 |
%makeinstall_std |
40 |
%find_lang %{name} |
41 |
|
42 |
desktop-file-install --vendor="" \ |
43 |
--remove-only-show-in="GNOME" \ |
44 |
--remove-only-show-in="XFCE" \ |
45 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* |
46 |
|
47 |
%check |
48 |
make check |
49 |
|
50 |
%files -f %{name}.lang |
51 |
%{_mandir}/man1/%{name}.1* |
52 |
%{_bindir}/%{name} |
53 |
%{_libdir}/%{name} |
54 |
%{_datadir}/gnome/help/%{name}/ |
55 |
%{_datadir}/%{name}/ |
56 |
%{_datadir}/omf/%{name}/ |
57 |
%{_datadir}/dbus-1/services/org.gnome.Gnote.service |
58 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
59 |
%{_datadir}/applications/* |
60 |
%{_iconsdir}/hicolor/*/apps/*.png |
61 |
%{_iconsdir}/hicolor/*/apps/*.svg |