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: 44620fa64024d8cac6d493c94bc2ce6e
14 URL: https://wiki.gnome.org/Apps/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-gst-devel >= 3.0
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.48.0
31 BuildRequires: gnome-online-accounts-devel >= 3.5.1
32 BuildRequires: gsettings-desktop-schemas-devel
33 BuildRequires: gstreamer-devel >= 1.0.0
34 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
35 BuildRequires: gtk+3-devel >= 3.10.0
36 BuildRequires: gtk-webkit4-devel >= 2.10.0
37 BuildRequires: intltool >= 0.50.0
38 BuildRequires: iso-codes >= 0.35
39 %{?with_uoa:BuildRequires: libaccount-plugin-devel}
40 %{?with_uoa:BuildRequires: libaccounts-glib-devel >= 1.4}
41 BuildRequires: libcanberra-gtk3-devel >= 0.25
42 BuildRequires: libchamplain-devel >= 0.12.1
43 BuildRequires: libgee-devel >= 0.8.0
44 BuildRequires: libnotify-devel >= 0.7.0
45 BuildRequires: libsecret-devel >= 0.5
46 %{?with_uoa:BuildRequires: libsignon-glib-devel >= 1.8}
47 BuildRequires: libsoup-devel >= 2.4
48 BuildRequires: libtool >= 2:2.2
49 BuildRequires: libxml2-devel >= 1:2.6.28
50 BuildRequires: libxslt-progs
51 BuildRequires: pkgconfig >= 1:0.25
52 BuildRequires: pulseaudio-devel
53 BuildRequires: python >= 1:2.3
54 BuildRequires: python-modules >= 1:2.3
55 BuildRequires: rpmbuild(find_lang) >= 1.23
56 BuildRequires: rpmbuild(macros) >= 1.592
57 BuildRequires: tar >= 1:1.22
58 BuildRequires: telepathy-farstream-devel >= 0.6.0
59 BuildRequires: telepathy-glib-devel >= 0.24.0
60 BuildRequires: telepathy-logger-devel >= 0.8.0
61 BuildRequires: telepathy-mission-control-devel >= 5.13.1
62 BuildRequires: udev-glib-devel
63 BuildRequires: xorg-lib-libX11-devel
65 BuildRequires: yelp-tools
66 Requires(post,postun): glib2 >= 1:2.48.0
67 Requires(post,postun): gtk-update-icon-cache
68 Requires: cheese >= 3.4.0
69 Requires: clutter >= 1.10.0
70 Requires: clutter-gst >= 3.0
71 Requires: clutter-gtk >= 1.2.0
72 Requires: cogl >= 1.14.0
73 Requires: enchant >= 1.2.0
74 Requires: evolution-data-server
75 Requires: folks >= 0.9.5
76 Requires: gcr >= 2.91.4
77 Requires: geoclue2 >= 2.1.0
78 Requires: geocode-glib >= 0.99.1
79 Requires: glib2 >= 1:2.48.0
80 Requires: gnome-online-accounts >= 3.5.1
81 Requires: gsettings-desktop-schemas
82 Requires: gtk+3 >= 3.10.0
83 Requires: gtk-webkit4 >= 2.10.0
84 Requires: hicolor-icon-theme
85 %{?with_uoa:Requires: libaccounts-glib >= 1.4}
86 Requires: libcanberra-gtk3 >= 0.25
87 Requires: libchamplain >= 0.12.1
88 Requires: libnotify >= 0.7.0
89 Requires: libsecret >= 0.5
90 %{?with_uoa:Requires: libsignon-glib >= 1.8}
91 Requires: telepathy-farstream >= 0.6.0
92 Requires: telepathy-glib >= 0.24.0
93 Requires: telepathy-logger >= 0.8.0
94 Requires: telepathy-mission-control >= 5.13.1
95 Suggests: gnome-contacts
96 Suggests: telepathy-gabble
97 Suggests: telepathy-haze
98 Suggests: telepathy-idle
99 Suggests: telepathy-salut
100 Suggests: telepathy-sofiasip
101 Obsoletes: empathy-apidocs < 2.29.1
102 Obsoletes: empathy-devel < 2.29.1
103 Obsoletes: empathy-libs < 2.29.1
104 Obsoletes: gnome-jabber
105 Obsoletes: nautilus-sendto-empathy
106 Obsoletes: python-empathy < 2.29.1
107 # sr@Latn vs. sr@latin
108 Conflicts: glibc-misc < 6:2.7
109 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
112 Instant messaging program supporting text, voice, video, file
113 transfers and inter-application communication over many different
114 protocols, including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook,
115 Yahoo!, Salut, Gadu-Gadu, Groupwise, ICQ and QQ. (Supported protocols
116 depend on installed components.)
118 %description -l pl.UTF-8
119 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
120 jak to tylko możliwe.
134 --disable-silent-rules \
141 --disable-nautilus-sendto \
143 --enable-ubuntu-online-accounts%{!?with_uoa:=no}
148 rm -rf $RPM_BUILD_ROOT
151 DESTDIR=$RPM_BUILD_ROOT
153 %{__rm} $RPM_BUILD_ROOT%{_libdir}/mission-control-plugins.0/*.la
154 %{__rm} $RPM_BUILD_ROOT%{_libdir}/empathy/*.la
156 %find_lang %{name} --with-gnome --all-name
159 rm -rf $RPM_BUILD_ROOT
162 %glib_compile_schemas
163 %update_icon_cache hicolor
166 %glib_compile_schemas
167 %update_icon_cache hicolor
169 %files -f %{name}.lang
170 %defattr(644,root,root,755)
171 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO
172 %attr(755,root,root) %{_bindir}/empathy
173 %attr(755,root,root) %{_bindir}/empathy-accounts
174 %attr(755,root,root) %{_bindir}/empathy-debugger
175 %attr(755,root,root) %{_libexecdir}/empathy-auth-client
176 %attr(755,root,root) %{_libexecdir}/empathy-call
177 %attr(755,root,root) %{_libexecdir}/empathy-chat
178 %attr(755,root,root) %{_libdir}/mission-control-plugins.0/mcp-account-manager-goa.so
179 %dir %{_libdir}/empathy
180 %attr(755,root,root) %{_libdir}/empathy/*.so
183 %{_datadir}/appdata/empathy.appdata.xml
184 %{_datadir}/GConf/gsettings/empathy.convert
185 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service
186 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Call.service
187 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Chat.service
188 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service
189 %{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml
190 %{_datadir}/glib-2.0/schemas/org.gnome.telepathy-account-widgets.gschema.xml
191 %{_datadir}/telepathy/clients/Empathy.Auth.client
192 %{_datadir}/telepathy/clients/Empathy.Call.client
193 %{_datadir}/telepathy/clients/Empathy.Chat.client
194 %{_datadir}/telepathy/clients/Empathy.FileTransfer.client
195 %{_iconsdir}/hicolor/*x*/apps/empathy.png
196 %{_iconsdir}/hicolor/scalable/apps/empathy-symbolic.svg
197 %{_mandir}/man1/empathy*.1*
198 %{_desktopdir}/empathy.desktop