]>
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 |
067504e0 | 4 | Version: 2.26.2 |
9d8d0097 MB |
5 | Release: 1 |
6 | License: GPL v2 | |
8f5d8743 | 7 | Group: Applications/Communications |
9d8d0097 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/2.26/%{name}-%{version}.tar.bz2 |
067504e0 | 9 | # Source0-md5: 7d42b4c54373c3706a3da301cd616329 |
9d8d0097 MB |
10 | URL: http://live.gnome.org/Empathy |
11 | BuildRequires: GConf2-devel >= 2.26.0 | |
7bc86367 MB |
12 | BuildRequires: autoconf >= 2.59 |
13 | BuildRequires: automake >= 1:1.9 | |
9d8d0097 MB |
14 | BuildRequires: check >= 0.9.4 |
15 | BuildRequires: dbus-glib-devel >= 0.74 | |
16 | BuildRequires: enchant-devel >= 1.2.0 | |
17 | BuildRequires: evolution-data-server-devel >= 2.24.0 | |
18 | BuildRequires: gettext-devel | |
19 | BuildRequires: gnome-common >= 2.24.0 | |
20 | BuildRequires: gnome-panel-devel >= 2.24.0 | |
21 | BuildRequires: gstreamer-devel | |
22 | BuildRequires: gstreamer-plugins-base-devel | |
23 | BuildRequires: gtk+2-devel >= 2:2.16.0 | |
24 | BuildRequires: gtk-doc >= 1.3 | |
25 | BuildRequires: intltool >= 0.40.0 | |
26 | BuildRequires: iso-codes >= 0.35 | |
27 | BuildRequires: libcanberra-gtk-devel >= 0.4 | |
a4a87cd7 | 28 | BuildRequires: libglade2-devel >= 1:2.6.2 |
9d8d0097 | 29 | BuildRequires: libnotify-devel >= 0.4.4 |
8f5d8743 | 30 | BuildRequires: libtool |
7bc86367 MB |
31 | BuildRequires: libxml2-devel >= 1:2.6.28 |
32 | BuildRequires: pkgconfig | |
a4a87cd7 | 33 | BuildRequires: python-pygtk-devel |
9d8d0097 | 34 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
8f5d8743 | 35 | BuildRequires: rpmbuild(macros) >= 1.311 |
9d8d0097 MB |
36 | BuildRequires: telepathy-farsight-devel |
37 | BuildRequires: telepathy-glib-devel >= 0.7.23 | |
38 | BuildRequires: telepathy-mission-control-devel >= 4.61 | |
a4a87cd7 | 39 | Requires(post,postun): gtk+2 >= 2:2.12.0 |
8f5d8743 | 40 | Requires(post,postun): hicolor-icon-theme |
7bc86367 | 41 | Requires(post,preun): GConf2 |
ca30ba9e | 42 | Requires: %{name}-libs = %{version}-%{release} |
e7f1dfbf MB |
43 | Suggests: telepathy-butterfly |
44 | Suggests: telepathy-gabble | |
9d8d0097 | 45 | Suggests: telepathy-haze |
e7f1dfbf MB |
46 | Suggests: telepathy-idle |
47 | Suggests: telepathy-salut | |
9d8d0097 | 48 | Suggests: telepathy-sofiasip |
8f5d8743 | 49 | Obsoletes: gnome-jabber |
b351ecf9 | 50 | # sr@Latn vs. sr@latin |
51 | Conflicts: glibc-misc < 6:2.7 | |
8f5d8743 | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
54 | %description | |
55 | Empathy aims at making Instant Messaging with Jabber as easy as | |
56 | possible. | |
57 | ||
ff309d39 | 58 | %description -l pl.UTF-8 |
7bc86367 MB |
59 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
60 | jak to tylko możliwe. | |
ff309d39 | 61 | |
3b871c30 | 62 | %package libs |
9d8d0097 MB |
63 | Summary: Libraries for Empathy |
64 | Summary(pl.UTF-8): Biblioteki dla Empathy | |
3b871c30 JB |
65 | Group: Libraries |
66 | ||
67 | %description libs | |
9d8d0097 | 68 | Libraries for Empathy. |
3b871c30 JB |
69 | |
70 | %description libs -l pl.UTF-8 | |
9d8d0097 | 71 | Biblioteki dla Empathy. |
3b871c30 | 72 | |
d8157f12 | 73 | %package devel |
9d8d0097 MB |
74 | Summary: Empathy header files |
75 | Summary(pl.UTF-8): Pliki nagłówkowe Empathy | |
d8157f12 PZ |
76 | Group: X11/Development/Libraries |
77 | Requires: %{name}-libs = %{version}-%{release} | |
9d8d0097 MB |
78 | Requires: gtk+2-devel >= 2:2.16.0 |
79 | Requires: libglade2-devel >= 1:2.6.2 | |
80 | Requires: libxml2-devel >= 1:2.6.28 | |
81 | Requires: telepathy-glib-devel >= 0.7.23 | |
82 | Requires: telepathy-mission-control-devel >= 4.61 | |
d8157f12 PZ |
83 | |
84 | %description devel | |
9d8d0097 | 85 | Empathy header files. |
d8157f12 PZ |
86 | |
87 | %description devel -l pl.UTF-8 | |
9d8d0097 | 88 | Pliki nagłówkowe Empathy. |
d8157f12 | 89 | |
d8157f12 | 90 | %package static |
9d8d0097 MB |
91 | Summary: Empathy static libraries |
92 | Summary(pl.UTF-8): Statyczne biblioteki Empathy | |
93 | Group: X11/Development/Libraries | |
d8157f12 PZ |
94 | Requires: %{name}-devel = %{version}-%{release} |
95 | ||
96 | %description static | |
9d8d0097 | 97 | Empathy static libraries. |
d8157f12 PZ |
98 | |
99 | %description static -l pl.UTF-8 | |
9d8d0097 | 100 | Statyczne biblioteki Empathy. |
d8157f12 | 101 | |
64d63fbb | 102 | %package apidocs |
9d8d0097 MB |
103 | Summary: Empathy API documentation |
104 | Summary(pl.UTF-8): Dokumentacja API Empathy | |
64d63fbb MB |
105 | Group: Documentation |
106 | Requires: gtk-doc-common | |
107 | ||
108 | %description apidocs | |
9d8d0097 | 109 | Empathy API documentation. |
64d63fbb MB |
110 | |
111 | %description apidocs -l pl.UTF-8 | |
9d8d0097 | 112 | Dokumentacja API Empathy. |
64d63fbb | 113 | |
ca30ba9e | 114 | %package -n python-%{name} |
115 | Summary: Python module for Empathy | |
92291b9a | 116 | Summary(pl.UTF-8): Moduł Pythona dla Empathy |
9d8d0097 | 117 | Group: Libraries/Python |
92291b9a | 118 | Requires: %{name}-libs = %{version}-%{release} |
ca30ba9e | 119 | |
120 | %description -n python-%{name} | |
121 | Python module for Empathy. | |
122 | ||
92291b9a JB |
123 | %description -n python-%{name} -l pl.UTF-8 |
124 | Moduł Pythona dla Empathy. | |
125 | ||
8f5d8743 | 126 | %prep |
127 | %setup -q | |
128 | ||
129 | %build | |
9d8d0097 MB |
130 | %{__intltoolize} |
131 | %{__libtoolize} | |
132 | %{__aclocal} -I m4 | |
133 | %{__autoconf} | |
134 | %{__autoheader} | |
135 | %{__automake} | |
8f5d8743 | 136 | %configure \ |
408975c4 | 137 | --with-compile-warnings=no \ |
d8157f12 | 138 | --disable-schemas-install \ |
9d8d0097 | 139 | --enable-gtk-doc \ |
d8157f12 | 140 | --with-html-dir=%{_gtkdocdir} |
8f5d8743 | 141 | %{__make} |
142 | ||
143 | %install | |
144 | rm -rf $RPM_BUILD_ROOT | |
145 | ||
146 | %{__make} install \ | |
147 | DESTDIR=$RPM_BUILD_ROOT \ | |
148 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
149 | ||
a4a87cd7 MB |
150 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} |
151 | ||
9d8d0097 | 152 | %find_lang %{name} --with-gnome --with-omf |
8f5d8743 | 153 | |
154 | %clean | |
155 | rm -rf $RPM_BUILD_ROOT | |
156 | ||
157 | %post | |
158 | %gconf_schema_install empathy.schemas | |
92163130 | 159 | %gconf_schema_install GNOME_Megaphone_Applet.schemas |
8f5d8743 | 160 | %update_icon_cache hicolor |
161 | ||
162 | %preun | |
163 | %gconf_schema_uninstall empathy.schemas | |
92163130 | 164 | %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas |
8f5d8743 | 165 | |
166 | %postun | |
8f5d8743 | 167 | %update_icon_cache hicolor |
168 | ||
769144a5 PZ |
169 | %post libs -p /sbin/ldconfig |
170 | %postun libs -p /sbin/ldconfig | |
171 | ||
8f5d8743 | 172 | %files -f %{name}.lang |
173 | %defattr(644,root,root,755) | |
174 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README | |
9d8d0097 MB |
175 | %attr(755,root,root) %{_bindir}/empathy |
176 | %attr(755,root,root) %{_bindir}/empathy-logs | |
8f5d8743 | 177 | %{_datadir}/%{name} |
178 | %{_iconsdir}/hicolor/*/apps/* | |
179 | %{_sysconfdir}/gconf/schemas/empathy.schemas | |
92163130 | 180 | %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas |
408975c4 | 181 | %attr(755,root,root) %{_libdir}/nothere-applet |
92163130 | 182 | %attr(755,root,root) %{_libdir}/megaphone-applet |
408975c4 | 183 | %{_libdir}/bonobo/servers/*.server |
8f5d8743 | 184 | %{_datadir}/mission-control/profiles/*.profile |
30bde267 | 185 | %{_mandir}/man1/empathy*.1* |
408975c4 | 186 | %{_desktopdir}/*.desktop |
d8157f12 | 187 | |
3b871c30 JB |
188 | %files libs |
189 | %defattr(644,root,root,755) | |
a4a87cd7 | 190 | %attr(755,root,root) %{_libdir}/libempathy.so.*.*.* |
9d8d0097 | 191 | %attr(755,root,root) %ghost %{_libdir}/libempathy.so.23 |
a4a87cd7 | 192 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.* |
9d8d0097 | 193 | %attr(755,root,root) %ghost %{_libdir}/libempathy-gtk.so.19 |
3b871c30 | 194 | |
d8157f12 PZ |
195 | %files devel |
196 | %defattr(644,root,root,755) | |
d8157f12 PZ |
197 | %attr(755,root,root) %{_libdir}/libempathy.so |
198 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so | |
199 | %{_libdir}/libempathy.la | |
200 | %{_libdir}/libempathy-gtk.la | |
3b871c30 JB |
201 | %{_includedir}/libempathy |
202 | %{_includedir}/libempathy-gtk | |
d8157f12 PZ |
203 | %{_pkgconfigdir}/libempathy.pc |
204 | %{_pkgconfigdir}/libempathy-gtk.pc | |
205 | ||
d8157f12 PZ |
206 | %files static |
207 | %defattr(644,root,root,755) | |
208 | %{_libdir}/libempathy.a | |
209 | %{_libdir}/libempathy-gtk.a | |
ca30ba9e | 210 | |
64d63fbb MB |
211 | %files apidocs |
212 | %defattr(644,root,root,755) | |
213 | %{_gtkdocdir}/libempathy | |
214 | %{_gtkdocdir}/libempathy-gtk | |
215 | ||
ca30ba9e | 216 | %files -n python-%{name} |
217 | %defattr(644,root,root,755) | |
218 | %attr(755,root,root) %{py_sitedir}/empathy.so | |
219 | %attr(755,root,root) %{py_sitedir}/empathygtk.so |