]>
Commit | Line | Data |
---|---|---|
d9c69461 MB |
1 | Summary: Note-taking application |
2 | Name: gnote | |
56610577 | 3 | Version: 0.7.2 |
35247b8d | 4 | Release: 2 |
d9c69461 MB |
5 | License: GPL v3 |
6 | Group: X11/Applications | |
56610577 ŁK |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnote/0.7/%{name}-%{version}.tar.bz2 |
8 | # Source0-md5: c4e1a93896cb8610d2e08c72d41f1777 | |
9 | Patch0: %{name}-gtk_deprecated.patch | |
10 | Patch1: %{name}-unicode.patch | |
d9c69461 MB |
11 | URL: http://live.gnome.org/Gnote |
12 | BuildRequires: GConf2-devel | |
13 | BuildRequires: autoconf >= 2.59 | |
14 | BuildRequires: automake | |
15 | BuildRequires: boost-devel | |
73223cb0 | 16 | BuildRequires: docbook-dtd412-xml |
17 | BuildRequires: gettext-devel | |
d9c69461 MB |
18 | BuildRequires: gnome-common |
19 | BuildRequires: gnome-doc-utils | |
56610577 | 20 | BuildRequires: gtk+2-devel >= 2.20.0 |
d9c69461 MB |
21 | BuildRequires: gtkmm-devel >= 2.14.0 |
22 | BuildRequires: gtkspell-devel >= 2.0.9 | |
23 | BuildRequires: intltool >= 0.35.0 | |
24 | BuildRequires: libpanelappletmm-devel >= 2.26.0 | |
25 | BuildRequires: libstdc++-devel | |
26 | BuildRequires: libtool | |
27 | BuildRequires: libuuid-devel | |
28 | BuildRequires: libxml2-devel | |
29 | BuildRequires: libxslt-devel | |
30 | BuildRequires: pcre-cxx-devel | |
31 | BuildRequires: pkgconfig | |
32 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
33 | BuildRequires: rpmbuild(macros) >= 1.311 | |
35247b8d AF |
34 | Requires(post,postun): gtk-update-icon-cache |
35 | Requires(post,postun): hicolor-icon-theme | |
d9c69461 MB |
36 | Requires(post,preun): GConf2 |
37 | Requires: hicolor-icon-theme | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
40 | %description | |
41 | Gnote is a desktop note-taking application which is simple and easy to | |
42 | use. It lets you organize your notes intelligently by allowing you to | |
43 | easily link ideas together with Wiki style interconnects. It is a port | |
44 | of Tomboy to C++ and consumes fewer resources. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | %patch0 -p1 | |
56610577 | 49 | %patch1 -p1 |
d9c69461 MB |
50 | |
51 | %build | |
52 | %{__intltoolize} | |
53 | %{__libtoolize} | |
54 | %{__aclocal} -I m4 | |
55 | %{__autoconf} | |
56 | %{__autoheader} | |
57 | %{__automake} | |
58 | %configure \ | |
59 | --disable-schemas-install | |
60 | ||
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnote/addins/*/*.{a,la} | |
70 | ||
71 | %find_lang gnote --with-gnome --with-omf | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post | |
77 | %gconf_schema_install gnote.schemas | |
78 | %update_icon_cache hicolor | |
79 | ||
80 | %preun | |
81 | %gconf_schema_uninstall gnote.schemas | |
82 | ||
83 | %postun | |
84 | %update_icon_cache hicolor | |
85 | ||
86 | %files -f gnote.lang | |
87 | %defattr(644,root,root,755) | |
88 | %doc AUTHORS ChangeLog NEWS README TODO | |
89 | %attr(755,root,root) %{_bindir}/gnote | |
90 | %attr(755,root,root) %{_libdir}/gnote-applet | |
91 | %dir %{_libdir}/gnote | |
92 | %dir %{_libdir}/gnote/addins | |
93 | %dir %{_libdir}/gnote/addins/%{version} | |
94 | %attr(755,root,root) %{_libdir}/gnote/addins/*/backlinks.so | |
95 | %attr(755,root,root) %{_libdir}/gnote/addins/*/bugzilla.so | |
96 | %attr(755,root,root) %{_libdir}/gnote/addins/*/exporttohtml.so | |
97 | %attr(755,root,root) %{_libdir}/gnote/addins/*/fixedwidth.so | |
98 | %attr(755,root,root) %{_libdir}/gnote/addins/*/inserttimestamp.so | |
56610577 | 99 | %attr(755,root,root) %{_libdir}/gnote/addins/*/libnoteoftheday.so |
d9c69461 MB |
100 | %attr(755,root,root) %{_libdir}/gnote/addins/*/printnotes.so |
101 | %attr(755,root,root) %{_libdir}/gnote/addins/*/stickynoteimport.so | |
102 | %attr(755,root,root) %{_libdir}/gnote/addins/*/tomboyimport.so | |
103 | %attr(755,root,root) %{_libdir}/gnote/addins/*/underline.so | |
104 | %{_libdir}/bonobo/servers/GNOME_GnoteApplet.server | |
105 | %{_datadir}/gnote | |
106 | %{_desktopdir}/gnote.desktop | |
107 | %{_iconsdir}/hicolor/*/*/*.png | |
108 | %{_iconsdir}/hicolor/*/*/*.svg | |
109 | %{_mandir}/man1/gnote.1* | |
110 | %{_sysconfdir}/gconf/schemas/gnote.schemas |