1 |
Summary: Note-taking application |
2 |
Name: gnote |
3 |
Version: 0.7.4 |
4 |
Release: %mkrel 1 |
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: libpanelappletmm-devel |
14 |
BuildRequires: dbus-c++-devel |
15 |
BuildRequires: gnome-doc-utils |
16 |
BuildRequires: intltool |
17 |
BuildRequires: desktop-file-utils |
18 |
|
19 |
%description |
20 |
Gnote is a simple desktop note-taking application for GNOME. |
21 |
Easy to use, but with potential to help you organize the ideas and |
22 |
information you deal with every day. Using a |
23 |
WikiWiki-like linking system, organizing ideas is as simple as typing |
24 |
a name. Branching an idea off is easy as pressing the Link button. And |
25 |
links between your ideas won't break, even when renaming and |
26 |
reorganizing them. |
27 |
|
28 |
This is a clone of Tomboy, in C++. |
29 |
|
30 |
%prep |
31 |
%setup -q |
32 |
%apply_patches |
33 |
|
34 |
%build |
35 |
export CXXFLAGS="%optflags -DBOOST_FILESYSTEM_VERSION=2" |
36 |
%configure2_5x --with-gnu-ld --disable-schemas-install |
37 |
%make |
38 |
|
39 |
%install |
40 |
%makeinstall_std |
41 |
%find_lang %{name} |
42 |
|
43 |
desktop-file-install --vendor="" \ |
44 |
--remove-only-show-in="GNOME" \ |
45 |
--remove-only-show-in="XFCE" \ |
46 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* |
47 |
|
48 |
%check |
49 |
make check |
50 |
|
51 |
%clean |
52 |
rm -rf %{buildroot} |
53 |
|
54 |
%files -f %{name}.lang |
55 |
%defattr(-,root,root) |
56 |
%{_mandir}/man1/%{name}.1* |
57 |
%{_bindir}/%{name} |
58 |
%{_libdir}/%{name} |
59 |
%{_datadir}/gnome/help/%{name}/ |
60 |
%{_datadir}/%{name}/ |
61 |
%{_datadir}/omf/%{name}/ |
62 |
%{_datadir}/dbus-1/services/org.gnome.Gnote.service |
63 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
64 |
%{_datadir}/applications/* |
65 |
%{_iconsdir}/hicolor/*/apps/*.png |
66 |
%{_iconsdir}/hicolor/*/apps/*.svg |
67 |
%{_libexecdir}/gnote-applet |
68 |
%{_libdir}/bonobo/servers/GNOME_GnoteApplet.server |