]>
Commit | Line | Data |
---|---|---|
8f5d8743 | 1 | Summary: Very easy to use GNOME Telepathy client |
ff309d39 | 2 | Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME |
8f5d8743 | 3 | Name: empathy |
93fc390a | 4 | Version: 0.21.91 |
8917dafa | 5 | Release: 1 |
8f5d8743 | 6 | License: GPL |
7 | Group: Applications/Communications | |
a4a87cd7 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2 |
93fc390a | 9 | # Source0-md5: e25d4bfd0c91b53bff498c6bbfd1bfc1 |
ca30ba9e | 10 | Patch0: %{name}-python2.5.patch |
8f5d8743 | 11 | URL: http://empathy.imendio.org/ |
7bc86367 | 12 | BuildRequires: GConf2-devel |
a4a87cd7 | 13 | BuildRequires: aspell-devel |
7bc86367 MB |
14 | BuildRequires: autoconf >= 2.59 |
15 | BuildRequires: automake >= 1:1.9 | |
8f5d8743 | 16 | BuildRequires: dbus-glib-devel |
228057c0 | 17 | BuildRequires: esound-devel |
a4a87cd7 MB |
18 | BuildRequires: evolution-data-server-devel |
19 | BuildRequires: gnome-panel-devel | |
20 | BuildRequires: gnome-vfs2-devel | |
21 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
22 | BuildRequires: intltool >= 0.36.2 | |
23 | BuildRequires: iso-codes | |
24 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
44d5ed2f | 25 | BuildRequires: libtelepathy-devel >= 0.3.1 |
8f5d8743 | 26 | BuildRequires: libtool |
7bc86367 MB |
27 | BuildRequires: libxml2-devel >= 1:2.6.28 |
28 | BuildRequires: pkgconfig | |
a4a87cd7 | 29 | BuildRequires: python-pygtk-devel |
8f5d8743 | 30 | BuildRequires: rpmbuild(macros) >= 1.311 |
93fc390a | 31 | BuildRequires: telepathy-glib-devel >= 0.7.1 |
11f71511 | 32 | BuildRequires: telepathy-mission-control-devel >= 4.53 |
a4a87cd7 | 33 | Requires(post,postun): gtk+2 >= 2:2.12.0 |
8f5d8743 | 34 | Requires(post,postun): hicolor-icon-theme |
7bc86367 | 35 | Requires(post,preun): GConf2 |
ca30ba9e | 36 | Requires: %{name}-libs = %{version}-%{release} |
e7f1dfbf MB |
37 | Suggests: telepathy-butterfly |
38 | Suggests: telepathy-gabble | |
39 | Suggests: telepathy-idle | |
40 | Suggests: telepathy-salut | |
8f5d8743 | 41 | Obsoletes: gnome-jabber |
b351ecf9 | 42 | # sr@Latn vs. sr@latin |
43 | Conflicts: glibc-misc < 6:2.7 | |
8f5d8743 | 44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | Empathy aims at making Instant Messaging with Jabber as easy as | |
48 | possible. | |
49 | ||
ff309d39 | 50 | %description -l pl.UTF-8 |
7bc86367 MB |
51 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
52 | jak to tylko możliwe. | |
ff309d39 | 53 | |
3b871c30 JB |
54 | %package libs |
55 | Summary: Libraries for empathy | |
56 | Summary(pl.UTF-8): Biblioteki dla empathy | |
57 | Group: Libraries | |
58 | ||
59 | %description libs | |
60 | Libraries for empathy. | |
61 | ||
62 | %description libs -l pl.UTF-8 | |
63 | Biblioteki dla empathy. | |
64 | ||
d8157f12 PZ |
65 | %package devel |
66 | Summary: empathy header files | |
67 | Summary(pl.UTF-8): Pliki nagłówkowe empathy | |
68 | Group: X11/Development/Libraries | |
69 | Requires: %{name}-libs = %{version}-%{release} | |
70 | ||
71 | %description devel | |
72 | empathy header files. | |
73 | ||
74 | %description devel -l pl.UTF-8 | |
75 | Pliki nagłówkowe empathy. | |
76 | ||
d8157f12 PZ |
77 | %package static |
78 | Summary: empathy static libraries | |
79 | Summary(pl.UTF-8): Statyczne biblioteki empathy | |
80 | Group: Development/Libraries | |
81 | Requires: %{name}-devel = %{version}-%{release} | |
82 | ||
83 | %description static | |
84 | empathy static libraries. | |
85 | ||
86 | %description static -l pl.UTF-8 | |
87 | Statyczne biblioteki empathy. | |
88 | ||
64d63fbb MB |
89 | %package apidocs |
90 | Summary: empathy API documentation | |
91 | Summary(pl.UTF-8): Dokumentacja API empathy | |
92 | Group: Documentation | |
93 | Requires: gtk-doc-common | |
94 | ||
95 | %description apidocs | |
96 | empathy API documentation. | |
97 | ||
98 | %description apidocs -l pl.UTF-8 | |
99 | Dokumentacja API empathy. | |
100 | ||
ca30ba9e | 101 | %package -n python-%{name} |
102 | Summary: Python module for Empathy | |
92291b9a | 103 | Summary(pl.UTF-8): Moduł Pythona dla Empathy |
ca30ba9e | 104 | Group: Development/Libraries |
92291b9a | 105 | Requires: %{name}-libs = %{version}-%{release} |
ca30ba9e | 106 | |
107 | %description -n python-%{name} | |
108 | Python module for Empathy. | |
109 | ||
92291b9a JB |
110 | %description -n python-%{name} -l pl.UTF-8 |
111 | Moduł Pythona dla Empathy. | |
112 | ||
8f5d8743 | 113 | %prep |
114 | %setup -q | |
ca30ba9e | 115 | %patch0 -p1 |
8f5d8743 | 116 | |
d94c01fb MB |
117 | sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS |
118 | mv po/sr\@{Latn,latin}.po | |
119 | ||
8f5d8743 | 120 | %build |
121 | %{__glib_gettextize} | |
122 | %{__libtoolize} | |
123 | %{__intltoolize} | |
124 | %{__aclocal} | |
125 | %{__autoheader} | |
126 | %{__automake} | |
127 | %{__autoconf} | |
128 | %configure \ | |
d8157f12 PZ |
129 | --disable-schemas-install \ |
130 | --with-html-dir=%{_gtkdocdir} | |
8f5d8743 | 131 | %{__make} |
132 | ||
133 | %install | |
134 | rm -rf $RPM_BUILD_ROOT | |
135 | ||
136 | %{__make} install \ | |
137 | DESTDIR=$RPM_BUILD_ROOT \ | |
138 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
139 | ||
a4a87cd7 MB |
140 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} |
141 | ||
8f5d8743 | 142 | %find_lang %{name} --with-gnome --all-name |
143 | ||
144 | %clean | |
145 | rm -rf $RPM_BUILD_ROOT | |
146 | ||
147 | %post | |
148 | %gconf_schema_install empathy.schemas | |
92163130 | 149 | %gconf_schema_install GNOME_Megaphone_Applet.schemas |
8f5d8743 | 150 | %update_icon_cache hicolor |
151 | ||
152 | %preun | |
153 | %gconf_schema_uninstall empathy.schemas | |
92163130 | 154 | %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas |
8f5d8743 | 155 | |
156 | %postun | |
8f5d8743 | 157 | %update_icon_cache hicolor |
158 | ||
769144a5 PZ |
159 | %post libs -p /sbin/ldconfig |
160 | %postun libs -p /sbin/ldconfig | |
161 | ||
8f5d8743 | 162 | %files -f %{name}.lang |
163 | %defattr(644,root,root,755) | |
164 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README | |
165 | %attr(755,root,root) %{_bindir}/* | |
166 | %{_datadir}/%{name} | |
167 | %{_iconsdir}/hicolor/*/apps/* | |
168 | %{_sysconfdir}/gconf/schemas/empathy.schemas | |
92163130 | 169 | %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas |
a4a87cd7 | 170 | %{_sysconfdir}/xdg/autostart/empathy.desktop |
8917dafa | 171 | #%attr(755,root,root) %{_libdir}/empathy-call-chandler |
d94c01fb | 172 | %attr(755,root,root) %{_libdir}/empathy-chat-chandler |
92163130 PZ |
173 | %attr(755,root,root) %{_libdir}/megaphone-applet |
174 | %{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server | |
8f5d8743 | 175 | %{_datadir}/dbus-1/services/*.service |
8f5d8743 | 176 | %{_datadir}/mission-control/profiles/*.profile |
177 | %{_datadir}/telepathy/managers/empathy-chat.chandler | |
d8157f12 | 178 | |
3b871c30 JB |
179 | %files libs |
180 | %defattr(644,root,root,755) | |
a4a87cd7 MB |
181 | %attr(755,root,root) %{_libdir}/libempathy.so.*.*.* |
182 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.* | |
3b871c30 | 183 | |
d8157f12 PZ |
184 | %files devel |
185 | %defattr(644,root,root,755) | |
d8157f12 PZ |
186 | %attr(755,root,root) %{_libdir}/libempathy.so |
187 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so | |
188 | %{_libdir}/libempathy.la | |
189 | %{_libdir}/libempathy-gtk.la | |
3b871c30 JB |
190 | %{_includedir}/libempathy |
191 | %{_includedir}/libempathy-gtk | |
d8157f12 PZ |
192 | %{_pkgconfigdir}/libempathy.pc |
193 | %{_pkgconfigdir}/libempathy-gtk.pc | |
194 | ||
d8157f12 PZ |
195 | %files static |
196 | %defattr(644,root,root,755) | |
197 | %{_libdir}/libempathy.a | |
198 | %{_libdir}/libempathy-gtk.a | |
ca30ba9e | 199 | |
64d63fbb MB |
200 | %files apidocs |
201 | %defattr(644,root,root,755) | |
202 | %{_gtkdocdir}/libempathy | |
203 | %{_gtkdocdir}/libempathy-gtk | |
204 | ||
ca30ba9e | 205 | %files -n python-%{name} |
206 | %defattr(644,root,root,755) | |
207 | %attr(755,root,root) %{py_sitedir}/empathy.so | |
208 | %attr(755,root,root) %{py_sitedir}/empathygtk.so |