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