2 # - nas, silc/silcclient?
3 # - kerberos 4 with zephyr support?
5 # http://packages.qa.debian.org/z/zephyr.html
6 # - kill -ui-gtk? (is there any other ui?)
8 %bcond_without doc # do not generate and include documentation
9 %bcond_without gtkspell # without gtkspell support
11 %include /usr/lib/rpm/macros.perl
12 Summary: A client compatible with AOL's 'Instant Messenger'
13 Summary(ko): AOL ÀνºÅÏÆ® ¸Þ½ÅÀú¿Í ȣȯµÇ´Â Ŭ¶óÀ̾ðÆ®
14 Summary(pl): Klient kompatybilny z AOL Instant Messenger
15 Summary(pt_BR): Um cliente para o AOL Instant Messenger (AIM)
16 Summary(de): Gaim ist ein Instant Messenger
22 Group: Applications/Communications
23 Source0: http://dl.sourceforge.net/gaim/%{name}-%{version}.tar.bz2
24 # Source0-md5: d7717cb771e556012ecd5b7f3bdb02ba
25 Patch0: %{name}-nolibs.patch
26 Patch1: %{name}-desktop.patch
27 Patch2: %{name}-GG-evo.patch
28 URL: http://gaim.sourceforge.net/
29 BuildRequires: audiofile-devel
30 BuildRequires: autoconf
31 BuildRequires: automake
32 BuildRequires: evolution-data-server-devel >= 0.0.95
33 BuildRequires: gettext-devel
34 BuildRequires: gtk+2-devel >= 1:2.2.0
35 %{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.4}
36 BuildRequires: libao-devel
37 BuildRequires: libtool
38 BuildRequires: perl-devel
39 BuildRequires: pkgconfig
40 BuildRequires: rpm-perlprov
41 BuildRequires: rpmbuild(macros) >= 1.177
42 BuildRequires: tcl-devel
43 BuildRequires: tk-devel
44 BuildRequires: xcursor-devel
46 BuildRequires: doxygen
47 BuildRequires: graphviz
49 Requires: gaim-ui = %{epoch}:%{version}-%{release}
51 # weird: it *should* break after DynaLoader's version change, but it doesn't
52 #Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56 Gaim allows you to talk to anyone using AOL's Instant Messenger
57 service (you can sign up at http://www.aim.aol.com). It uses the TOC
58 version of the AOL protocol, so your buddy list is stored on AOL's
59 servers and can be retrieved from anywhere. It contains many of the
60 same features as AOL's IM client while at the same time incorporating
61 many new features. Gaim also contains a multiple connection feature
62 which consists of protocol plugins. These plugins allow you to use
63 gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
64 Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
67 Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
68 Messenger (mo¿na siê zarejestrowaæ pod adresem
69 http://www.aim.aol.com/). Program u¿ywa wersji TOC protoko³u AOL wiêc
70 Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byæ
71 przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
72 kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
73 do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
77 GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço
78 tik/toc da AOL. É desenvolvido ativamente e suporta muitas das
79 características do cliente da AOL, tendo uma interface similiar.
80 Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!,
81 MSN, Jabber e Napster.
84 Gaim ist ein Instant Messenger der von Mark Spencer ursprünglich für
85 unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch
86 auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen
87 Plugins stark erweitert werden kann.
90 Summary: gtk+ user interface for gaim
91 Summary(pl): Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
92 Group: Applications/Communications
93 Provides: gaim-ui = %{epoch}:%{version}-%{release}
96 gtk+ user interface for gaim.
98 %description ui-gtk -l pl
99 Interfejs u¿ytkownika gaim korzystaj±cy z gtk+.
102 Summary: Development files for gaim
103 Summary(pl): Pliki programistyczne biblioteki gaim-remote
104 Group: Development/Libraries
105 Requires: %{name}-plugin-remote = %{epoch}:%{version}-%{release}
106 Requires: glib2-devel >= 2.0.0
107 Requires: gtk+2-devel >= 1:2.2.0
110 Development files for gaim.
112 %description devel -l pl
113 Pliki programistyczne biblioteki gaim-remote.
116 Summary: Gaim files for Perl scripts
117 Summary(pl): Pliki Gaima dla skryptów w Perlu
119 Requires: %{name} = %{epoch}:%{version}-%{release}
122 This package gives you ability to extend Gaim functionality with Perl
125 %description perl -l pl
126 Ten pakiet daje mo¿liwo¶æ rozszerzania funkcjonalno¶ci Gaima za pomoc±
130 Summary: Gaim files for Tcl scripts
131 Summary(pl): Pliki Gaima dla skryptów w Tcl-u
133 Requires: %{name} = %{epoch}:%{version}-%{release}
136 This package gives you ability to extend Gaim functionality with Tcl
139 %description tcl -l pl
140 Ten pakiet daje mo¿liwo¶æ rozszerzania funkcjonalno¶ci Gaima za pomoc±
143 %package plugin-evolution
144 Summary: Plugin for Ximian Evolution integration
145 Summary(pl): Wtyczka do integracji z Evolution
147 Requires: %{name} = %{epoch}:%{version}-%{release}
149 %description plugin-evolution
150 Provides integration with Ximian Evolution.
152 %description plugin-evolution -l pl
153 Wtyczka do integracji z Evolution.
155 %package plugin-remote
156 Summary: Gaim Remote Control
157 Summary(pl): Zdalne sterowanie Gaimem
159 Requires: %{name} = %{epoch}:%{version}-%{release}
161 %description plugin-remote
162 This package gives Gaim the ability to be remote-controlled through
163 third-party applications or through the gaim-remote tool.
165 %description plugin-remote -l pl
166 Ten pakiet daje mo¿liwo¶æ zdalnego sterowania Gaimem przez inne
167 aplikacje albo narzêdzie gaim-remote.
170 Summary: Gaim documentation for developers (HTML format)
171 Summary(pl): Dokumentacja Gaim dla programistów (format HTML)
175 Gaim documentation for developers (HTML format).
177 %description doc -l pl
178 Dokumentacja Gaim dla programistów (format HTML).
180 %triggerpostun -- %{name} < 1:1.3.1-1.10
181 %banner -e %{name} <<EOF
182 The Ximian Evolution and gaim-remote plugins have been separated to separate packages.
183 If you need then please install %{name}-plugin-evolution and %{name}-plugin-remote
202 --with-perl-lib=vendor \
203 %{!?with_gtkspell:--disable-gtkspell}
206 %{?with_doc:%{__make} docs}
209 rm -rf $RPM_BUILD_ROOT
212 DESTDIR=$RPM_BUILD_ROOT
214 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la
216 # for future my_MM not supported by glibc yet
217 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/my{_MM,}
219 %find_lang %{name} --with-gnome --all-name
222 rm -rf $RPM_BUILD_ROOT
224 %post plugin-remote -p /sbin/ldconfig
225 %postun plugin-remote -p /sbin/ldconfig
227 %files -f %{name}.lang
228 %defattr(644,root,root,755)
229 %doc AUTHORS ChangeLog NEWS README* HACKING doc/{CREDITS,FAQ}
231 %attr(755,root,root) %{_libdir}/gaim/autorecon.so
232 %attr(755,root,root) %{_libdir}/gaim/docklet.so
233 %attr(755,root,root) %{_libdir}/gaim/extplacement.so
234 %attr(755,root,root) %{_libdir}/gaim/gestures.so
235 %attr(755,root,root) %{_libdir}/gaim/history.so
236 %attr(755,root,root) %{_libdir}/gaim/idle.so
237 %attr(755,root,root) %{_libdir}/gaim/libgg.so
238 %attr(755,root,root) %{_libdir}/gaim/libirc.so
239 %attr(755,root,root) %{_libdir}/gaim/libjabber.so
240 %attr(755,root,root) %{_libdir}/gaim/libmsn.so
241 %attr(755,root,root) %{_libdir}/gaim/libnapster.so
242 %attr(755,root,root) %{_libdir}/gaim/libnovell.so
243 %attr(755,root,root) %{_libdir}/gaim/liboscar.so
244 %attr(755,root,root) %{_libdir}/gaim/libyahoo.so
245 %attr(755,root,root) %{_libdir}/gaim/libzephyr.so
246 %attr(755,root,root) %{_libdir}/gaim/notify.so
247 %attr(755,root,root) %{_libdir}/gaim/relnot.so
248 %attr(755,root,root) %{_libdir}/gaim/spellchk.so
249 %attr(755,root,root) %{_libdir}/gaim/ssl-gnutls.so
250 %attr(755,root,root) %{_libdir}/gaim/ssl-nss.so
251 %attr(755,root,root) %{_libdir}/gaim/ssl.so
252 %attr(755,root,root) %{_libdir}/gaim/statenotify.so
253 %attr(755,root,root) %{_libdir}/gaim/ticker.so
254 %attr(755,root,root) %{_libdir}/gaim/timestamp.so
257 %{_datadir}/sounds/%{name}
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_bindir}/gaim
262 %attr(755,root,root) %{_libdir}/gaim/iconaway.so
263 %{_desktopdir}/gaim.desktop
266 %defattr(644,root,root,755)
267 %attr(755,root,root) %{_libdir}/libgaim-remote.so
268 %{_libdir}/libgaim-remote.la
269 %dir %{_includedir}/gaim
270 %{_includedir}/gaim/*.h
274 %defattr(644,root,root,755)
275 %attr(755,root,root) %{_libdir}/gaim/perl.so
276 %{perl_vendorarch}/*.pm
277 %dir %{perl_vendorarch}/auto/Gaim
278 %{perl_vendorarch}/auto/Gaim/*.ix
279 %{perl_vendorarch}/auto/Gaim/*.bs
280 %attr(755,root,root) %{perl_vendorarch}/auto/Gaim/*.so
283 %defattr(644,root,root,755)
284 %attr(755,root,root) %{_libdir}/gaim/tcl.so
286 %files plugin-evolution
287 %defattr(644,root,root,755)
288 %attr(755,root,root) %{_libdir}/gaim/gevolution.so
291 %defattr(644,root,root,755)
292 %attr(755,root,root) %{_bindir}/gaim-remote
293 %attr(755,root,root) %{_libdir}/libgaim-remote.so.0.0.0
294 %attr(755,root,root) %{_libdir}/gaim/gaim-remote.so
298 %defattr(644,root,root,755)
299 %doc doc/html/*.{html,png,css}