+# _with_panel GNOME panel support
Summary: A client compatible with AOL's 'Instant Messenger'
Summary(pl): Klient kompatybilny z programem AOLa 'Instant Messenger'
Name: gaim
-Version: 0.43
-Release: 1
+Version: 0.45
+Release: 3
License: GPL
Group: Applications/Communications
Group(de): Applikationen/Kommunikation
Group(pl): Aplikacje/Komunikacja
Source0: http://prdownloads.sourceforge.net/gaim/%{name}-%{version}.tar.bz2
+Patch0: %{name}-font-by-locale.patch
+Patch1: %{name}-iconv.patch
URL: http://gaim.sourceforge.net/
BuildRequires: ORBit-devel
BuildRequires: autoconf
same features as AOL's IM client while at the same time incorporating
many new features. Gaim also contains a multiple connection feature
which consists of protocol plugins. These plugins allow you to use
-gaim to connect to other chat services such as Yahoo!, ICQ, and IRC.
+gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
+Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
%description -l pl
Gaim pozwala na rozmowy z dowoln± osob± u¿ywaj±c± us³ugi AOL Instant
Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byc
przes³ana gdziekolwiek. Gaim zawiera wiele udogodnieñ dostêpnych w
kliencie AOL IM jak równie¿ dodaje w³asne. Gaim umo¿liwia tak¿e dostêp
-do us³ug takich jak Yahoo!, ICQ oraz IRC.
+do us³ug takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
+oraz Gadu-Gadu.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
rm -f missing
autoconf
automake -a -c
%configure \
- --enable-panel \
+ %{?_with_panel:--enable-panel} \
+ %{?!_with_panel:--disable-panel} \
--enable-esd \
--disable-nas \
--disable-artsc \
%install
rm -rf $RPM_BUILD_ROOT
+# NOTE: make ignores gaimdesktopdir set below.
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- gaimdesktopdir=%{_applnkdir}/Network/Communications
+ gaimdesktopdir=%{_applnkdir}/Network/Communications \
+ distribdesktopdir=%{_applnkdir}/Network/Communications
+
+mv $RPM_BUILD_ROOT{%{_datadir}/gnome/apps/Internet/gaim.desktop,%{_applnkdir}/Network/Communications}
gzip -9nf AUTHORS ChangeLog NEWS README* STATUS TODO HACKING \
- doc/{CREDITS,FAQ,PROTOCOL}
+ doc/{CREDITS,FAQ}
%find_lang %{name} --with-gnome --all-name
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc {*,doc/*}.gz
-%{_sysconfdir}/CORBA/servers/*
+%{?_with_panel:%{_sysconfdir}/CORBA/servers/*}
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/gaim
-%attr(755,root,root) %{_libdir}/gaim/*
+%attr(755,root,root) %{_libdir}/gaim/*.so
%{_applnkdir}/Network/Communications/*.desktop
%{_pixmapsdir}/*
%{_mandir}/man?/*