/[packages]/cauldron/gnote/current/SPECS/gnote.spec
ViewVC logotype

Annotation of /cauldron/gnote/current/SPECS/gnote.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 157980 - (hide annotations) (download)
Tue Oct 25 07:55:49 2011 UTC (12 years, 6 months ago) by fwang
File size: 1971 byte(s)
new version 0.8.1
1 ahmad 79425 Summary: Note-taking application
2     Name: gnote
3 fwang 157980 Version: 0.8.1
4 fwang 147602 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 147610 Patch0: gnote-0.8.0-fix-str-fmt.patch
10 fwang 147602 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 ahmad 79425 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 fwang 147602 %configure2_5x --with-gnu-ld --disable-schemas-install
41 ahmad 79425 %make
42    
43     %install
44     %makeinstall_std
45 fwang 146261
46     find %{buildroot} -name '*.la' | xargs rm
47    
48 fwang 147613 %find_lang %{name} --with-gnome
49 ahmad 79425
50     desktop-file-install --vendor="" \
51     --remove-only-show-in="GNOME" \
52     --remove-only-show-in="XFCE" \
53 ahmad 79532 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
54 ahmad 79425
55     %files -f %{name}.lang
56 ahmad 79532 %{_mandir}/man1/%{name}.1*
57     %{_bindir}/%{name}
58     %{_libdir}/%{name}
59 fwang 147619 %{_libexecdir}/gnote-applet
60     %{_datadir}/dbus-1/services/*.service
61     %{_datadir}/glib-2.0/schemas/*.xml
62     %{_datadir}/gnome-panel/*/applets/*.panel-applet
63 fwang 147613 %{_datadir}/%{name}
64 ahmad 79532 %{_datadir}/dbus-1/services/org.gnome.Gnote.service
65 ahmad 79425 %{_datadir}/applications/*
66 fwang 147613 %{_iconsdir}/hicolor/*/apps/*

  ViewVC Help
Powered by ViewVC 1.1.30