1 Summary: Very easy to use GNOME Telepathy client
2 Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME
7 Group: Applications/Communications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2
9 # Source0-md5: c7951d16d843f64a73ea475797308c64
10 Patch0: %{name}-python2.5.patch
11 URL: http://empathy.imendio.org/
12 BuildRequires: GConf2-devel
13 BuildRequires: aspell-devel
14 BuildRequires: autoconf >= 2.59
15 BuildRequires: automake >= 1:1.9
16 BuildRequires: dbus-glib-devel
17 BuildRequires: evolution-data-server-devel
18 BuildRequires: gnome-panel-devel
19 BuildRequires: gnome-vfs2-devel
20 BuildRequires: gtk+2-devel >= 2:2.12.0
21 BuildRequires: intltool >= 0.36.2
22 BuildRequires: iso-codes
23 BuildRequires: libglade2-devel >= 1:2.6.2
24 BuildRequires: libtelepathy-devel >= 0.0.57
25 BuildRequires: libtool
26 BuildRequires: libxml2-devel >= 1:2.6.28
27 BuildRequires: pkgconfig
28 BuildRequires: python-pygtk-devel
29 BuildRequires: rpmbuild(macros) >= 1.311
30 BuildRequires: telepathy-mission-control-devel >= 4.37
31 Requires(post,postun): gtk+2 >= 2:2.12.0
32 Requires(post,postun): hicolor-icon-theme
33 Requires(post,preun): GConf2
34 Requires: %{name}-libs = %{version}-%{release}
35 Suggests: telepathy-butterfly
36 Suggests: telepathy-gabble
37 Suggests: telepathy-idle
38 Suggests: telepathy-salut
39 Obsoletes: gnome-jabber
40 # sr@Latn vs. sr@latin
41 Conflicts: glibc-misc < 6:2.7
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Empathy aims at making Instant Messaging with Jabber as easy as
48 %description -l pl.UTF-8
49 Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
53 Summary: Libraries for empathy
54 Summary(pl.UTF-8): Biblioteki dla empathy
58 Libraries for empathy.
60 %description libs -l pl.UTF-8
61 Biblioteki dla empathy.
64 Summary: empathy header files
65 Summary(pl.UTF-8): Pliki nagłówkowe empathy
66 Group: X11/Development/Libraries
67 Requires: %{name}-libs = %{version}-%{release}
72 %description devel -l pl.UTF-8
73 Pliki nagłówkowe empathy.
76 Summary: empathy static libraries
77 Summary(pl.UTF-8): Statyczne biblioteki empathy
78 Group: Development/Libraries
79 Requires: %{name}-devel = %{version}-%{release}
82 empathy static libraries.
84 %description static -l pl.UTF-8
85 Statyczne biblioteki empathy.
87 %package -n python-%{name}
88 Summary: Python module for Empathy
89 Summary(pl.UTF-8): Moduł Pythona dla Empathy
90 Group: Development/Libraries
91 Requires: %{name}-libs = %{version}-%{release}
93 %description -n python-%{name}
94 Python module for Empathy.
96 %description -n python-%{name} -l pl.UTF-8
97 Moduł Pythona dla Empathy.
103 sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
104 mv po/sr\@{Latn,latin}.po
115 --disable-schemas-install \
116 --with-html-dir=%{_gtkdocdir}
120 rm -rf $RPM_BUILD_ROOT
123 DESTDIR=$RPM_BUILD_ROOT \
124 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
126 rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
128 %find_lang %{name} --with-gnome --all-name
131 rm -rf $RPM_BUILD_ROOT
134 %gconf_schema_install empathy.schemas
135 %gconf_schema_install GNOME_Megaphone_Applet.schemas
136 %update_icon_cache hicolor
139 %gconf_schema_uninstall empathy.schemas
140 %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas
143 %update_icon_cache hicolor
145 %post libs -p /sbin/ldconfig
146 %postun libs -p /sbin/ldconfig
148 %files -f %{name}.lang
149 %defattr(644,root,root,755)
150 %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
151 %attr(755,root,root) %{_bindir}/*
153 %{_iconsdir}/hicolor/*/apps/*
154 %{_sysconfdir}/gconf/schemas/empathy.schemas
155 %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas
156 %{_sysconfdir}/xdg/autostart/empathy.desktop
157 %attr(755,root,root) %{_libdir}/empathy-call-chandler
158 %attr(755,root,root) %{_libdir}/empathy-chat-chandler
159 %attr(755,root,root) %{_libdir}/megaphone-applet
160 %{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server
161 %{_datadir}/dbus-1/services/*.service
162 %{_datadir}/mission-control/profiles/*.profile
163 %{_datadir}/telepathy/managers/empathy-chat.chandler
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_libdir}/libempathy.so.*.*.*
168 %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.*
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/libempathy.so
173 %attr(755,root,root) %{_libdir}/libempathy-gtk.so
174 %{_libdir}/libempathy.la
175 %{_libdir}/libempathy-gtk.la
176 %{_includedir}/libempathy
177 %{_includedir}/libempathy-gtk
178 %{_gtkdocdir}/libempathy
179 %{_gtkdocdir}/libempathy-gtk
180 %{_pkgconfigdir}/libempathy.pc
181 %{_pkgconfigdir}/libempathy-gtk.pc
184 %defattr(644,root,root,755)
185 %{_libdir}/libempathy.a
186 %{_libdir}/libempathy-gtk.a
188 %files -n python-%{name}
189 %defattr(644,root,root,755)
190 %attr(755,root,root) %{py_sitedir}/empathy.so
191 %attr(755,root,root) %{py_sitedir}/empathygtk.so