%bcond_without doc # do not generate and include documentation %bcond_without gtkspell # without gtkspell support # %include /usr/lib/rpm/macros.perl Summary: A client compatible with AOL's 'Instant Messenger' Summary(ko): AOL ÀνºÅÏÆ® ¸Þ½ÅÀú¿Í ȣȯµÇ´Â Ŭ¶óÀ̾ðÆ® Summary(pl): Klient kompatybilny z AOL Instant Messenger Summary(pt_BR): Um cliente para o AOL Instant Messenger (AIM) Summary(de): Gaim ist ein Instant Messenger Name: gaim Version: 1.3.1 Release: 1 Epoch: 1 License: GPL Group: Applications/Communications Source0: http://dl.sourceforge.net/gaim/%{name}-%{version}.tar.bz2 # Source0-md5: a76e59c5093773169fbb232782a2f116 Patch0: %{name}-nolibs.patch Patch1: %{name}-desktop.patch Patch2: %{name}-GG-evo.patch URL: http://gaim.sourceforge.net/ BuildRequires: audiofile-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: evolution-data-server >= 0.0.95 BuildRequires: gettext-devel BuildRequires: gtk+2-devel >= 1:2.2.0 %{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.4} BuildRequires: libao-devel BuildRequires: libtool BuildRequires: perl-devel BuildRequires: pkgconfig BuildRequires: rpm-perlprov BuildRequires: xcursor-devel %if %{with doc} BuildRequires: doxygen BuildRequires: graphviz %endif Requires: gaim-ui = %{epoch}:%{version}-%{release} #Requires: libao # weird: it *should* break after DynaLoader's version change, but it doesn't #Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Gaim allows you to talk to anyone using AOL's Instant Messenger service (you can sign up at http://www.aim.aol.com). It uses the TOC version of the AOL protocol, so your buddy list is stored on AOL's servers and can be retrieved from anywhere. It contains many of the 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, 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 Messenger (mo¿na siê zarejestrowaæ pod adresem http://www.aim.aol.com/). Program u¿ywa wersji TOC protoko³u AOL wiêc Twoja lista kontaktów jest zapisana na serwerze AOL i mo¿e byæ 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, MSN, Jabber, Napster, Zephyr, IRC oraz Gadu-Gadu. %description -l pt_BR GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço tik/toc da AOL. É desenvolvido ativamente e suporta muitas das características do cliente da AOL, tendo uma interface similiar. Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!, MSN, Jabber e Napster. %description -l de Gaim ist ein Instant Messenger der von Mark Spencer ursprünglich für unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen Plugins stark erweitert werden kann. %package ui-gtk Summary: gtk+ user interface for gaim Summary(pl): Interfejs u¿ytkownika gaim korzystaj±cy z gtk+ Group: Applications/Communications Provides: gaim-ui = %{epoch}:%{version}-%{release} %description ui-gtk gtk+ user interface for gaim. %description ui-gtk -l pl Interfejs u¿ytkownika gaim korzystaj±cy z gtk+. %package devel Summary: Development files for gaim-remote library Summary(pl): Pliki programistyczne biblioteki gaim-remote Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: glib2-devel >= 2.0.0 Requires: gtk+2-devel >= 1:2.2.0 %description devel Development files for gaim-remote library. %description devel -l pl Pliki programistyczne biblioteki gaim-remote. %package perl Summary: Gaim files for perl scripts Summary(pl): Pliki Gaim dla skryptów perl Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} %description perl Gaim files for perl scripts. %description perl -l pl Pliki Gaim dla skryptów perl. %package doc Summary: Gaim documentation for developers (HTML format) Summary(pl): Dokumentacja Gaim dla programistów (format HTML) Group: Development/Libraries %description doc Gaim documentation for developers (HTML format). %description doc -l pl Dokumentacja Gaim dla programistów (format HTML). %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %{__libtoolize} %{__gettextize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} %configure \ --disable-nas \ --enable-nss=no \ --with-perl-lib=vendor \ %{!?with_gtkspell:--disable-gtkspell} %{__make} %{?with_doc:%{__make} docs} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la %find_lang %{name} --with-gnome --all-name %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README* HACKING doc/{CREDITS,FAQ} %attr(755,root,root) %{_bindir}/gaim-remote %attr(755,root,root) %{_libdir}/libgaim-remote.so.0.0.0 %dir %{_libdir}/gaim %attr(755,root,root) %{_libdir}/gaim/[!pi]*.so %attr(755,root,root) %{_libdir}/gaim/idle*.so %{_pixmapsdir}/* %{_mandir}/man?/* %{_datadir}/sounds/%{name} %files ui-gtk %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/gaim %attr(755,root,root) %{_libdir}/gaim/iconaway.so %{_desktopdir}/gaim.desktop %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libgaim-remote.so %{_libdir}/libgaim-remote.la %dir %{_includedir}/gaim %{_includedir}/gaim/*.h %{_pkgconfigdir}/* %files perl %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/gaim/perl.so %{perl_vendorarch}/*.pm %dir %{perl_vendorarch}/auto/Gaim %{perl_vendorarch}/auto/Gaim/*.ix %{perl_vendorarch}/auto/Gaim/*.bs %attr(755,root,root) %{perl_vendorarch}/auto/Gaim/*.so %if %{with doc} %files doc %defattr(644,root,root,755) %doc doc/html/*.{html,png,css} %endif