]>
Commit | Line | Data |
---|---|---|
7f99b9d4 AF |
1 | # TODO: build version without x11 support (plain GTK+) to use on Wayland or Broadway |
2 | # | |
d9c69461 MB |
3 | Summary: Note-taking application |
4 | Name: gnote | |
7f99b9d4 | 5 | Version: 3.10.0 |
40646983 | 6 | Release: 1 |
d9c69461 MB |
7 | License: GPL v3 |
8 | Group: X11/Applications | |
7f99b9d4 AF |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnote/3.10/%{name}-%{version}.tar.xz |
10 | # Source0-md5: 5943024af775eb67c8cee04e25db72ba | |
d9c69461 | 11 | URL: http://live.gnome.org/Gnote |
d9c69461 | 12 | BuildRequires: autoconf >= 2.59 |
f293cd61 | 13 | BuildRequires: automake >= 1.11 |
f56d26a4 | 14 | BuildRequires: boost-devel >= 1.34.0 |
8b81c2ca | 15 | BuildRequires: desktop-file-utils |
73223cb0 | 16 | BuildRequires: docbook-dtd412-xml |
17 | BuildRequires: gettext-devel | |
f293cd61 | 18 | BuildRequires: glibmm-devel >= 2.32 |
d9c69461 | 19 | BuildRequires: gnome-doc-utils |
40646983 ŁK |
20 | BuildRequires: gtk+3-devel >= 3.6.0 |
21 | BuildRequires: gtkmm3-devel >= 3.6.0 | |
22 | BuildRequires: gtkspell3-devel >= 3.0.0 | |
d9c69461 | 23 | BuildRequires: intltool >= 0.35.0 |
f293cd61 ŁK |
24 | BuildRequires: itstool |
25 | BuildRequires: libsecret-devel >= 0.8 | |
d9c69461 MB |
26 | BuildRequires: libstdc++-devel |
27 | BuildRequires: libtool | |
28 | BuildRequires: libuuid-devel | |
29 | BuildRequires: libxml2-devel | |
30 | BuildRequires: libxslt-devel | |
31 | BuildRequires: pcre-cxx-devel | |
32 | BuildRequires: pkgconfig | |
33 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
f56d26a4 MB |
34 | BuildRequires: rpmbuild(macros) >= 1.592 |
35 | BuildRequires: tar >= 1:1.22 | |
36 | BuildRequires: xz | |
093a868b JR |
37 | BuildRequires: yelp-devel |
38 | Requires(post,postun): /sbin/ldconfig | |
f293cd61 | 39 | Requires(post,postun): glib2 >= 1:2.32.0 |
35247b8d AF |
40 | Requires(post,postun): gtk-update-icon-cache |
41 | Requires(post,postun): hicolor-icon-theme | |
d9c69461 MB |
42 | Requires: hicolor-icon-theme |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
46 | Gnote is a desktop note-taking application which is simple and easy to | |
47 | use. It lets you organize your notes intelligently by allowing you to | |
48 | easily link ideas together with Wiki style interconnects. It is a port | |
49 | of Tomboy to C++ and consumes fewer resources. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
d9c69461 MB |
53 | |
54 | %build | |
7f99b9d4 AF |
55 | %configure \ |
56 | --with-x11-support | |
f56d26a4 | 57 | %{__make} V=1 |
d9c69461 MB |
58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
f56d26a4 | 62 | %{__make} V=1 install \ |
d9c69461 MB |
63 | DESTDIR=$RPM_BUILD_ROOT |
64 | ||
f56d26a4 | 65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnote/addins/*/*.la |
d9c69461 | 66 | |
40646983 ŁK |
67 | # remove -devel files |
68 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnote.{la,so} | |
69 | ||
d9c69461 MB |
70 | %find_lang gnote --with-gnome --with-omf |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post | |
093a868b | 76 | /sbin/ldconfig |
d9c69461 | 77 | %update_icon_cache hicolor |
f56d26a4 | 78 | %glib_compile_schemas |
d9c69461 MB |
79 | |
80 | %postun | |
093a868b | 81 | /sbin/ldconfig |
d9c69461 | 82 | %update_icon_cache hicolor |
f56d26a4 | 83 | %glib_compile_schemas |
d9c69461 MB |
84 | |
85 | %files -f gnote.lang | |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS ChangeLog NEWS README TODO | |
88 | %attr(755,root,root) %{_bindir}/gnote | |
7f99b9d4 AF |
89 | %attr(755,root,root) %{_libdir}/libgnote-3.10.so.*.* |
90 | %attr(755,root,root) %ghost %{_libdir}/libgnote-3.10.so.0 | |
d9c69461 MB |
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 | |
093a868b | 97 | %attr(755,root,root) %{_libdir}/gnote/addins/*/filesystemsyncservice.so |
d9c69461 MB |
98 | %attr(755,root,root) %{_libdir}/gnote/addins/*/fixedwidth.so |
99 | %attr(755,root,root) %{_libdir}/gnote/addins/*/inserttimestamp.so | |
093a868b | 100 | %attr(755,root,root) %{_libdir}/gnote/addins/*/notedirectorywatcher.so |
f56d26a4 | 101 | %attr(755,root,root) %{_libdir}/gnote/addins/*/noteoftheday.so |
d9c69461 | 102 | %attr(755,root,root) %{_libdir}/gnote/addins/*/printnotes.so |
7f99b9d4 | 103 | %attr(755,root,root) %{_libdir}/gnote/addins/*/readonly.so |
f56d26a4 | 104 | %attr(755,root,root) %{_libdir}/gnote/addins/*/replacetitle.so |
7f99b9d4 AF |
105 | %attr(755,root,root) %{_libdir}/gnote/addins/*/specialnotes.so |
106 | %attr(755,root,root) %{_libdir}/gnote/addins/*/statistics.so | |
d9c69461 | 107 | %attr(755,root,root) %{_libdir}/gnote/addins/*/stickynoteimport.so |
7f99b9d4 | 108 | %attr(755,root,root) %{_libdir}/gnote/addins/*/tableofcontents.so |
d9c69461 MB |
109 | %attr(755,root,root) %{_libdir}/gnote/addins/*/tomboyimport.so |
110 | %attr(755,root,root) %{_libdir}/gnote/addins/*/underline.so | |
093a868b | 111 | %attr(755,root,root) %{_libdir}/gnote/addins/*/webdavsyncservice.so |
7f99b9d4 AF |
112 | %{_libdir}/gnote/addins/*/backlinks.desktop |
113 | %{_libdir}/gnote/addins/*/bugzilla.desktop | |
114 | %{_libdir}/gnote/addins/*/exporttohtml.desktop | |
115 | %{_libdir}/gnote/addins/*/filesystemsyncservice.desktop | |
116 | %{_libdir}/gnote/addins/*/fixedwidth.desktop | |
117 | %{_libdir}/gnote/addins/*/inserttimestamp.desktop | |
118 | %{_libdir}/gnote/addins/*/notedirectorywatcher.desktop | |
119 | %{_libdir}/gnote/addins/*/noteoftheday.desktop | |
120 | %{_libdir}/gnote/addins/*/printnotes.desktop | |
121 | %{_libdir}/gnote/addins/*/readonly.desktop | |
122 | %{_libdir}/gnote/addins/*/replacetitle.desktop | |
123 | %{_libdir}/gnote/addins/*/specialnotes.desktop | |
124 | %{_libdir}/gnote/addins/*/statistics.desktop | |
125 | %{_libdir}/gnote/addins/*/stickynoteimport.desktop | |
126 | %{_libdir}/gnote/addins/*/tableofcontents.desktop | |
127 | %{_libdir}/gnote/addins/*/tomboyimport.desktop | |
128 | %{_libdir}/gnote/addins/*/underline.desktop | |
129 | %{_libdir}/gnote/addins/*/webdavsyncservice.desktop | |
f56d26a4 MB |
130 | %{_datadir}/dbus-1/services/org.gnome.Gnote.service |
131 | %{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml | |
d9c69461 MB |
132 | %{_datadir}/gnote |
133 | %{_desktopdir}/gnote.desktop | |
134 | %{_iconsdir}/hicolor/*/*/*.png | |
135 | %{_iconsdir}/hicolor/*/*/*.svg | |
136 | %{_mandir}/man1/gnote.1* | |
7f99b9d4 AF |
137 | %{_datadir}/appdata/gnote.appdata.xml |
138 | %{_datadir}/gnome-shell/search-providers/gnote-search-provider.ini |