3 %bcond_with uoa # Ubuntu Online Accounts (single-signon)
5 Summary: High-level library and user-interface for Telepathy
6 Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME
11 Group: Applications/Communications
12 Source0: https://download.gnome.org/sources/empathy/3.12/%{name}-%{version}.tar.xz
13 # Source0-md5: f7eef758d20affd7c0796f8e92daa732
14 URL: http://live.gnome.org/Empathy
15 BuildRequires: autoconf >= 2.64
16 BuildRequires: automake >= 1:1.11
17 BuildRequires: cheese-devel >= 3.4.0
18 BuildRequires: clutter-devel >= 1.10.0
19 BuildRequires: clutter-gst2-devel
20 BuildRequires: clutter-gtk-devel >= 1.2.0
21 BuildRequires: cogl-devel >= 1.14.0
22 BuildRequires: dbus-glib-devel >= 0.74
23 BuildRequires: enchant-devel >= 1.2.0
24 BuildRequires: farstream-devel >= 0.2.0
25 BuildRequires: folks-devel >= 0.9.5
26 BuildRequires: gcr-devel >= 2.91.4
27 BuildRequires: geoclue2-devel >= 2.1.0
28 BuildRequires: geocode-glib-devel >= 0.99.1
29 BuildRequires: gettext-tools
30 BuildRequires: glib2-devel >= 1:2.38.0
31 BuildRequires: gnome-online-accounts-devel >= 3.5.1
32 BuildRequires: gnutls-devel >= 2.8.5
33 BuildRequires: gsettings-desktop-schemas-devel
34 BuildRequires: gstreamer-devel >= 1.0.0
35 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
36 BuildRequires: gtk+3-devel >= 3.10.0
37 BuildRequires: gtk-webkit3-devel >= 1.10.0
38 BuildRequires: intltool >= 0.50.0
39 BuildRequires: iso-codes >= 0.35
40 %{?with_uoa:BuildRequires: libaccount-plugin-devel}
41 %{?with_uoa:BuildRequires: libaccounts-glib-devel >= 1.4}
42 BuildRequires: libcanberra-gtk3-devel >= 0.25
43 BuildRequires: libchamplain-devel >= 0.12.1
44 BuildRequires: libgee-devel >= 0.8.0
45 BuildRequires: libnotify-devel >= 0.7.0
46 BuildRequires: libsecret-devel >= 0.5
47 %{?with_uoa:BuildRequires: libsignon-glib-devel >= 1.8}
48 BuildRequires: libsoup-devel
49 BuildRequires: libtool >= 2:2.2
50 BuildRequires: libxml2-devel >= 1:2.6.28
51 BuildRequires: libxslt-progs
52 BuildRequires: pkgconfig >= 1:0.25
53 BuildRequires: pulseaudio-devel
54 BuildRequires: python >= 1:2.3
55 BuildRequires: python-modules >= 1:2.3
56 BuildRequires: rpmbuild(find_lang) >= 1.23
57 BuildRequires: rpmbuild(macros) >= 1.592
58 BuildRequires: tar >= 1:1.22
59 BuildRequires: telepathy-farstream-devel >= 0.6.0
60 BuildRequires: telepathy-glib-devel >= 0.24.0
61 BuildRequires: telepathy-logger-devel >= 0.8.0
62 BuildRequires: telepathy-mission-control-devel >= 5.13.1
63 BuildRequires: udev-glib-devel
64 BuildRequires: xorg-lib-libX11-devel
66 BuildRequires: yelp-tools
67 Requires(post,postun): glib2 >= 1:2.38.0
68 Requires(post,postun): gtk-update-icon-cache
69 Requires: cheese >= 3.4.0
70 Requires: clutter >= 1.10.0
71 Requires: clutter-gst >= 1.9.92
72 Requires: clutter-gtk >= 1.2.0
73 Requires: cogl >= 1.14.0
74 Requires: enchant >= 1.2.0
75 Requires: evolution-data-server
76 Requires: folks >= 0.9.5
77 Requires: gcr >= 2.91.4
78 Requires: geoclue2 >= 2.1.0
79 Requires: geocode-glib >= 0.99.1
80 Requires: glib2 >= 1:2.38.0
81 Requires: gnome-online-accounts >= 3.5.1
82 Requires: gnutls >= 2.8.5
83 Requires: gsettings-desktop-schemas
84 Requires: gtk+3 >= 3.10.0
85 Requires: gtk-webkit3 >= 1.10.0
86 Requires: hicolor-icon-theme
87 %{?with_uoa:Requires: libaccounts-glib >= 1.4}
88 Requires: libcanberra-gtk3 >= 0.25
89 Requires: libchamplain >= 0.12.1
90 Requires: libnotify >= 0.7.0
91 Requires: libsecret >= 0.5
92 %{?with_uoa:Requires: libsignon-glib >= 1.8}
93 Requires: telepathy-farstream >= 0.6.0
94 Requires: telepathy-glib >= 0.24.0
95 Requires: telepathy-logger >= 0.8.0
96 Requires: telepathy-mission-control >= 5.13.1
97 Suggests: gnome-contacts
98 Suggests: telepathy-gabble
99 Suggests: telepathy-haze
100 Suggests: telepathy-idle
101 Suggests: telepathy-salut
102 Suggests: telepathy-sofiasip
103 Obsoletes: empathy-apidocs < 2.29.1
104 Obsoletes: empathy-devel < 2.29.1
105 Obsoletes: empathy-libs < 2.29.1
106 Obsoletes: gnome-jabber
107 Obsoletes: nautilus-sendto-empathy
108 Obsoletes: python-empathy < 2.29.1
109 # sr@Latn vs. sr@latin
110 Conflicts: glibc-misc < 6:2.7
111 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
114 Instant messaging program supporting text, voice, video, file
115 transfers and inter-application communication over many different
116 protocols, including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook,
117 Yahoo!, Salut, Gadu-Gadu, Groupwise, ICQ and QQ. (Supported protocols
118 depend on installed components.)
120 %description -l pl.UTF-8
121 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
122 jak to tylko możliwe.
136 --disable-silent-rules \
143 --disable-nautilus-sendto \
145 --enable-ubuntu-online-accounts%{!?with_uoa:=no}
150 rm -rf $RPM_BUILD_ROOT
153 DESTDIR=$RPM_BUILD_ROOT
155 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mission-control-plugins.0/*.la
156 %{__rm} $RPM_BUILD_ROOT%{_libdir}/empathy/*.la
158 %find_lang %{name} --with-gnome --all-name
161 rm -rf $RPM_BUILD_ROOT
164 %glib_compile_schemas
165 %update_icon_cache hicolor
168 %glib_compile_schemas
169 %update_icon_cache hicolor
171 %files -f %{name}.lang
172 %defattr(644,root,root,755)
173 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO
174 %attr(755,root,root) %{_bindir}/empathy
175 %attr(755,root,root) %{_bindir}/empathy-accounts
176 %attr(755,root,root) %{_bindir}/empathy-debugger
177 %attr(755,root,root) %{_libexecdir}/empathy-auth-client
178 %attr(755,root,root) %{_libexecdir}/empathy-call
179 %attr(755,root,root) %{_libexecdir}/empathy-chat
180 %attr(755,root,root) %{_libdir}/mission-control-plugins.0/mcp-account-manager-goa.so
181 %dir %{_libdir}/empathy
182 %attr(755,root,root) %{_libdir}/empathy/*.so
185 %{_datadir}/appdata/empathy.appdata.xml
186 %{_datadir}/GConf/gsettings/empathy.convert
187 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service
188 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Call.service
189 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Chat.service
190 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service
191 %{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml
192 %{_datadir}/glib-2.0/schemas/org.gnome.telepathy-account-widgets.gschema.xml
193 %{_datadir}/telepathy/clients/Empathy.Auth.client
194 %{_datadir}/telepathy/clients/Empathy.Call.client
195 %{_datadir}/telepathy/clients/Empathy.Chat.client
196 %{_datadir}/telepathy/clients/Empathy.FileTransfer.client
197 %{_iconsdir}/hicolor/*x*/apps/empathy.png
198 %{_iconsdir}/hicolor/scalable/apps/empathy-symbolic.svg
199 %{_mandir}/man1/empathy*.1*
200 %{_desktopdir}/empathy.desktop