]>
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 |
a6d914ea | 8 | Version: 3.12.11 |
23bc995f | 9 | Release: 1 |
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 |
a6d914ea | 13 | # Source0-md5: 08636d1f04b94282f384ca5ed8482eab |
9d8d0097 | 14 | URL: http://live.gnome.org/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 |
cb508165 | 19 | BuildRequires: clutter-gst-devel >= 1.9.92 |
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 |
f1bf0de9 | 30 | BuildRequires: glib2-devel >= 1:2.38.0 |
cb508165 | 31 | BuildRequires: gnome-online-accounts-devel >= 3.5.1 |
f450521a | 32 | BuildRequires: gnutls-devel >= 2.8.5 |
918c5522 | 33 | BuildRequires: gsettings-desktop-schemas-devel |
cb508165 AF |
34 | BuildRequires: gstreamer-devel >= 1.0.0 |
35 | BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 | |
f1bf0de9 | 36 | BuildRequires: gtk+3-devel >= 3.10.0 |
35acedb2 | 37 | BuildRequires: gtk-webkit3-devel >= 1.10.0 |
cb508165 | 38 | BuildRequires: intltool >= 0.50.0 |
9d8d0097 | 39 | BuildRequires: iso-codes >= 0.35 |
a6d914ea JB |
40 | %{?with_uoa:BuildRequires: libaccount-plugin-devel} |
41 | %{?with_uoa:BuildRequires: libaccounts-glib-devel >= 1.4} | |
918c5522 | 42 | BuildRequires: libcanberra-gtk3-devel >= 0.25 |
1bda4d74 | 43 | BuildRequires: libchamplain-devel >= 0.12.1 |
35acedb2 | 44 | BuildRequires: libgee-devel >= 0.8.0 |
918c5522 | 45 | BuildRequires: libnotify-devel >= 0.7.0 |
cb508165 | 46 | BuildRequires: libsecret-devel >= 0.5 |
a6d914ea | 47 | %{?with_uoa:BuildRequires: libsignon-glib-devel >= 1.8} |
1bda4d74 MB |
48 | BuildRequires: libsoup-devel |
49 | BuildRequires: libtool >= 2:2.2 | |
7bc86367 | 50 | BuildRequires: libxml2-devel >= 1:2.6.28 |
918c5522 | 51 | BuildRequires: libxslt-progs |
a6d914ea | 52 | BuildRequires: pkgconfig >= 1:0.25 |
1bda4d74 | 53 | BuildRequires: pulseaudio-devel |
a6d914ea JB |
54 | BuildRequires: python >= 1:2.3 |
55 | BuildRequires: python-modules >= 1:2.3 | |
9d8d0097 | 56 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
3f6f7539 | 57 | BuildRequires: rpmbuild(macros) >= 1.592 |
1bda4d74 | 58 | BuildRequires: tar >= 1:1.22 |
35acedb2 | 59 | BuildRequires: telepathy-farstream-devel >= 0.6.0 |
23bc995f | 60 | BuildRequires: telepathy-glib-devel >= 0.24.0 |
35acedb2 | 61 | BuildRequires: telepathy-logger-devel >= 0.8.0 |
f1bf0de9 | 62 | BuildRequires: telepathy-mission-control-devel >= 5.13.1 |
1bda4d74 | 63 | BuildRequires: udev-glib-devel |
cb508165 | 64 | BuildRequires: xorg-lib-libX11-devel |
1bda4d74 MB |
65 | BuildRequires: xz |
66 | BuildRequires: yelp-tools | |
a6d914ea | 67 | Requires(post,postun): glib2 >= 1:2.38.0 |
8aa1a3f3 | 68 | Requires(post,postun): gtk-update-icon-cache |
a6d914ea JB |
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-devel >= 1.14.0 | |
74 | Requires: enchant >= 1.2.0 | |
41018140 | 75 | Requires: evolution-data-server |
f1bf0de9 | 76 | Requires: folks >= 0.9.5 |
a6d914ea JB |
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 | |
1bda4d74 | 83 | Requires: gsettings-desktop-schemas |
a6d914ea JB |
84 | Requires: gtk+3 >= 3.10.0 |
85 | Requires: gtk-webkit3 >= 1.10.0 | |
1bda4d74 | 86 | Requires: hicolor-icon-theme |
a6d914ea JB |
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 | |
23bc995f | 94 | Requires: telepathy-glib >= 0.24.0 |
35acedb2 | 95 | Requires: telepathy-logger >= 0.8.0 |
f1bf0de9 | 96 | Requires: telepathy-mission-control >= 5.13.1 |
9c05c6ca | 97 | Suggests: gnome-contacts |
e7f1dfbf | 98 | Suggests: telepathy-gabble |
9d8d0097 | 99 | Suggests: telepathy-haze |
e7f1dfbf MB |
100 | Suggests: telepathy-idle |
101 | Suggests: telepathy-salut | |
9d8d0097 | 102 | Suggests: telepathy-sofiasip |
6ce0d76b PZ |
103 | Obsoletes: empathy-apidocs < 2.29.1 |
104 | Obsoletes: empathy-devel < 2.29.1 | |
105 | Obsoletes: empathy-libs < 2.29.1 | |
8f5d8743 | 106 | Obsoletes: gnome-jabber |
35acedb2 | 107 | Obsoletes: nautilus-sendto-empathy |
6ce0d76b | 108 | Obsoletes: python-empathy < 2.29.1 |
b351ecf9 | 109 | # sr@Latn vs. sr@latin |
110 | Conflicts: glibc-misc < 6:2.7 | |
8f5d8743 | 111 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
112 | ||
113 | %description | |
da8480a1 ER |
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.) | |
8f5d8743 | 119 | |
ff309d39 | 120 | %description -l pl.UTF-8 |
7bc86367 MB |
121 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
122 | jak to tylko możliwe. | |
ff309d39 | 123 | |
8f5d8743 | 124 | %prep |
125 | %setup -q | |
fa1ed95c | 126 | |
8f5d8743 | 127 | %build |
9d8d0097 MB |
128 | %{__intltoolize} |
129 | %{__libtoolize} | |
130 | %{__aclocal} -I m4 | |
131 | %{__autoconf} | |
132 | %{__autoheader} | |
133 | %{__automake} | |
8f5d8743 | 134 | %configure \ |
4a8c76ab | 135 | --with-cheese \ |
67fd8e35 | 136 | --disable-silent-rules \ |
e03dc004 | 137 | --disable-static \ |
3ee5a5ad | 138 | --enable-goa \ |
a6d914ea | 139 | --enable-gst-1.0 \ |
4a8c76ab | 140 | --enable-gudev \ |
e03dc004 | 141 | --enable-location \ |
4a8c76ab | 142 | --enable-map \ |
35acedb2 | 143 | --disable-nautilus-sendto \ |
cb508165 | 144 | --enable-spell \ |
a6d914ea | 145 | --enable-ubuntu-online-accounts%{!?with_uoa:=no} |
67fd8e35 | 146 | |
ab7caf3e | 147 | %{__make} -j1 |
8f5d8743 | 148 | |
149 | %install | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
152 | %{__make} install \ | |
918c5522 | 153 | DESTDIR=$RPM_BUILD_ROOT |
8f5d8743 | 154 | |
4a8c76ab | 155 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mission-control-plugins.0/*.la |
cb508165 | 156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/empathy/*.la |
a4a87cd7 | 157 | |
f1bf0de9 | 158 | %find_lang %{name} --with-gnome --all-name |
8f5d8743 | 159 | |
160 | %clean | |
161 | rm -rf $RPM_BUILD_ROOT | |
162 | ||
163 | %post | |
3f6f7539 | 164 | %glib_compile_schemas |
8f5d8743 | 165 | %update_icon_cache hicolor |
166 | ||
8f5d8743 | 167 | %postun |
3f6f7539 | 168 | %glib_compile_schemas |
8f5d8743 | 169 | %update_icon_cache hicolor |
170 | ||
171 | %files -f %{name}.lang | |
172 | %defattr(644,root,root,755) | |
a6d914ea | 173 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO |
9d8d0097 | 174 | %attr(755,root,root) %{_bindir}/empathy |
6ce0d76b PZ |
175 | %attr(755,root,root) %{_bindir}/empathy-accounts |
176 | %attr(755,root,root) %{_bindir}/empathy-debugger | |
6d54043f | 177 | %attr(755,root,root) %{_libexecdir}/empathy-auth-client |
4a8c76ab | 178 | %attr(755,root,root) %{_libexecdir}/empathy-call |
918c5522 | 179 | %attr(755,root,root) %{_libexecdir}/empathy-chat |
4a8c76ab | 180 | %attr(755,root,root) %{_libdir}/mission-control-plugins.0/mcp-account-manager-goa.so |
cb508165 AF |
181 | %dir %{_libdir}/empathy |
182 | %attr(755,root,root) %{_libdir}/empathy/*.so | |
8f5d8743 | 183 | %{_datadir}/%{name} |
cb508165 | 184 | %{_datadir}/adium |
c58352e5 | 185 | %{_datadir}/appdata/empathy.appdata.xml |
6d54043f | 186 | %{_datadir}/GConf/gsettings/empathy.convert |
6d54043f | 187 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service |
4a8c76ab | 188 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Call.service |
918c5522 | 189 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Chat.service |
4a8c76ab | 190 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service |
81794253 | 191 | %{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml |
f1bf0de9 | 192 | %{_datadir}/glib-2.0/schemas/org.gnome.telepathy-account-widgets.gschema.xml |
6d54043f | 193 | %{_datadir}/telepathy/clients/Empathy.Auth.client |
4a8c76ab | 194 | %{_datadir}/telepathy/clients/Empathy.Call.client |
918c5522 | 195 | %{_datadir}/telepathy/clients/Empathy.Chat.client |
4a8c76ab | 196 | %{_datadir}/telepathy/clients/Empathy.FileTransfer.client |
8f5d8743 | 197 | %{_iconsdir}/hicolor/*/apps/* |
30bde267 | 198 | %{_mandir}/man1/empathy*.1* |
408975c4 | 199 | %{_desktopdir}/*.desktop |