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