1 # This file does not like to be adapterized!
2 Summary: A client compatible with AOL's 'Instant Messenger'
3 Summary(pl): Klient kompatybilny z AOL Instant Messenger
4 Summary(pt_BR): Um cliente para o AOL Instant Messenger (AIM)
10 Group: Applications/Communications
11 Source0: http://belnet.dl.sourceforge.net/sourceforge/gaim/%{name}-%{version}.tar.gz
12 # Patch0: %{name}-gg_logoff.patch
13 # Patch1: %{name}-am_ac.patch
14 # Patch2: %{name}-tw.patch
15 URL: http://gaim.sourceforge.net/
16 BuildRequires: ORBit-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gnome-libs-devel >= 1.2.13
20 BuildRequires: esound-devel
21 BuildRequires: gtk+2-devel >= 2.1.0
22 BuildRequires: gettext-devel
23 BuildRequires: libtool
24 BuildRequires: perl-devel
25 BuildRequires: gnome-core-devel
26 BuildRequires: gdk-pixbuf-devel
28 Requires: gaim-ui = %{version}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _sysconfdir /etc/X11/GNOME
32 %define _prefix /usr/X11R6
35 Gaim allows you to talk to anyone using AOL's Instant Messenger
36 service (you can sign up at http://www.aim.aol.com). It uses the TOC
37 version of the AOL protocol, so your buddy list is stored on AOL's
38 servers and can be retrieved from anywhere. It contains many of the
39 same features as AOL's IM client while at the same time incorporating
40 many new features. Gaim also contains a multiple connection feature
41 which consists of protocol plugins. These plugins allow you to use
42 gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
43 Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
46 Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
47 Messenger (mo¿na siê zarejstrowaæ pod adresem
48 http://www.aim.aol.com/). Program u¿ywa wersji TOC protoko³u AOL wiêc
49 Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byc
50 przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
51 kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
52 do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
56 GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço
57 tik/toc da AOL. É desenvolvido ativamente e suporta muitas das
58 características do cliente da AOL, tendo uma interface similiar.
59 Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!,
60 MSN, Jabber e Napster.
63 Summary: gtk+ user interface for gaim
64 Summary(pl): Interfejs u¿ytkownika gaim korzystaj±cy z gtk+
65 Group: Applications/Communications
66 Provides: gaim-ui = %{version}-%{release}
69 gtk+ user interface for gaim.
71 %description ui-gtk -l pl
72 Interfejs u¿ytkownika gaim korzystaj±cy z gtk+.
75 # Summary: GNOME user interface for gaim (applet)
76 # Summary(pl): Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet)
77 # Group: Applications/Communications
78 # Provides: gaim-ui = %{version}-%{release}
80 # %description ui-gnome
81 # GNOME user interface for gaim (applet).
83 # %description ui-gnome -l pl
84 # Interfejs u¿ytkownika gaim korzystaj±cy z GNOME (applet).
87 %setup -qn %{name}-%{version}
106 --with-gtk-prefix=/usr/X11R6 \
107 --with-gdk-pixbuf-config=/usr/X11R6/bin/gdk-pixbuf-config
109 mv plugins/.libs/iconaway{,_standalone}.so
110 mv src/gaim{,_standalone}
119 --with-gtk-prefix=/usr/X11R6 \
120 --with-gdk-pixbuf-config=/usr/X11R6/bin/gdk-pixbuf-config
124 rm -rf $RPM_BUILD_ROOT
125 install -d $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
127 # NOTE: make ignores gaimdesktopdir set below.
129 DESTDIR=$RPM_BUILD_ROOT \
130 gaimdesktopdir=%{_applnkdir}/Network/Communications \
131 distribdesktopdir=%{_applnkdir}/Network/Communications
133 mv $RPM_BUILD_ROOT{%{_datadir}/applications/gaim.desktop,%{_applnkdir}/Network/Communications}
135 mv $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway{,_applet}.so
136 install plugins/.libs/iconaway.so $RPM_BUILD_ROOT%{_libdir}/gaim/iconaway.so
137 install src/gaim_standalone $RPM_BUILD_ROOT%{_bindir}/gaim
139 %find_lang %{name} --with-gnome --all-name
142 rm -rf $RPM_BUILD_ROOT
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc AUTHORS ChangeLog NEWS README* TODO HACKING doc/{CREDITS,FAQ}
148 %attr(755,root,root) %{_libdir}/gaim/[^i]*.so
151 %{_datadir}/sounds/%{name}/*.wav
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_bindir}/gaim
156 %attr(755,root,root) %{_libdir}/gaim/iconaway.so
157 %{_applnkdir}/Network/Communications/gaim.desktop
160 # %defattr(644,root,root,755)
161 # %attr(755,root,root) %{_bindir}/gaim_applet
162 # %attr(755,root,root) %{_libdir}/gaim/iconaway_applet.so
163 # %{_applnkdir}/Network/Communications/gaim_applet.desktop
164 # %{_sysconfdir}/CORBA/servers/*