]>
Commit | Line | Data |
---|---|---|
a6d914ea JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with uoa # Ubuntu Online Accounts (single-signon) | |
4 | # | |
da8480a1 | 5 | Summary: High-level library and user-interface for Telepathy |
ff309d39 | 6 | Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME |
8f5d8743 | 7 | Name: empathy |
f3c5401d | 8 | Version: 3.12.14 |
0d75b786 | 9 | Release: 3 |
07587549 | 10 | License: GPL v2+ |
8f5d8743 | 11 | Group: Applications/Communications |
2b69396c | 12 | Source0: https://download.gnome.org/sources/empathy/3.12/%{name}-%{version}.tar.xz |
f3c5401d JB |
13 | # Source0-md5: 44620fa64024d8cac6d493c94bc2ce6e |
14 | URL: https://wiki.gnome.org/Apps/Empathy | |
060481b4 ŁK |
15 | BuildRequires: autoconf >= 2.64 |
16 | BuildRequires: automake >= 1:1.11 | |
354a3d00 | 17 | BuildRequires: cheese-devel >= 3.4.0 |
6950d911 | 18 | BuildRequires: clutter-devel >= 1.10.0 |
f3c5401d | 19 | BuildRequires: clutter-gst-devel >= 3.0 |
354a3d00 | 20 | BuildRequires: clutter-gtk-devel >= 1.2.0 |
23bc995f | 21 | BuildRequires: cogl-devel >= 1.14.0 |
9d8d0097 MB |
22 | BuildRequires: dbus-glib-devel >= 0.74 |
23 | BuildRequires: enchant-devel >= 1.2.0 | |
cb508165 | 24 | BuildRequires: farstream-devel >= 0.2.0 |
f1bf0de9 | 25 | BuildRequires: folks-devel >= 0.9.5 |
cb508165 | 26 | BuildRequires: gcr-devel >= 2.91.4 |
a6d914ea | 27 | BuildRequires: geoclue2-devel >= 2.1.0 |
f1bf0de9 | 28 | BuildRequires: geocode-glib-devel >= 0.99.1 |
85851601 | 29 | BuildRequires: gettext-tools |
f3c5401d | 30 | BuildRequires: glib2-devel >= 1:2.48.0 |
cb508165 | 31 | BuildRequires: gnome-online-accounts-devel >= 3.5.1 |
918c5522 | 32 | BuildRequires: gsettings-desktop-schemas-devel |
cb508165 AF |
33 | BuildRequires: gstreamer-devel >= 1.0.0 |
34 | BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 | |
f1bf0de9 | 35 | BuildRequires: gtk+3-devel >= 3.10.0 |
f3c5401d | 36 | BuildRequires: gtk-webkit4-devel >= 2.10.0 |
cb508165 | 37 | BuildRequires: intltool >= 0.50.0 |
9d8d0097 | 38 | BuildRequires: iso-codes >= 0.35 |
a6d914ea JB |
39 | %{?with_uoa:BuildRequires: libaccount-plugin-devel} |
40 | %{?with_uoa:BuildRequires: libaccounts-glib-devel >= 1.4} | |
918c5522 | 41 | BuildRequires: libcanberra-gtk3-devel >= 0.25 |
1bda4d74 | 42 | BuildRequires: libchamplain-devel >= 0.12.1 |
35acedb2 | 43 | BuildRequires: libgee-devel >= 0.8.0 |
918c5522 | 44 | BuildRequires: libnotify-devel >= 0.7.0 |
cb508165 | 45 | BuildRequires: libsecret-devel >= 0.5 |
a6d914ea | 46 | %{?with_uoa:BuildRequires: libsignon-glib-devel >= 1.8} |
f3c5401d | 47 | BuildRequires: libsoup-devel >= 2.4 |
1bda4d74 | 48 | BuildRequires: libtool >= 2:2.2 |
7bc86367 | 49 | BuildRequires: libxml2-devel >= 1:2.6.28 |
918c5522 | 50 | BuildRequires: libxslt-progs |
a6d914ea | 51 | BuildRequires: pkgconfig >= 1:0.25 |
1bda4d74 | 52 | BuildRequires: pulseaudio-devel |
a6d914ea JB |
53 | BuildRequires: python >= 1:2.3 |
54 | BuildRequires: python-modules >= 1:2.3 | |
9d8d0097 | 55 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
3f6f7539 | 56 | BuildRequires: rpmbuild(macros) >= 1.592 |
1bda4d74 | 57 | BuildRequires: tar >= 1:1.22 |
35acedb2 | 58 | BuildRequires: telepathy-farstream-devel >= 0.6.0 |
23bc995f | 59 | BuildRequires: telepathy-glib-devel >= 0.24.0 |
35acedb2 | 60 | BuildRequires: telepathy-logger-devel >= 0.8.0 |
f1bf0de9 | 61 | BuildRequires: telepathy-mission-control-devel >= 5.13.1 |
1bda4d74 | 62 | BuildRequires: udev-glib-devel |
cb508165 | 63 | BuildRequires: xorg-lib-libX11-devel |
1bda4d74 MB |
64 | BuildRequires: xz |
65 | BuildRequires: yelp-tools | |
f3c5401d | 66 | Requires(post,postun): glib2 >= 1:2.48.0 |
8aa1a3f3 | 67 | Requires(post,postun): gtk-update-icon-cache |
a6d914ea JB |
68 | Requires: cheese >= 3.4.0 |
69 | Requires: clutter >= 1.10.0 | |
f3c5401d | 70 | Requires: clutter-gst >= 3.0 |
a6d914ea | 71 | Requires: clutter-gtk >= 1.2.0 |
0bf2bee5 | 72 | Requires: cogl >= 1.14.0 |
a6d914ea | 73 | Requires: enchant >= 1.2.0 |
41018140 | 74 | Requires: evolution-data-server |
f1bf0de9 | 75 | Requires: folks >= 0.9.5 |
a6d914ea JB |
76 | Requires: gcr >= 2.91.4 |
77 | Requires: geoclue2 >= 2.1.0 | |
78 | Requires: geocode-glib >= 0.99.1 | |
f3c5401d | 79 | Requires: glib2 >= 1:2.48.0 |
a6d914ea | 80 | Requires: gnome-online-accounts >= 3.5.1 |
1bda4d74 | 81 | Requires: gsettings-desktop-schemas |
a6d914ea | 82 | Requires: gtk+3 >= 3.10.0 |
f3c5401d | 83 | Requires: gtk-webkit4 >= 2.10.0 |
1bda4d74 | 84 | Requires: hicolor-icon-theme |
a6d914ea JB |
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 | |
23bc995f | 92 | Requires: telepathy-glib >= 0.24.0 |
35acedb2 | 93 | Requires: telepathy-logger >= 0.8.0 |
f1bf0de9 | 94 | Requires: telepathy-mission-control >= 5.13.1 |
9c05c6ca | 95 | Suggests: gnome-contacts |
e7f1dfbf | 96 | Suggests: telepathy-gabble |
9d8d0097 | 97 | Suggests: telepathy-haze |
e7f1dfbf MB |
98 | Suggests: telepathy-idle |
99 | Suggests: telepathy-salut | |
9d8d0097 | 100 | Suggests: telepathy-sofiasip |
6ce0d76b PZ |
101 | Obsoletes: empathy-apidocs < 2.29.1 |
102 | Obsoletes: empathy-devel < 2.29.1 | |
103 | Obsoletes: empathy-libs < 2.29.1 | |
8f5d8743 | 104 | Obsoletes: gnome-jabber |
35acedb2 | 105 | Obsoletes: nautilus-sendto-empathy |
6ce0d76b | 106 | Obsoletes: python-empathy < 2.29.1 |
b351ecf9 | 107 | # sr@Latn vs. sr@latin |
108 | Conflicts: glibc-misc < 6:2.7 | |
8f5d8743 | 109 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
110 | ||
111 | %description | |
da8480a1 ER |
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.) | |
8f5d8743 | 117 | |
ff309d39 | 118 | %description -l pl.UTF-8 |
7bc86367 MB |
119 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
120 | jak to tylko możliwe. | |
ff309d39 | 121 | |
8f5d8743 | 122 | %prep |
123 | %setup -q | |
fa1ed95c | 124 | |
8f5d8743 | 125 | %build |
9d8d0097 MB |
126 | %{__intltoolize} |
127 | %{__libtoolize} | |
128 | %{__aclocal} -I m4 | |
129 | %{__autoconf} | |
130 | %{__autoheader} | |
131 | %{__automake} | |
8f5d8743 | 132 | %configure \ |
4a8c76ab | 133 | --with-cheese \ |
67fd8e35 | 134 | --disable-silent-rules \ |
e03dc004 | 135 | --disable-static \ |
3ee5a5ad | 136 | --enable-goa \ |
a6d914ea | 137 | --enable-gst-1.0 \ |
4a8c76ab | 138 | --enable-gudev \ |
e03dc004 | 139 | --enable-location \ |
4a8c76ab | 140 | --enable-map \ |
35acedb2 | 141 | --disable-nautilus-sendto \ |
cb508165 | 142 | --enable-spell \ |
a6d914ea | 143 | --enable-ubuntu-online-accounts%{!?with_uoa:=no} |
67fd8e35 | 144 | |
ab7caf3e | 145 | %{__make} -j1 |
8f5d8743 | 146 | |
147 | %install | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
150 | %{__make} install \ | |
918c5522 | 151 | DESTDIR=$RPM_BUILD_ROOT |
8f5d8743 | 152 | |
4a8c76ab | 153 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mission-control-plugins.0/*.la |
cb508165 | 154 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/empathy/*.la |
a4a87cd7 | 155 | |
f1bf0de9 | 156 | %find_lang %{name} --with-gnome --all-name |
8f5d8743 | 157 | |
158 | %clean | |
159 | rm -rf $RPM_BUILD_ROOT | |
160 | ||
161 | %post | |
3f6f7539 | 162 | %glib_compile_schemas |
8f5d8743 | 163 | %update_icon_cache hicolor |
164 | ||
8f5d8743 | 165 | %postun |
3f6f7539 | 166 | %glib_compile_schemas |
8f5d8743 | 167 | %update_icon_cache hicolor |
168 | ||
169 | %files -f %{name}.lang | |
170 | %defattr(644,root,root,755) | |
a6d914ea | 171 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO |
9d8d0097 | 172 | %attr(755,root,root) %{_bindir}/empathy |
6ce0d76b PZ |
173 | %attr(755,root,root) %{_bindir}/empathy-accounts |
174 | %attr(755,root,root) %{_bindir}/empathy-debugger | |
6d54043f | 175 | %attr(755,root,root) %{_libexecdir}/empathy-auth-client |
4a8c76ab | 176 | %attr(755,root,root) %{_libexecdir}/empathy-call |
918c5522 | 177 | %attr(755,root,root) %{_libexecdir}/empathy-chat |
4a8c76ab | 178 | %attr(755,root,root) %{_libdir}/mission-control-plugins.0/mcp-account-manager-goa.so |
cb508165 AF |
179 | %dir %{_libdir}/empathy |
180 | %attr(755,root,root) %{_libdir}/empathy/*.so | |
8f5d8743 | 181 | %{_datadir}/%{name} |
cb508165 | 182 | %{_datadir}/adium |
c58352e5 | 183 | %{_datadir}/appdata/empathy.appdata.xml |
6d54043f | 184 | %{_datadir}/GConf/gsettings/empathy.convert |
6d54043f | 185 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service |
4a8c76ab | 186 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Call.service |
918c5522 | 187 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Chat.service |
4a8c76ab | 188 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service |
81794253 | 189 | %{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml |
f1bf0de9 | 190 | %{_datadir}/glib-2.0/schemas/org.gnome.telepathy-account-widgets.gschema.xml |
6d54043f | 191 | %{_datadir}/telepathy/clients/Empathy.Auth.client |
4a8c76ab | 192 | %{_datadir}/telepathy/clients/Empathy.Call.client |
918c5522 | 193 | %{_datadir}/telepathy/clients/Empathy.Chat.client |
4a8c76ab | 194 | %{_datadir}/telepathy/clients/Empathy.FileTransfer.client |
1f1665c2 JB |
195 | %{_iconsdir}/hicolor/*x*/apps/empathy.png |
196 | %{_iconsdir}/hicolor/scalable/apps/empathy-symbolic.svg | |
30bde267 | 197 | %{_mandir}/man1/empathy*.1* |
1f1665c2 | 198 | %{_desktopdir}/empathy.desktop |