]>
Commit | Line | Data |
---|---|---|
161f9b06 MB |
1 | Summary: Document manager for GNOME |
2 | Name: gnome-documents | |
0e4253cd MB |
3 | Version: 3.6.1 |
4 | Release: 1 | |
161f9b06 MB |
5 | License: GPL v2+ |
6 | Group: X11/Applications | |
0e4253cd MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-documents/3.6/%{name}-%{version}.tar.xz |
8 | # Source0-md5: 46006058a93952e8e6f2ccab2b55a318 | |
161f9b06 MB |
9 | URL: https://live.gnome.org/Design/Apps/Documents |
10 | BuildRequires: autoconf >= 2.63 | |
cc4128e6 | 11 | BuildRequires: automake >= 1:1.11 |
0e4253cd MB |
12 | BuildRequires: clutter-devel >= 1.10.0 |
13 | BuildRequires: clutter-gtk-devel >= 1.4.0 | |
cc4128e6 | 14 | BuildRequires: evince-devel >= 3.4.0 |
161f9b06 MB |
15 | BuildRequires: gettext-devel |
16 | BuildRequires: gjs-devel | |
cc4128e6 | 17 | BuildRequires: glib2-devel >= 1:2.32.0 |
a0627b1d MB |
18 | BuildRequires: gnome-desktop-devel >= 3.2.0 |
19 | BuildRequires: gnome-online-accounts-devel >= 3.2.0 | |
cc4128e6 | 20 | BuildRequires: gobject-introspection-devel >= 1.32.0 |
0e4253cd | 21 | BuildRequires: gtk+3-devel >= 3.6.0 |
161f9b06 | 22 | BuildRequires: intltool >= 0.40.0 |
0e4253cd | 23 | BuildRequires: libgdata-devel >= 0.13.2 |
161f9b06 MB |
24 | BuildRequires: liboauth-devel |
25 | BuildRequires: libtool | |
0e4253cd | 26 | BuildRequires: libzapojit-devel >= 0.0.2 |
161f9b06 MB |
27 | BuildRequires: pkgconfig >= 1:0.22 |
28 | BuildRequires: rpmbuild(macros) >= 1.592 | |
29 | BuildRequires: tar >= 1:1.22 | |
cc4128e6 | 30 | BuildRequires: tracker-devel >= 0.14.0 |
161f9b06 MB |
31 | BuildRequires: xz |
32 | Requires(post,postun): gtk-update-icon-cache | |
33 | Requires(post,postun): glib2 >= 1:2.26.0 | |
0e4253cd | 34 | Requires: clutter-gtk >= 1.4.0 |
cc4128e6 MB |
35 | Requires: evince >= 3.4.0 |
36 | Requires: gobject-introspection >= 1.32.0 | |
0e4253cd | 37 | Requires: gtk+3 >= 3.6.0 |
a0627b1d | 38 | Requires: hicolor-icon-theme |
0e4253cd | 39 | Requires: libgdata >= 0.13.2 |
cc4128e6 | 40 | Requires: tracker >= 0.14.0 |
ce1338b6 | 41 | Suggests: unoconv >= 0.5 |
161f9b06 MB |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
43 | ||
44 | %description | |
45 | gnome-documents is a document manager application for GNOME. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
51 | %{__intltoolize} | |
52 | %{__libtoolize} | |
0e4253cd | 53 | %{__aclocal} -I m4 -I libgd |
161f9b06 MB |
54 | %{__autoconf} |
55 | %{__autoheader} | |
56 | %{__automake} | |
57 | %configure \ | |
58 | --disable-silent-rules | |
59 | %{__make} | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
cc4128e6 MB |
67 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-documents/*.la |
68 | ||
161f9b06 MB |
69 | %find_lang gnome-documents |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post | |
75 | /sbin/ldconfig | |
76 | %update_icon_cache hicolor | |
77 | %glib_compile_schemas | |
78 | ||
79 | %postun | |
80 | /sbin/ldconfig | |
81 | %update_icon_cache hicolor | |
82 | %glib_compile_schemas | |
83 | ||
84 | %files -f gnome-documents.lang | |
85 | %defattr(644,root,root,755) | |
86 | %doc AUTHORS NEWS README TODO | |
87 | %attr(755,root,root) %{_bindir}/gnome-documents | |
88 | %attr(755,root,root) %{_libexecdir}/gd-tracker-gdata-miner | |
0e4253cd | 89 | %attr(755,root,root) %{_libexecdir}/gd-tracker-zpj-miner |
cc4128e6 MB |
90 | %attr(755,root,root) %{_libexecdir}/gnome-documents-search-provider |
91 | %dir %{_libdir}/gnome-documents | |
0e4253cd MB |
92 | %attr(755,root,root) %{_libdir}/gnome-documents/libgd.so |
93 | %attr(755,root,root) %{_libdir}/gnome-documents/libgdminer-1.0.so | |
cc4128e6 MB |
94 | %attr(755,root,root) %{_libdir}/gnome-documents/libgdprivate-1.0.so |
95 | %dir %{_libdir}/gnome-documents/girepository-1.0 | |
96 | %{_libdir}/gnome-documents/girepository-1.0/Gd-1.0.typelib | |
0e4253cd | 97 | %{_libdir}/gnome-documents/girepository-1.0/GdPrivate-1.0.typelib |
161f9b06 | 98 | %{_datadir}/dbus-1/services/org.gnome.Documents.GDataMiner.service |
cc4128e6 | 99 | %{_datadir}/dbus-1/services/org.gnome.Documents.SearchProvider.service |
0e4253cd | 100 | %{_datadir}/dbus-1/services/org.gnome.Documents.ZpjMiner.service |
cc4128e6 | 101 | %{_datadir}/glib-2.0/schemas/org.gnome.Documents.enums.xml |
161f9b06 MB |
102 | %{_datadir}/glib-2.0/schemas/org.gnome.documents.gschema.xml |
103 | %{_datadir}/gnome-documents | |
cc4128e6 | 104 | %{_datadir}/gnome-shell/search-providers/gnome-documents-search-provider.ini |
161f9b06 MB |
105 | %{_desktopdir}/gnome-documents.desktop |
106 | %{_iconsdir}/hicolor/*/*/*.png |