1 |
ahmad |
79425 |
Summary: Note-taking application |
2 |
|
|
Name: gnote |
3 |
fwang |
147602 |
Version: 0.8.0 |
4 |
|
|
Release: %mkrel 1 |
5 |
ahmad |
79425 |
Group: Graphical desktop/GNOME |
6 |
|
|
License: GPLv3 |
7 |
|
|
URL: http://live.gnome.org/Gnote |
8 |
fwang |
130721 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.xz |
9 |
fwang |
147602 |
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 |
ahmad |
79425 |
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 |
fwang |
147602 |
%configure2_5x --with-gnu-ld --disable-schemas-install |
40 |
ahmad |
79425 |
%make |
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
%makeinstall_std |
44 |
fwang |
146261 |
|
45 |
|
|
find %{buildroot} -name '*.la' | xargs rm |
46 |
|
|
|
47 |
ahmad |
79425 |
%find_lang %{name} |
48 |
|
|
|
49 |
|
|
desktop-file-install --vendor="" \ |
50 |
|
|
--remove-only-show-in="GNOME" \ |
51 |
|
|
--remove-only-show-in="XFCE" \ |
52 |
ahmad |
79532 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* |
53 |
ahmad |
79425 |
|
54 |
|
|
%check |
55 |
|
|
make check |
56 |
|
|
|
57 |
|
|
%files -f %{name}.lang |
58 |
ahmad |
79532 |
%{_mandir}/man1/%{name}.1* |
59 |
|
|
%{_bindir}/%{name} |
60 |
|
|
%{_libdir}/%{name} |
61 |
|
|
%{_datadir}/gnome/help/%{name}/ |
62 |
|
|
%{_datadir}/%{name}/ |
63 |
|
|
%{_datadir}/omf/%{name}/ |
64 |
|
|
%{_datadir}/dbus-1/services/org.gnome.Gnote.service |
65 |
|
|
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
66 |
ahmad |
79425 |
%{_datadir}/applications/* |
67 |
ahmad |
79532 |
%{_iconsdir}/hicolor/*/apps/*.png |
68 |
|
|
%{_iconsdir}/hicolor/*/apps/*.svg |