]>
Commit | Line | Data |
---|---|---|
f9575b16 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with kerberos5 # Kerberos 5 support [TODO: heimdal vs MIT] | |
875be71d | 4 | |
5c340aca | 5 | Summary: Provide online accounts information |
f9575b16 | 6 | Summary(pl.UTF-8): Dostarczanie informacji o kontach w serwisach sieciowych |
5c340aca | 7 | Name: gnome-online-accounts |
c1f11156 | 8 | Version: 3.8.2 |
5c340aca PZ |
9 | Release: 1 |
10 | License: LGPL v2+ | |
11 | Group: Libraries | |
cfe3f799 | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-online-accounts/3.8/%{name}-%{version}.tar.xz |
c1f11156 | 13 | # Source0-md5: d842ea6a4945df817756d81d6f6dec0f |
5c340aca | 14 | URL: http://www.gnome.org/ |
f9575b16 | 15 | BuildRequires: autoconf >= 2.50 |
f7f2e20f | 16 | BuildRequires: automake >= 1:1.9 |
68dd47ae | 17 | BuildRequires: gettext-devel >= 0.17 |
cfe3f799 | 18 | BuildRequires: glib2-devel >= 1:2.36.0 |
905dbfb3 | 19 | BuildRequires: gnome-common |
68dd47ae | 20 | BuildRequires: gnome-doc-utils >= 0.12.1 |
f7f2e20f | 21 | BuildRequires: gobject-introspection-devel >= 0.6.2 |
cfe3f799 | 22 | BuildRequires: gtk+3-devel >= 3.6.0 |
f9575b16 | 23 | BuildRequires: gtk-doc >= 1.3 |
68dd47ae | 24 | BuildRequires: gtk-webkit3-devel |
5c340aca PZ |
25 | BuildRequires: intltool >= 0.40.1 |
26 | BuildRequires: json-glib-devel | |
0bf81c11 MB |
27 | BuildRequires: libgnome-keyring-devel |
28 | BuildRequires: libnotify-devel >= 0.7 | |
76e7f9aa | 29 | BuildRequires: libsecret-devel |
cfe3f799 | 30 | BuildRequires: libsoup-gnome-devel >= 2.42.0 |
f9575b16 JB |
31 | BuildRequires: libtool |
32 | BuildRequires: libxml2-devel >= 2 | |
33 | BuildRequires: libxslt-progs | |
34 | BuildRequires: pkgconfig | |
f7f2e20f | 35 | BuildRequires: rest-devel >= 0.7 |
0bf81c11 | 36 | BuildRequires: rpmbuild(macros) >= 1.311 |
1edf9497 AF |
37 | BuildRequires: tar >= 1:1.22 |
38 | BuildRequires: xz | |
f9575b16 JB |
39 | %if %{with kerberos5} |
40 | BuildRequires: /usr/bin/krb5-config | |
41 | BuildRequires: gcr-devel >= 3 | |
42 | %endif | |
5c340aca | 43 | Requires(post,postun): gtk-update-icon-cache |
cfe3f799 MB |
44 | Requires: glib2 >= 1:2.36.0 |
45 | Requires: gtk+3 >= 3.6.0 | |
0bf81c11 | 46 | Requires: hicolor-icon-theme |
f9575b16 | 47 | Requires: libnotify >= 0.7 |
cfe3f799 | 48 | Requires: libsoup-gnome >= 2.42.0 |
0bf81c11 | 49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5c340aca PZ |
50 | |
51 | %description | |
52 | gnome-online-accounts provides interfaces so applications and | |
53 | libraries in GNOME can access the user's online accounts. | |
54 | ||
f9575b16 JB |
55 | %description -l pl.UTF-8 |
56 | gnome-online-accounts udostępnia interfejsy pozwalające aplikacjom i | |
57 | bibliotekom GNOME na dostęp do kont użytkownika w serwisach | |
58 | sieciowych. | |
59 | ||
5c340aca | 60 | %package devel |
f9575b16 JB |
61 | Summary: Development files for gnome-online-accounts libraries |
62 | Summary(pl.UTF-8): Pliki programistyczne bibliotek gnome-online-accounts | |
5c340aca PZ |
63 | Group: Development/Libraries |
64 | Requires: %{name} = %{version}-%{release} | |
cfe3f799 MB |
65 | Requires: glib2-devel >= 1:2.36.0 |
66 | Requires: gtk+3-devel >= 3.6.0 | |
5c340aca PZ |
67 | |
68 | %description devel | |
f9575b16 JB |
69 | The gnome-online-accounts-devel package contains the header files for |
70 | developing applications that use gnome-online-accounts. | |
71 | ||
72 | %description devel -l pl.UTF-8 | |
73 | Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji | |
74 | wykorzystujących gnome-online-accounts. | |
5c340aca PZ |
75 | |
76 | %package apidocs | |
77 | Summary: GOA API documentation | |
f9575b16 | 78 | Summary(pl.UTF-8): Dokumentacja API GOA |
5c340aca PZ |
79 | Group: Documentation |
80 | Requires: gtk-doc-common | |
81 | ||
82 | %description apidocs | |
83 | GOA API documentation. | |
84 | ||
f9575b16 JB |
85 | %description apidocs -l pl.UTF-8 |
86 | Dokumentacja API GOA. | |
87 | ||
5c340aca PZ |
88 | %prep |
89 | %setup -q | |
90 | ||
91 | %build | |
92 | %{__gnome_doc_prepare} | |
93 | %{__gnome_doc_common} | |
94 | %{__glib_gettextize} | |
95 | %{__intltoolize} | |
96 | %{__libtoolize} | |
97 | %{__aclocal} | |
98 | %{__autoconf} | |
99 | %{__autoheader} | |
100 | %{__automake} | |
101 | %configure \ | |
102 | --disable-static \ | |
1edf9497 | 103 | --disable-silent-rules \ |
5c340aca | 104 | --enable-gtk-doc \ |
f9575b16 | 105 | %{?with_kerberos5:--enable-kerberos} \ |
76e7f9aa | 106 | --with-html-dir=%{_gtkdocdir} |
5c340aca PZ |
107 | %{__make} |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
0bf81c11 | 111 | |
5c340aca PZ |
112 | %{__make} install \ |
113 | DESTDIR=$RPM_BUILD_ROOT | |
0bf81c11 | 114 | |
f9575b16 | 115 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
5c340aca | 116 | |
0bf81c11 MB |
117 | %find_lang gnome-online-accounts |
118 | ||
119 | %clean | |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
5c340aca PZ |
122 | %post |
123 | /sbin/ldconfig | |
124 | %update_icon_cache hicolor | |
125 | ||
126 | %postun | |
127 | /sbin/ldconfig | |
128 | %update_icon_cache hicolor | |
129 | ||
0bf81c11 | 130 | %files -f gnome-online-accounts.lang |
5c340aca | 131 | %defattr(644,root,root,755) |
f9575b16 | 132 | %doc NEWS |
5c340aca | 133 | %attr(755,root,root) %{_libexecdir}/goa-daemon |
0bf81c11 MB |
134 | %attr(755,root,root) %{_libdir}/libgoa-1.0.so.*.*.* |
135 | %attr(755,root,root) %ghost %{_libdir}/libgoa-1.0.so.0 | |
136 | %attr(755,root,root) %{_libdir}/libgoa-backend-1.0.so.*.*.* | |
137 | %attr(755,root,root) %ghost %{_libdir}/libgoa-backend-1.0.so.0 | |
5c340aca PZ |
138 | %{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service |
139 | %{_iconsdir}/hicolor/*/apps/goa-*.png | |
140 | %{_mandir}/man8/goa-daemon.8* | |
141 | %{_libdir}/girepository-1.0/Goa-1.0.typelib | |
2604ef52 | 142 | %{_datadir}/gnome-online-accounts |
5c340aca PZ |
143 | |
144 | %files devel | |
145 | %defattr(644,root,root,755) | |
0bf81c11 MB |
146 | %attr(755,root,root) %{_libdir}/libgoa-1.0.so |
147 | %attr(755,root,root) %{_libdir}/libgoa-backend-1.0.so | |
cfe3f799 MB |
148 | %dir %{_libdir}/goa-1.0 |
149 | %{_libdir}/goa-1.0/include | |
0bf81c11 | 150 | %{_includedir}/goa-1.0 |
5c340aca PZ |
151 | %{_datadir}/gir-1.0/Goa-1.0.gir |
152 | %{_pkgconfigdir}/goa-1.0.pc | |
153 | %{_pkgconfigdir}/goa-backend-1.0.pc | |
154 | ||
155 | %files apidocs | |
156 | %defattr(644,root,root,755) | |
157 | %{_gtkdocdir}/goa |