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