]>
Commit | Line | Data |
---|---|---|
97652086 ER |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with tpl # enable telepathy-logger code and disable the empathy logger | |
4 | ||
8f5d8743 | 5 | Summary: Very easy to use GNOME Telepathy client |
ff309d39 | 6 | Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME |
8f5d8743 | 7 | Name: empathy |
dc8710c8 | 8 | Version: 2.30.3 |
97652086 | 9 | Release: 2 |
9d8d0097 | 10 | License: GPL v2 |
8f5d8743 | 11 | Group: Applications/Communications |
6ce0d76b | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/2.30/%{name}-%{version}.tar.bz2 |
dc8710c8 | 13 | # Source0-md5: d797f30219da87d4564fb92705626cd3 |
fa1ed95c | 14 | Patch0: configure.patch |
9d8d0097 MB |
15 | URL: http://live.gnome.org/Empathy |
16 | BuildRequires: GConf2-devel >= 2.26.0 | |
0f3796d3 | 17 | BuildRequires: NetworkManager-devel >= 0.7 |
7bc86367 MB |
18 | BuildRequires: autoconf >= 2.59 |
19 | BuildRequires: automake >= 1:1.9 | |
6a27292c | 20 | #BuildRequires: check >= 0.9.4 |
21 | #BuildRequires: clutter-gtk-devel >= 0.10.0 | |
9d8d0097 | 22 | BuildRequires: dbus-glib-devel >= 0.74 |
6a27292c | 23 | #BuildRequires: docbook-dtd412-xml |
9d8d0097 MB |
24 | BuildRequires: enchant-devel >= 1.2.0 |
25 | BuildRequires: evolution-data-server-devel >= 2.24.0 | |
67fd8e35 | 26 | BuildRequires: farsight2-devel |
0f3796d3 | 27 | BuildRequires: geoclue-devel >= 0.11 |
9d8d0097 MB |
28 | BuildRequires: gettext-devel |
29 | BuildRequires: gnome-common >= 2.24.0 | |
0f3796d3 | 30 | BuildRequires: gnome-doc-utils >= 0.18.0 |
6a27292c | 31 | #BuildRequires: gnome-panel-devel >= 2.24.0 |
9d8d0097 MB |
32 | BuildRequires: gstreamer-devel |
33 | BuildRequires: gstreamer-plugins-base-devel | |
67fd8e35 | 34 | BuildRequires: gtk+2-devel >= 2:2.18.0 |
6a27292c | 35 | #BuildRequires: gtk-doc >= 1.3 |
0f3796d3 | 36 | BuildRequires: gtk-webkit-devel >= 1.1.7 |
9d8d0097 MB |
37 | BuildRequires: intltool >= 0.40.0 |
38 | BuildRequires: iso-codes >= 0.35 | |
39 | BuildRequires: libcanberra-gtk-devel >= 0.4 | |
0f3796d3 | 40 | BuildRequires: libchamplain-devel >= 0.4 |
67fd8e35 | 41 | BuildRequires: libgnome-keyring-devel |
9d8d0097 | 42 | BuildRequires: libnotify-devel >= 0.4.4 |
8f5d8743 | 43 | BuildRequires: libtool |
0f3796d3 | 44 | BuildRequires: libunique-devel |
7bc86367 | 45 | BuildRequires: libxml2-devel >= 1:2.6.28 |
67fd8e35 | 46 | BuildRequires: nautilus-sendto-devel >= 2.28.1 |
7bc86367 | 47 | BuildRequires: pkgconfig |
6a27292c | 48 | #BuildRequires: python-pygtk-devel |
49 | #BuildRequires: rpm-pythonprov | |
9d8d0097 | 50 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
8f5d8743 | 51 | BuildRequires: rpmbuild(macros) >= 1.311 |
c94b2508 | 52 | BuildRequires: sed >= 4.0 |
9d8d0097 | 53 | BuildRequires: telepathy-farsight-devel |
ae274225 | 54 | BuildRequires: telepathy-glib-devel >= 0.9.2 |
97652086 | 55 | %{?with_tpl:BuildRequires: telepathy-logger-devel >= 0.1.1} |
6a27292c | 56 | #BuildRequires: telepathy-mission-control-devel >= 5.0 |
a4a87cd7 | 57 | Requires(post,postun): gtk+2 >= 2:2.12.0 |
8f5d8743 | 58 | Requires(post,postun): hicolor-icon-theme |
7bc86367 | 59 | Requires(post,preun): GConf2 |
4a2dae01 | 60 | Requires: telepathy-mission-control |
e7f1dfbf MB |
61 | Suggests: telepathy-butterfly |
62 | Suggests: telepathy-gabble | |
9d8d0097 | 63 | Suggests: telepathy-haze |
e7f1dfbf MB |
64 | Suggests: telepathy-idle |
65 | Suggests: telepathy-salut | |
9d8d0097 | 66 | Suggests: telepathy-sofiasip |
6ce0d76b PZ |
67 | Obsoletes: empathy-apidocs < 2.29.1 |
68 | Obsoletes: empathy-devel < 2.29.1 | |
69 | Obsoletes: empathy-libs < 2.29.1 | |
8f5d8743 | 70 | Obsoletes: gnome-jabber |
6ce0d76b | 71 | Obsoletes: python-empathy < 2.29.1 |
b351ecf9 | 72 | # sr@Latn vs. sr@latin |
73 | Conflicts: glibc-misc < 6:2.7 | |
8f5d8743 | 74 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
75 | ||
76 | %description | |
77 | Empathy aims at making Instant Messaging with Jabber as easy as | |
78 | possible. | |
79 | ||
ff309d39 | 80 | %description -l pl.UTF-8 |
7bc86367 MB |
81 | Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym |
82 | jak to tylko możliwe. | |
ff309d39 | 83 | |
6ce0d76b PZ |
84 | %package -n nautilus-sendto-empathy |
85 | Summary: Empathy support for sending files in Nautilus | |
86 | Summary(pl.UTF-8): Wsparcie Empathy przy wysyłaniu plików z Nautilusa | |
87 | Group: X11/Applications | |
88 | Requires: %{name} = %{version}-%{release} | |
67fd8e35 | 89 | Requires: nautilus-sendto >= 2.28.1 |
3b871c30 | 90 | |
6ce0d76b PZ |
91 | %description -n nautilus-sendto-empathy |
92 | Enables sending files from Nautilus to your Empathy contacts. | |
3b871c30 | 93 | |
6ce0d76b PZ |
94 | %description -n nautilus-sendto-empathy -l pl.UTF-8 |
95 | Pozwala na przesyłanie z Nautilusa plików do kontaktów Empathy. | |
92291b9a | 96 | |
8f5d8743 | 97 | %prep |
98 | %setup -q | |
fa1ed95c MB |
99 | %patch0 -p1 |
100 | ||
6ce0d76b PZ |
101 | rm po/en@shaw.po |
102 | sed -i 's/^en@shaw//' po/LINGUAS | |
8f5d8743 | 103 | |
104 | %build | |
9d8d0097 MB |
105 | %{__intltoolize} |
106 | %{__libtoolize} | |
107 | %{__aclocal} -I m4 | |
108 | %{__autoconf} | |
109 | %{__autoheader} | |
110 | %{__automake} | |
8f5d8743 | 111 | %configure \ |
97652086 | 112 | %{!?with_tpl:--disable-tpl} \ |
c94b2508 | 113 | --with-connectivity=nm \ |
d8157f12 | 114 | --disable-schemas-install \ |
67fd8e35 | 115 | --disable-silent-rules \ |
e03dc004 | 116 | --disable-static \ |
97652086 | 117 | %{?with_tpl:--enable-favourite-contacts} \ |
e03dc004 | 118 | --enable-location \ |
67fd8e35 MB |
119 | --enable-nautilus-sendto |
120 | ||
e03dc004 | 121 | %{__make} -j 1 |
8f5d8743 | 122 | |
123 | %install | |
124 | rm -rf $RPM_BUILD_ROOT | |
125 | ||
126 | %{__make} install \ | |
127 | DESTDIR=$RPM_BUILD_ROOT \ | |
128 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
129 | ||
67fd8e35 | 130 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus-sendto/plugins/*.la |
a4a87cd7 MB |
131 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} |
132 | ||
9d8d0097 | 133 | %find_lang %{name} --with-gnome --with-omf |
8f5d8743 | 134 | |
135 | %clean | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
138 | %post | |
139 | %gconf_schema_install empathy.schemas | |
8f5d8743 | 140 | %update_icon_cache hicolor |
141 | ||
142 | %preun | |
143 | %gconf_schema_uninstall empathy.schemas | |
144 | ||
145 | %postun | |
8f5d8743 | 146 | %update_icon_cache hicolor |
147 | ||
148 | %files -f %{name}.lang | |
149 | %defattr(644,root,root,755) | |
150 | %doc AUTHORS CONTRIBUTORS ChangeLog NEWS README | |
9d8d0097 | 151 | %attr(755,root,root) %{_bindir}/empathy |
6ce0d76b PZ |
152 | %attr(755,root,root) %{_bindir}/empathy-accounts |
153 | %attr(755,root,root) %{_bindir}/empathy-debugger | |
8f5d8743 | 154 | %{_datadir}/%{name} |
e03dc004 PZ |
155 | %{_datadir}/telepathy/clients/Empathy.client |
156 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service | |
8f5d8743 | 157 | %{_iconsdir}/hicolor/*/apps/* |
158 | %{_sysconfdir}/gconf/schemas/empathy.schemas | |
30bde267 | 159 | %{_mandir}/man1/empathy*.1* |
408975c4 | 160 | %{_desktopdir}/*.desktop |
d8157f12 | 161 | |
6ce0d76b | 162 | %files -n nautilus-sendto-empathy |
ca30ba9e | 163 | %defattr(644,root,root,755) |
6ce0d76b | 164 | %attr(755,root,root) %{_libdir}/nautilus-sendto/plugins/libnstempathy.so |