1 |
Summary: Note-taking application |
2 |
Name: gnote |
3 |
Version: 0.8.1 |
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.xz |
9 |
BuildRequires: pkgconfig(glibmm-2.4) |
10 |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0 |
11 |
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0 |
12 |
BuildRequires: pkgconfig(libpanelapplet-4.0) >= 3.0 |
13 |
BuildRequires: pkgconfig(libpcrecpp) |
14 |
BuildRequires: pkgconfig(libxml-2.0) |
15 |
BuildRequires: pkgconfig(libxslt) |
16 |
BuildRequires: pkgconfig(uuid) |
17 |
BuildRequires: boost-devel |
18 |
BuildRequires: gnome-doc-utils |
19 |
BuildRequires: intltool |
20 |
BuildRequires: desktop-file-utils |
21 |
|
22 |
%description |
23 |
Gnote is a simple desktop note-taking application for GNOME. |
24 |
Easy to use, but with potential to help you organize the ideas and |
25 |
information you deal with every day. Using a |
26 |
WikiWiki-like linking system, organizing ideas is as simple as typing |
27 |
a name. Branching an idea off is easy as pressing the Link button. And |
28 |
links between your ideas won't break, even when renaming and |
29 |
reorganizing them. |
30 |
|
31 |
This is a clone of Tomboy, in C++. |
32 |
|
33 |
%prep |
34 |
%setup -q |
35 |
%apply_patches |
36 |
|
37 |
%build |
38 |
export CXXFLAGS="%optflags -DBOOST_FILESYSTEM_VERSION=2" |
39 |
%configure2_5x --with-gnu-ld --disable-schemas-install |
40 |
%make |
41 |
|
42 |
%install |
43 |
%makeinstall_std |
44 |
|
45 |
find %{buildroot} -name '*.la' | xargs rm |
46 |
|
47 |
%find_lang %{name} --with-gnome |
48 |
|
49 |
desktop-file-install --vendor="" \ |
50 |
--remove-only-show-in="GNOME" \ |
51 |
--remove-only-show-in="XFCE" \ |
52 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* |
53 |
|
54 |
%files -f %{name}.lang |
55 |
%{_mandir}/man1/%{name}.1* |
56 |
%{_bindir}/%{name} |
57 |
%{_libdir}/%{name} |
58 |
%{_libexecdir}/gnote-applet |
59 |
%{_datadir}/dbus-1/services/*.service |
60 |
%{_datadir}/glib-2.0/schemas/*.xml |
61 |
%{_datadir}/gnome-panel/*/applets/*.panel-applet |
62 |
%{_datadir}/%{name} |
63 |
%{_datadir}/dbus-1/services/org.gnome.Gnote.service |
64 |
%{_datadir}/applications/* |
65 |
%{_iconsdir}/hicolor/*/apps/* |