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