]>
Commit | Line | Data |
---|---|---|
5c340aca PZ |
1 | # seems that this is loaded as a plugin, symbols come from libgoa |
2 | %define skip_post_check_so libgoa-backend-1.0.so.0.0.0 | |
3 | Summary: Provide online accounts information | |
4 | Name: gnome-online-accounts | |
5 | Version: 3.1.1 | |
6 | Release: 1 | |
7 | License: LGPL v2+ | |
8 | Group: Libraries | |
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-online-accounts/3.1/%{name}-%{version}.tar.bz2 | |
10 | # Source0-md5: 1149d66985b513dd34c32abf9b237b4f | |
11 | URL: http://www.gnome.org/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake >= 1:1.10 | |
14 | BuildRequires: glib2-devel | |
15 | BuildRequires: gobject-introspection-devel | |
16 | BuildRequires: gtk-doc | |
17 | BuildRequires: gtk+3-devel | |
18 | BuildRequires: intltool >= 0.40.1 | |
19 | BuildRequires: json-glib-devel | |
20 | BuildRequires: gettext-devel >= 0.17 | |
21 | BuildRequires: gnome-doc-utils >= 0.12.1 | |
22 | BuildRequires: gnome-keyring-devel | |
23 | BuildRequires: libnotify-devel | |
24 | BuildRequires: rest-devel | |
25 | BuildRequires: gtk-webkit3-devel | |
26 | Requires(post,postun): gtk-update-icon-cache | |
27 | ||
28 | %description | |
29 | gnome-online-accounts provides interfaces so applications and | |
30 | libraries in GNOME can access the user's online accounts. | |
31 | ||
32 | %package devel | |
33 | Summary: Development files for %{name} | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
36 | Requires: gobject-introspection-devel | |
37 | Requires: pkgconfig | |
38 | ||
39 | %description devel | |
40 | The gnome-online-accounts-devel package contains libraries and header | |
41 | files for developing applications that use gnome-online-accounts. | |
42 | ||
43 | %package apidocs | |
44 | Summary: GOA API documentation | |
45 | Group: Documentation | |
46 | Requires: gtk-doc-common | |
47 | ||
48 | %description apidocs | |
49 | GOA API documentation. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %{__gnome_doc_prepare} | |
56 | %{__gnome_doc_common} | |
57 | %{__glib_gettextize} | |
58 | %{__intltoolize} | |
59 | %{__libtoolize} | |
60 | %{__aclocal} | |
61 | %{__autoconf} | |
62 | %{__autoheader} | |
63 | %{__automake} | |
64 | %configure \ | |
65 | --disable-static \ | |
66 | --enable-gtk-doc \ | |
67 | --with-html-dir=%{_gtkdocdir} | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | %{__rm} $RPM_BUILD_ROOT/%{_libdir}/*.la | |
75 | ||
76 | %post | |
77 | /sbin/ldconfig | |
78 | %update_icon_cache hicolor | |
79 | ||
80 | %postun | |
81 | /sbin/ldconfig | |
82 | %update_icon_cache hicolor | |
83 | ||
84 | %files | |
85 | %defattr(644,root,root,755) | |
86 | %doc NEWS COPYING | |
87 | %attr(755,root,root) %{_libexecdir}/goa-daemon | |
88 | %attr(755,root,root) %{_libdir}/libgoa-1.0.so.0 | |
89 | %attr(755,root,root) %{_libdir}/libgoa-1.0.so.0.0.0 | |
90 | %attr(755,root,root) %{_libdir}/libgoa-backend-1.0.so.0 | |
91 | %attr(755,root,root) %{_libdir}/libgoa-backend-1.0.so.0.0.0 | |
92 | %{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service | |
93 | %{_iconsdir}/hicolor/*/apps/goa-*.png | |
94 | %{_mandir}/man8/goa-daemon.8* | |
95 | %{_libdir}/girepository-1.0/Goa-1.0.typelib | |
96 | ||
97 | %files devel | |
98 | %defattr(644,root,root,755) | |
99 | %{_includedir}/goa-1.0/ | |
100 | %{_libdir}/libgoa-1.0.so | |
101 | %{_libdir}/libgoa-backend-1.0.so | |
102 | %{_datadir}/gir-1.0/Goa-1.0.gir | |
103 | %{_pkgconfigdir}/goa-1.0.pc | |
104 | %{_pkgconfigdir}/goa-backend-1.0.pc | |
105 | ||
106 | %files apidocs | |
107 | %defattr(644,root,root,755) | |
108 | %{_gtkdocdir}/goa |