]>
Commit | Line | Data |
---|---|---|
d9c69461 | 1 | Summary: Note-taking application |
7325f63f | 2 | Summary(pl.UTF-8): Aplikacja do zbierania notatek |
d9c69461 | 3 | Name: gnote |
3abc67bd | 4 | Version: 46.0 |
b9816e71 | 5 | Release: 1 |
7325f63f | 6 | License: GPL v3+ |
d9c69461 | 7 | Group: X11/Applications |
3abc67bd JB |
8 | Source0: https://download.gnome.org/sources/gnote/46/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 203f652065cd51e7e4e9c25a4149ef55 | |
8a1a99fa | 10 | URL: https://wiki.gnome.org/Apps/Gnote |
8b81c2ca | 11 | BuildRequires: desktop-file-utils |
73223cb0 | 12 | BuildRequires: docbook-dtd412-xml |
5fdf3ce9 | 13 | BuildRequires: gettext-tools |
53bc8509 JB |
14 | BuildRequires: glib2-devel >= 1:2.74 |
15 | BuildRequires: glibmm2.68-devel >= 2.74 | |
3abc67bd JB |
16 | BuildRequires: gtkmm4-devel >= 4.10.0 |
17 | BuildRequires: libadwaita-devel | |
f293cd61 | 18 | BuildRequires: libsecret-devel >= 0.8 |
53bc8509 | 19 | BuildRequires: libstdc++-devel >= 6:7 |
d9c69461 | 20 | BuildRequires: libuuid-devel |
7325f63f | 21 | BuildRequires: libxml2-devel >= 2.0 |
d9c69461 | 22 | BuildRequires: libxslt-devel |
06ae78f0 | 23 | BuildRequires: meson >= 0.59.0 |
6a4069f4 | 24 | BuildRequires: ninja >= 1.5 |
d9c69461 | 25 | BuildRequires: pkgconfig |
6a4069f4 | 26 | BuildRequires: python3 >= 1:3 |
d9c69461 | 27 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
6a4069f4 | 28 | BuildRequires: rpmbuild(macros) >= 1.736 |
f56d26a4 MB |
29 | BuildRequires: tar >= 1:1.22 |
30 | BuildRequires: xz | |
7325f63f | 31 | BuildRequires: yelp-tools |
093a868b | 32 | Requires(post,postun): /sbin/ldconfig |
53bc8509 | 33 | Requires(post,postun): glib2 >= 1:2.74 |
35247b8d AF |
34 | Requires(post,postun): gtk-update-icon-cache |
35 | Requires(post,postun): hicolor-icon-theme | |
53bc8509 JB |
36 | Requires: glib2 >= 1:2.74 |
37 | Requires: glibmm2.68 >= 2.74 | |
3abc67bd | 38 | Requires: gtkmm4 >= 4.10.0 |
d9c69461 | 39 | Requires: hicolor-icon-theme |
7325f63f | 40 | Requires: libsecret >= 0.8 |
d9c69461 MB |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
3abc67bd | 43 | %define abi_ver 46 |
044cfde8 | 44 | |
d9c69461 MB |
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 | ||
7325f63f JB |
51 | %description -l pl.UTF-8 |
52 | Gnote to graficzna aplikacja do zbierania notatek. Jest prosta i łatwa | |
53 | w użyciu; umożliwia organizowanie notatek w sposób inteligentny, | |
54 | pozwalając łatwo łączyć pomysły przy użyciu połączeń w stylu Wiki. | |
55 | Jest to port aplikacji Tomboy do C++, pochłaniający mniej zasobów. | |
56 | ||
d9c69461 MB |
57 | %prep |
58 | %setup -q | |
d9c69461 MB |
59 | |
60 | %build | |
6a4069f4 JB |
61 | %meson build |
62 | ||
63 | %ninja_build -C build | |
d9c69461 MB |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
6a4069f4 | 68 | %ninja_install -C build |
d9c69461 | 69 | |
6a4069f4 | 70 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnote-%{abi_ver}.so |
40646983 | 71 | |
a20e5163 | 72 | # not supported by glibc (as of 2.38) |
58714163 JB |
73 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie |
74 | ||
7325f63f | 75 | %find_lang gnote --with-gnome |
d9c69461 MB |
76 | |
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post | |
093a868b | 81 | /sbin/ldconfig |
d9c69461 | 82 | %update_icon_cache hicolor |
f56d26a4 | 83 | %glib_compile_schemas |
d9c69461 MB |
84 | |
85 | %postun | |
093a868b | 86 | /sbin/ldconfig |
d9c69461 | 87 | %update_icon_cache hicolor |
f56d26a4 | 88 | %glib_compile_schemas |
d9c69461 MB |
89 | |
90 | %files -f gnote.lang | |
91 | %defattr(644,root,root,755) | |
06ae78f0 | 92 | %doc AUTHORS NEWS README.md TODO |
d9c69461 | 93 | %attr(755,root,root) %{_bindir}/gnote |
044cfde8 | 94 | %attr(755,root,root) %{_libdir}/libgnote-%{abi_ver}.so.*.*.* |
6a4069f4 | 95 | %attr(755,root,root) %ghost %{_libdir}/libgnote-%{abi_ver}.so.0 |
d9c69461 | 96 | %dir %{_libdir}/gnote |
6a4069f4 JB |
97 | %dir %{_libdir}/gnote/plugins |
98 | %dir %{_libdir}/gnote/plugins/%{abi_ver} | |
99 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libbacklinks.so | |
100 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libbugzilla.so | |
101 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libexporttogtg.so | |
102 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libexporttohtml.so | |
103 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libfilesystemsyncservice.so | |
104 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libfixedwidth.so | |
105 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libgvfssyncservice.so | |
106 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libinserttimestamp.so | |
107 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libnotedirectorywatcher.so | |
108 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libnoteoftheday.so | |
109 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libprintnotes.so | |
110 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libreadonly.so | |
111 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libreplacetitle.so | |
112 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libspecialnotes.so | |
113 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libstatistics.so | |
6a4069f4 JB |
114 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libtableofcontents.so |
115 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libtodo.so | |
116 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libtomboyimport.so | |
117 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libunderline.so | |
118 | %attr(755,root,root) %{_libdir}/gnote/plugins/%{abi_ver}/libwebdavsyncservice.so | |
119 | %{_libdir}/gnote/plugins/%{abi_ver}/backlinks.desktop | |
120 | %{_libdir}/gnote/plugins/%{abi_ver}/bugzilla.desktop | |
121 | %{_libdir}/gnote/plugins/%{abi_ver}/exporttogtg.desktop | |
122 | %{_libdir}/gnote/plugins/%{abi_ver}/exporttohtml.desktop | |
123 | %{_libdir}/gnote/plugins/%{abi_ver}/filesystemsyncservice.desktop | |
124 | %{_libdir}/gnote/plugins/%{abi_ver}/fixedwidth.desktop | |
125 | %{_libdir}/gnote/plugins/%{abi_ver}/gvfssyncservice.desktop | |
126 | %{_libdir}/gnote/plugins/%{abi_ver}/inserttimestamp.desktop | |
127 | %{_libdir}/gnote/plugins/%{abi_ver}/notedirectorywatcher.desktop | |
128 | %{_libdir}/gnote/plugins/%{abi_ver}/noteoftheday.desktop | |
129 | %{_libdir}/gnote/plugins/%{abi_ver}/printnotes.desktop | |
130 | %{_libdir}/gnote/plugins/%{abi_ver}/readonly.desktop | |
131 | %{_libdir}/gnote/plugins/%{abi_ver}/replacetitle.desktop | |
132 | %{_libdir}/gnote/plugins/%{abi_ver}/specialnotes.desktop | |
133 | %{_libdir}/gnote/plugins/%{abi_ver}/statistics.desktop | |
6a4069f4 JB |
134 | %{_libdir}/gnote/plugins/%{abi_ver}/tableofcontents.desktop |
135 | %{_libdir}/gnote/plugins/%{abi_ver}/todo.desktop | |
136 | %{_libdir}/gnote/plugins/%{abi_ver}/tomboyimport.desktop | |
137 | %{_libdir}/gnote/plugins/%{abi_ver}/underline.desktop | |
138 | %{_libdir}/gnote/plugins/%{abi_ver}/webdavsyncservice.desktop | |
f56d26a4 MB |
139 | %{_datadir}/dbus-1/services/org.gnome.Gnote.service |
140 | %{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml | |
12946891 | 141 | %{_datadir}/gnome-shell/search-providers/org.gnome.Gnote.search-provider.ini |
d9c69461 | 142 | %{_datadir}/gnote |
bc6d35f9 JB |
143 | %{_datadir}/metainfo/org.gnome.Gnote.appdata.xml |
144 | %{_desktopdir}/org.gnome.Gnote.desktop | |
06ae78f0 | 145 | %{_iconsdir}/hicolor/*x*/apps/org.gnome.Gnote.png |
bc6d35f9 | 146 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Gnote.svg |
d9c69461 | 147 | %{_mandir}/man1/gnote.1* |