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