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