Name: gaim Version: 0.52 Release: 2 Epoch: 1 License: GPL Group: Applications/Internet URL: http://www.sourceforge.net/gaim/ Source: ftp://ftp.sourceforge.net/pub/sourceforge/gaim/gaim-%{version}.tar.bz2 Patch0: %{name}-%{version}-config.patch Patch1: %{name}-%{version}-core.patch Patch2: %{name}-%{version}-libgg.h.patch Patch3: %{name}-%{version}-rxhandler.patch Patch4: %{name}-%{version}-pluginMake.patch Patch5: %{name}-%{version}-libxode.patch Patch6: %{name}-%{version}-zephyr.patch Patch7: %{name}-%{version}-configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk+ >= 1.2.0 , glib-devel >= 1.2.10 Summary: A GTK+ clone of the AOL Instant Messenger client. Prereq: gtk+ >= 1.2 , glib >= 1.2.10 Prefix: %{_prefix} %description Gaim is a clone of America Online's Instant Messenger client. It features nearly all of the functionality of the official AIM client while also being smaller and faster (or so we hope!), commercial free, and maybe even tossing in the extra nifty feature here and there. %define DEFCC cc %prep %setup -q %patch0 -p1 -b .config %patch1 -p1 -b .core %patch2 -p1 -b .libggh %patch3 -p1 -b .rxhandler %patch4 -p1 -b .pluginMake %patch5 -p1 -b .libxode %patch6 -p1 -b .zephyr %patch7 -p1 -b .configure %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if test "X$CC" != "Xgcc" then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` export CFLAGS="-qcpluscmt $RPM_OPT_FLAGS -DSTRICT_ANSI" else export CFLAGS="$RPM_OPT_FLAGS -DSTRICT_ANSI" fi # Uncomment for debugging (and add --enable-debug to configure below) export CFLAGS=`echo $CFLAGS | sed 's:-O2::'` export LDFLAGS="-Wl,-brtl" #NOTE: With perl enabled, gaim segfaults when it starts up. # Hence the --disable-perl. ./configure --prefix=%{prefix} --disable-perl make %install rm -rf $RPM_BUILD_ROOT #install the non-gnome part make DESTDIR=$RPM_BUILD_ROOT install-strip mkdir -p $RPM_BUILD_ROOT%{prefix}/etc/CORBA/servers/ mkdir -p $RPM_BUILD_ROOT%{prefix}/share/applets/Network/ install -m644 gaim_applet.gnorba $RPM_BUILD_ROOT%{prefix}/etc/CORBA/servers/gaim_applet.gnorba install -m644 gaim_applet.desktop $RPM_BUILD_ROOT%{prefix}/share/applets/Network/gaim_applet.desktop ( cd $RPM_BUILD_ROOT mkdir -p usr/bin cd usr/bin ln -s ../..%{prefix}/bin/* . cd - mkdir -p usr/lib cd usr/lib ln -s ../..%{prefix}/lib/* . cd - ) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc TODO README NEWS INSTALL ChangeLog COPYING AUTHORS %config %{_sysconfdir}/CORBA/servers/gaim_applet.gnorba %{_bindir}/* %{_libdir}/gaim %{_mandir}/*/* %{_datadir}/applets/Network/gaim_applet.desktop %{_datadir}/gnome/apps/Internet/gaim.desktop %{_datadir}/pixmaps/gaim.xpm /usr/bin/gaim /usr/lib/* %changelog * Fri Aug 01 2003 David Clissold - Remove requirement of gnome-core * Thu Jun 6 2002 Chris Tysor - Update to 0.52 - Remove msn plugins * Fri Aug 31 2001 David Clissold - Update to level 0.11.0pre15. * Tue Aug 28 2001 David Clissold - Update to level 0.11.0pre14. * Tue Jun 12 2001 David Clissold - initial GAIM build for the AIX Toolbox * Thu Feb 15 2001 Trond Eivind Glomsrød - make it compile * Sun Feb 11 2001 Tim Powers - updated to 0.11.0pre4 (bug fixes) - applied Bero's konqueror patch to fix kfm->konq * Tue Dec 5 2000 Tim Powers - updated to 0.11.0pre2 - enable gnome support - updated ispell to aspell patch - cleaned up file list * Thu Nov 16 2000 Tim Powers - updated to 0.10.3 * Fri Nov 10 2000 Tim Powers - update to 0.10.2 * Mon Sep 11 2000 Tim Powers - some ideas taken from the package available at the gaim website, mainly to install the applet stuff too. * Wed Aug 9 2000 Tim Powers - added Serial so that we can upgrade from Helix packages from 6.2 * Mon Jul 24 2000 Prospector - rebuilt * Tue Jul 18 2000 Tim Powers - changed default spell checker to aspell from ispell, patched. - requires aspell * Mon Jul 10 2000 Tim Powers - rebuilt * Thu Jun 22 2000 Tim Powers - fixed problems with ldconfig PreReq, shouls have been /sbin/ldconfig * Mon Jun 12 2000 Preston Brown - 0.9.19 - fix ldconfig stuff * Thu Jun 1 2000 Tim Powers - cleaned up spec for use with RPM 4.0 (al la _sysconfdir _datadir etc) - update to 0.9.17 - yay! a man page! * Thu May 25 2000 Tim Powers - we left a bunch of stuff out, pixmaps, plugins. Fixed - added applnk entry * Wed May 10 2000 Tim Powers - updated to 0.9.15 * Mon Apr 24 2000 Matt Wilson - updated to 0.9.14 * Mon Apr 24 2000 Matt Wilson - updated to 0.9.13 * Thu Feb 10 2000 Matt Wilson - added patch to prevent floating point errors in lag-o-meter update code * Wed Nov 10 1999 Tim Powers - updated to 0.9.10 * Tue Jul 13 1999 Tim Powers - rebuilt and put into Powertools 6.1 * Mon Jul 12 1999 Dale Lovelace - First RPM Build