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