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