]>
Commit | Line | Data |
---|---|---|
d9c69461 | 1 | Summary: Note-taking application |
7325f63f | 2 | Summary(pl.UTF-8): Aplikacja do zbierania notatek |
d9c69461 | 3 | Name: gnote |
c17a8c7b | 4 | Version: 3.34.1 |
7325f63f JB |
5 | Release: 1 |
6 | License: GPL v3+ | |
d9c69461 | 7 | Group: X11/Applications |
8a1a99fa | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnote/3.34/%{name}-%{version}.tar.xz |
c17a8c7b | 9 | # Source0-md5: 1e101a05a9c2a7aab9730bf25b45656e |
8a1a99fa | 10 | URL: https://wiki.gnome.org/Apps/Gnote |
d9c69461 | 11 | BuildRequires: autoconf >= 2.59 |
f293cd61 | 12 | BuildRequires: automake >= 1.11 |
f56d26a4 | 13 | BuildRequires: boost-devel >= 1.34.0 |
8b81c2ca | 14 | BuildRequires: desktop-file-utils |
73223cb0 | 15 | BuildRequires: docbook-dtd412-xml |
5fdf3ce9 | 16 | BuildRequires: gettext-tools |
f293cd61 | 17 | BuildRequires: glibmm-devel >= 2.32 |
8a1a99fa | 18 | BuildRequires: gspell-devel >= 1.8.0 |
73dccf6e | 19 | BuildRequires: gtk+3-devel >= 3.20 |
7c2df2b0 | 20 | BuildRequires: gtkmm3-devel >= 3.18 |
d9c69461 | 21 | BuildRequires: intltool >= 0.35.0 |
f293cd61 | 22 | BuildRequires: libsecret-devel >= 0.8 |
6625a530 | 23 | BuildRequires: libstdc++-devel >= 6:4.7 |
7325f63f | 24 | BuildRequires: libtool >= 2:2 |
d9c69461 | 25 | BuildRequires: libuuid-devel |
7325f63f | 26 | BuildRequires: libxml2-devel >= 2.0 |
d9c69461 | 27 | BuildRequires: libxslt-devel |
d9c69461 MB |
28 | BuildRequires: pkgconfig |
29 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
f56d26a4 MB |
30 | BuildRequires: rpmbuild(macros) >= 1.592 |
31 | BuildRequires: tar >= 1:1.22 | |
7325f63f | 32 | BuildRequires: xorg-lib-libX11-devel |
f56d26a4 | 33 | BuildRequires: xz |
7325f63f | 34 | BuildRequires: yelp-tools |
093a868b | 35 | Requires(post,postun): /sbin/ldconfig |
f293cd61 | 36 | Requires(post,postun): glib2 >= 1:2.32.0 |
35247b8d AF |
37 | Requires(post,postun): gtk-update-icon-cache |
38 | Requires(post,postun): hicolor-icon-theme | |
7325f63f | 39 | Requires: glibmm >= 2.32 |
8a1a99fa | 40 | Requires: gspell >= 1.8.0 |
73dccf6e | 41 | Requires: gtk+3 >= 3.20 |
7c2df2b0 | 42 | Requires: gtkmm3 >= 3.18 |
d9c69461 | 43 | Requires: hicolor-icon-theme |
7325f63f | 44 | Requires: libsecret >= 0.8 |
d9c69461 MB |
45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46 | ||
47 | %description | |
48 | Gnote is a desktop note-taking application which is simple and easy to | |
49 | use. It lets you organize your notes intelligently by allowing you to | |
50 | easily link ideas together with Wiki style interconnects. It is a port | |
51 | of Tomboy to C++ and consumes fewer resources. | |
52 | ||
7325f63f JB |
53 | %description -l pl.UTF-8 |
54 | Gnote to graficzna aplikacja do zbierania notatek. Jest prosta i łatwa | |
55 | w użyciu; umożliwia organizowanie notatek w sposób inteligentny, | |
56 | pozwalając łatwo łączyć pomysły przy użyciu połączeń w stylu Wiki. | |
57 | Jest to port aplikacji Tomboy do C++, pochłaniający mniej zasobów. | |
58 | ||
d9c69461 MB |
59 | %prep |
60 | %setup -q | |
d9c69461 MB |
61 | |
62 | %build | |
7f99b9d4 | 63 | %configure \ |
7c2df2b0 | 64 | --disable-silent-rules |
7325f63f | 65 | %{__make} |
d9c69461 MB |
66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
7325f63f | 70 | %{__make} install \ |
d9c69461 MB |
71 | DESTDIR=$RPM_BUILD_ROOT |
72 | ||
7325f63f | 73 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnote/addins/%{version}/*.la |
d9c69461 | 74 | |
40646983 ŁK |
75 | # remove -devel files |
76 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgnote.{la,so} | |
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) | |
8a1a99fa | 95 | %doc AUTHORS NEWS README TODO |
d9c69461 | 96 | %attr(755,root,root) %{_bindir}/gnote |
8a1a99fa JB |
97 | %attr(755,root,root) %{_libdir}/libgnote-3.34.so.*.* |
98 | %attr(755,root,root) %ghost %{_libdir}/libgnote-3.34.so.0 | |
d9c69461 MB |
99 | %dir %{_libdir}/gnote |
100 | %dir %{_libdir}/gnote/addins | |
101 | %dir %{_libdir}/gnote/addins/%{version} | |
7c2df2b0 MB |
102 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libbacklinks.so |
103 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libbugzilla.so | |
104 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libexporttogtg.so | |
105 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libexporttohtml.so | |
106 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libfilesystemsyncservice.so | |
107 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libfixedwidth.so | |
8a1a99fa | 108 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libgvfssyncservice.so |
7c2df2b0 MB |
109 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libinserttimestamp.so |
110 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libnotedirectorywatcher.so | |
111 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libnoteoftheday.so | |
112 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libprintnotes.so | |
113 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libreadonly.so | |
114 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libreplacetitle.so | |
115 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libspecialnotes.so | |
116 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libstatistics.so | |
117 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libstickynoteimport.so | |
118 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libtableofcontents.so | |
119 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libtodo.so | |
120 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libtomboyimport.so | |
121 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libunderline.so | |
122 | %attr(755,root,root) %{_libdir}/gnote/addins/%{version}/libwebdavsyncservice.so | |
7325f63f JB |
123 | %{_libdir}/gnote/addins/%{version}/backlinks.desktop |
124 | %{_libdir}/gnote/addins/%{version}/bugzilla.desktop | |
125 | %{_libdir}/gnote/addins/%{version}/exporttogtg.desktop | |
126 | %{_libdir}/gnote/addins/%{version}/exporttohtml.desktop | |
127 | %{_libdir}/gnote/addins/%{version}/filesystemsyncservice.desktop | |
128 | %{_libdir}/gnote/addins/%{version}/fixedwidth.desktop | |
8a1a99fa | 129 | %{_libdir}/gnote/addins/%{version}/gvfssyncservice.desktop |
7325f63f JB |
130 | %{_libdir}/gnote/addins/%{version}/inserttimestamp.desktop |
131 | %{_libdir}/gnote/addins/%{version}/notedirectorywatcher.desktop | |
132 | %{_libdir}/gnote/addins/%{version}/noteoftheday.desktop | |
133 | %{_libdir}/gnote/addins/%{version}/printnotes.desktop | |
134 | %{_libdir}/gnote/addins/%{version}/readonly.desktop | |
135 | %{_libdir}/gnote/addins/%{version}/replacetitle.desktop | |
136 | %{_libdir}/gnote/addins/%{version}/specialnotes.desktop | |
137 | %{_libdir}/gnote/addins/%{version}/statistics.desktop | |
138 | %{_libdir}/gnote/addins/%{version}/stickynoteimport.desktop | |
139 | %{_libdir}/gnote/addins/%{version}/tableofcontents.desktop | |
140 | %{_libdir}/gnote/addins/%{version}/todo.desktop | |
141 | %{_libdir}/gnote/addins/%{version}/tomboyimport.desktop | |
142 | %{_libdir}/gnote/addins/%{version}/underline.desktop | |
143 | %{_libdir}/gnote/addins/%{version}/webdavsyncservice.desktop | |
f56d26a4 MB |
144 | %{_datadir}/dbus-1/services/org.gnome.Gnote.service |
145 | %{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml | |
7325f63f | 146 | %{_datadir}/gnome-shell/search-providers/gnote-search-provider.ini |
d9c69461 | 147 | %{_datadir}/gnote |
8a1a99fa | 148 | %{_datadir}/metainfo/gnote.appdata.xml |
d9c69461 | 149 | %{_desktopdir}/gnote.desktop |
7325f63f JB |
150 | %{_iconsdir}/hicolor/*x*/apps/gnote.png |
151 | %{_iconsdir}/hicolor/scalable/apps/gnote.svg | |
d9c69461 | 152 | %{_mandir}/man1/gnote.1* |