]>
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 |
a4a87cd7 | 4 | Version: 0.21.1 |
8f5d8743 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Applications/Communications | |
a4a87cd7 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: dff1f9f60920cd41bf56bc121eba0b19 | |
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 |
a4a87cd7 MB |
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 | |
92163130 | 24 | BuildRequires: libtelepathy-devel >= 0.0.57 |
8f5d8743 | 25 | BuildRequires: libtool |
7bc86367 MB |
26 | BuildRequires: libxml2-devel >= 1:2.6.28 |
27 | BuildRequires: pkgconfig | |
a4a87cd7 | 28 | BuildRequires: python-pygtk-devel |
8f5d8743 | 29 | BuildRequires: rpmbuild(macros) >= 1.311 |
a4a87cd7 MB |
30 | BuildRequires: telepathy-mission-control-devel >= 4.37 |
31 | Requires(post,postun): gtk+2 >= 2:2.12.0 | |
8f5d8743 | 32 | Requires(post,postun): hicolor-icon-theme |
7bc86367 | 33 | Requires(post,preun): GConf2 |
ca30ba9e | 34 | Requires: %{name}-libs = %{version}-%{release} |
e7f1dfbf MB |
35 | Suggests: telepathy-butterfly |
36 | Suggests: telepathy-gabble | |
37 | Suggests: telepathy-idle | |
38 | Suggests: telepathy-salut | |
8f5d8743 | 39 | Obsoletes: gnome-jabber |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
41 | ||
42 | %description | |
43 | Empathy aims at making Instant Messaging with Jabber as easy as | |
44 | possible. | |
45 | ||
ff309d39 | 46 | %description -l pl.UTF-8 |
7bc86367 MB |
47 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
48 | jak to tylko możliwe. | |
ff309d39 | 49 | |
3b871c30 JB |
50 | %package libs |
51 | Summary: Libraries for empathy | |
52 | Summary(pl.UTF-8): Biblioteki dla empathy | |
53 | Group: Libraries | |
54 | ||
55 | %description libs | |
56 | Libraries for empathy. | |
57 | ||
58 | %description libs -l pl.UTF-8 | |
59 | Biblioteki dla empathy. | |
60 | ||
d8157f12 PZ |
61 | %package devel |
62 | Summary: empathy header files | |
63 | Summary(pl.UTF-8): Pliki nagłówkowe empathy | |
64 | Group: X11/Development/Libraries | |
65 | Requires: %{name}-libs = %{version}-%{release} | |
66 | ||
67 | %description devel | |
68 | empathy header files. | |
69 | ||
70 | %description devel -l pl.UTF-8 | |
71 | Pliki nagłówkowe empathy. | |
72 | ||
d8157f12 PZ |
73 | %package static |
74 | Summary: empathy static libraries | |
75 | Summary(pl.UTF-8): Statyczne biblioteki empathy | |
76 | Group: Development/Libraries | |
77 | Requires: %{name}-devel = %{version}-%{release} | |
78 | ||
79 | %description static | |
80 | empathy static libraries. | |
81 | ||
82 | %description static -l pl.UTF-8 | |
83 | Statyczne biblioteki empathy. | |
84 | ||
ca30ba9e | 85 | %package -n python-%{name} |
86 | Summary: Python module for Empathy | |
92291b9a | 87 | Summary(pl.UTF-8): Moduł Pythona dla Empathy |
ca30ba9e | 88 | Group: Development/Libraries |
92291b9a | 89 | Requires: %{name}-libs = %{version}-%{release} |
ca30ba9e | 90 | |
91 | %description -n python-%{name} | |
92 | Python module for Empathy. | |
93 | ||
92291b9a JB |
94 | %description -n python-%{name} -l pl.UTF-8 |
95 | Moduł Pythona dla Empathy. | |
96 | ||
8f5d8743 | 97 | %prep |
98 | %setup -q | |
ca30ba9e | 99 | %patch0 -p1 |
8f5d8743 | 100 | |
101 | %build | |
102 | %{__glib_gettextize} | |
103 | %{__libtoolize} | |
104 | %{__intltoolize} | |
105 | %{__aclocal} | |
106 | %{__autoheader} | |
107 | %{__automake} | |
108 | %{__autoconf} | |
109 | %configure \ | |
d8157f12 PZ |
110 | --disable-schemas-install \ |
111 | --with-html-dir=%{_gtkdocdir} | |
8f5d8743 | 112 | %{__make} |
113 | ||
114 | %install | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
117 | %{__make} install \ | |
118 | DESTDIR=$RPM_BUILD_ROOT \ | |
119 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
120 | ||
a4a87cd7 MB |
121 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} |
122 | ||
8f5d8743 | 123 | %find_lang %{name} --with-gnome --all-name |
124 | ||
125 | %clean | |
126 | rm -rf $RPM_BUILD_ROOT | |
127 | ||
128 | %post | |
129 | %gconf_schema_install empathy.schemas | |
92163130 | 130 | %gconf_schema_install GNOME_Megaphone_Applet.schemas |
8f5d8743 | 131 | %update_icon_cache hicolor |
132 | ||
133 | %preun | |
134 | %gconf_schema_uninstall empathy.schemas | |
92163130 | 135 | %gconf_schema_uninstall GNOME_Megaphone_Applet.schemas |
8f5d8743 | 136 | |
137 | %postun | |
8f5d8743 | 138 | %update_icon_cache hicolor |
139 | ||
769144a5 PZ |
140 | %post libs -p /sbin/ldconfig |
141 | %postun libs -p /sbin/ldconfig | |
142 | ||
8f5d8743 | 143 | %files -f %{name}.lang |
144 | %defattr(644,root,root,755) | |
145 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README | |
146 | %attr(755,root,root) %{_bindir}/* | |
147 | %{_datadir}/%{name} | |
148 | %{_iconsdir}/hicolor/*/apps/* | |
149 | %{_sysconfdir}/gconf/schemas/empathy.schemas | |
92163130 | 150 | %{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas |
a4a87cd7 | 151 | %{_sysconfdir}/xdg/autostart/empathy.desktop |
92163130 PZ |
152 | %attr(755,root,root) %{_libdir}/megaphone-applet |
153 | %{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server | |
8f5d8743 | 154 | %{_datadir}/dbus-1/services/*.service |
8f5d8743 | 155 | %{_datadir}/mission-control/profiles/*.profile |
156 | %{_datadir}/telepathy/managers/empathy-chat.chandler | |
d8157f12 | 157 | |
3b871c30 JB |
158 | %files libs |
159 | %defattr(644,root,root,755) | |
a4a87cd7 MB |
160 | %attr(755,root,root) %{_libdir}/libempathy.so.*.*.* |
161 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.* | |
3b871c30 | 162 | |
d8157f12 PZ |
163 | %files devel |
164 | %defattr(644,root,root,755) | |
d8157f12 PZ |
165 | %attr(755,root,root) %{_libdir}/libempathy.so |
166 | %attr(755,root,root) %{_libdir}/libempathy-gtk.so | |
167 | %{_libdir}/libempathy.la | |
168 | %{_libdir}/libempathy-gtk.la | |
3b871c30 JB |
169 | %{_includedir}/libempathy |
170 | %{_includedir}/libempathy-gtk | |
d8157f12 PZ |
171 | %{_gtkdocdir}/libempathy |
172 | %{_gtkdocdir}/libempathy-gtk | |
173 | %{_pkgconfigdir}/libempathy.pc | |
174 | %{_pkgconfigdir}/libempathy-gtk.pc | |
175 | ||
d8157f12 PZ |
176 | %files static |
177 | %defattr(644,root,root,755) | |
178 | %{_libdir}/libempathy.a | |
179 | %{_libdir}/libempathy-gtk.a | |
ca30ba9e | 180 | |
181 | %files -n python-%{name} | |
182 | %defattr(644,root,root,755) | |
183 | %attr(755,root,root) %{py_sitedir}/empathy.so | |
184 | %attr(755,root,root) %{py_sitedir}/empathygtk.so |