1 # 2 # spec file for package gaim 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: rickju 9 # 10 Name: gaim 11 Version: 2.0.0beta4 12 Release: 1 13 License: GPL 14 Group: Applications/Internet 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: Multiprotocol Instant Messaging Client 18 Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 19 Patch1: gaim-01-remove-unwanted-protocols.diff 20 Patch2: gaim-02-perl-common-argc.diff 21 Patch3: gaim-03-libgaimperl.diff 22 Patch4: gaim-04-long-preferences.diff 23 Patch5: gaim-05-proxy_mnemotics.diff 24 # date:2006-11-02 owner:dcarbery type:bug 25 # http://sourceforge.net/tracker/index.php?func=detail&aid=1589599&group_id=235&atid=300235 26 Patch6: gaim-06-gtk-func-def.diff 27 Patch7: gaim-07-protocol-mnemonics.diff 28 Patch8: gaim-08-gnome-keyring.diff 29 Patch9: gaim-09-gtk-file-chooser.diff 30 URL: http://gaim.sourceforge.net/ 31 BuildRoot: %{_tmppath}/%{name}-%{version}-build 32 Docdir: %{_defaultdocdir}/gaim 33 Autoreqprov: on 34 35 BuildRequires: gtk2-devel 36 BuildRequires: glib2-devel 37 38 %description 39 Gaim allows you to chat over the Internet using a variety of 40 messaging protocols, including AIM, ICQ, IRC, Yahoo!, 41 MSN Messenger and Jabber. 42 These protocols are implemented using a modular, easy to use 43 design. 44 45 %package devel 46 Summary: Multiprotocol Instant Messaging Client 47 Group: System/GUI/GNOME 48 Autoreqprov: on 49 Requires: %name = %version 50 51 %description devel 52 Gaim allows you to chat over the Internet using a variety of 53 messaging protocols, including AIM, ICQ, IRC, Yahoo!, 54 MSN Messenger and Jabber. 55 These protocols are implemented using a modular, easy to use 56 design. 57 58 %prep 59 %setup -q 60 %patch1 -p1 61 %patch2 -p1 62 %patch3 -p1 63 %patch4 -p1 64 %patch5 -p1 65 # date:2006-11-02 owner:damienc type:bug 66 %patch6 -p1 67 %patch7 -p1 68 %patch8 -p1 69 %patch9 -p1 70 71 %build 72 %ifos linux 73 if [ -x /usr/bin/getconf ]; then 74 CPUS=`getconf _NPROCESSORS_ONLN` 75 fi 76 %else 77 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 78 %endif 79 if test "x$CPUS" = "x" -o $CPUS = 0; then 80 CPUS=1 81 fi 82 83 glib-gettextize -f 84 libtoolize --force 85 aclocal $ACLOCAL_FLAGS -I . 86 autoheader 87 automake -a -c -f 88 autoconf 89 90 CFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS" \ 91 LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH" 92 ./configure \ 93 --prefix=%{_prefix} \ 94 --mandir=%{_mandir} \ 95 --sysconfdir=%{_sysconfdir} \ 96 --disable-binreloc \ 97 --with-static-prpls=all \ 98 --enable-gnome-keyring 99 100 make -j $CPUS 101 102 %install 103 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; 104 make DESTDIR=$RPM_BUILD_ROOT install \ 105 SITEPREFIX=/dummy VENDORPREFIX=/dummy PERLPREFIX=/dummy 106 rm -Rf $RPM_BUILD_ROOT%{_libdir}/perl5 107 rm -Rf $RPM_BUILD_ROOT/dummy 108 rm $RPM_BUILD_ROOT%{_libdir}/gaim/*.la 109 rm $RPM_BUILD_ROOT%{_libdir}/*.la 110 111 %files 112 %defattr(-, root, root) 113 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS 114 %doc doc/FAQ README ChangeLog HACKING 115 %attr(755, root, root) %{_libdir}/gaim/*.so 116 %{_bindir}/* 117 %{_mandir}/man1/* 118 %{_libdir}/lib*.so.* 119 %{_datadir}/locale/*/*/* 120 %{_datadir}/pixmaps/* 121 %{_datadir}/sounds/gaim/* 122 %{_datadir}/applications/* 123 %{_datadir}/dbus-1 124 125 %files devel 126 %defattr(-, root, root) 127 %{_libdir}/pkgconfig/* 128 %{_includedir}/gaim/* 129 %{_datadir}/aclocal 130 131 %clean 132 rm -r $RPM_BUILD_ROOT 133 134 %changelog 135 * Thu Mar 26 2007 - rick.ju@sun.com 136 - 08-gnome-keyring.diff: Fixed a typo 137 - Add --enable-gnome-keyring to configure 138 139 * Mon Nov 13 2006 - patrick.wade@sun.com 140 - Add patch, 07-protocol-mnemonics, to add protocol mnemonics, CR#6477194 141 142 * Fri Nov 03 2006 - damien.carbery@sun.com 143 - Specify sysconfdir in configure call as gaim.schemas is installed there. 144 145 * Thu Nov 02 2006 - damien.carbery@sun.com 146 - Add patch, 07-gtk-func-def, to fix inconsistency between a function 147 declaration and definition. Submitted upstream via sourceforge.net bug db. 148 149 * Thu Nov 02 2006 - damien.carbery@sun.com 150 - Bump to 2.0.0beta4. Remove upstream patch, 05-nopyextension, and obsolete 151 patch, 06-psychic, (referenced code no longer in module). Rename remainder. 152 153 * Mon Oct 16 2006 - damien.carbery@sun.com 154 - Remove the '-f' from the 'rm *.la *.a' lines so that any changes to the 155 module source will be seen as a build error and action can be taken. 156 157 * Mon Aug 28 2005 - rick.ju@sun.com 158 - Bump to 2.0.0beta3.1 159 160 * Mon Aug 28 2006 - patrick.wade@sun.com 161 - Add patch gaim-12-proxy_mnemonics.diff to add new mnemonics, CR#6442067 162 163 * Wed May 10 2006 - brian.cameron@sun.com 164 - Add patch gaim-11-nopyextensions.diff to remove .py extensions from 165 executables and move gaim-notifications-example to 166 /usr/share/doc/gaim/examples since it is a system-independant demo 167 program. 168 169 * Wed Feb 15 2006 - damien.carbery@sun.com 170 - Bump to 2.0.0beta2. Remove obsolete patch, 11-forte. 171 172 * Wed Jan 18 2006 - damien.carbery@sun.com 173 - Bump to 2.0.0beta1, remove obsolete patches (08-sound_errors and 174 11-g11n-enable-im). Add patches 08-libgaimperl and 11-forte. 175 176 * Tue Nov 29 2005 - laca.com 177 - remove javahelp stuff 178 179 * Mon Aug 15 2005 - damien.carbery@sun.com 180 - Bump to 1.5.0. 181 182 * Thu Jun 10 2005 - glynn.foster@sun.com 183 - Bump to 1.3.0 184 185 * Thu Mar 24 2005 - alvaro.lopez@sun.com 186 - Rev to 1.3.0. Patches #9, 12, 17, 18 and 19 removed. 187 188 * Thu Mar 24 2005 - vijaykumar.patwari@wipro.com 189 - Added gaim-19-yahoo-privacy-fix.diff patch, fixes yahoo 190 privacy issue. 191 192 * Tue Jan 25 2005 - damien.carbery@sun.com 193 - Update docs with Linux specific tarball from maeve.anslow@sun.com. 194 195 * Tue Jan 18 2005 - glynn.foster@sun.com 196 - New backported patch to fix msn messenger. Fixes #6217610. 197 198 * Wed Jan 12 2005 - takao.fujiwara@sun.com 199 - Added gaim-15-g11n-enable-im.diff to enable Ja input method. Fix 4990149. 200 - Added gaim-16-g11n-filename.diff to get/put localized filenames. Fixes 6216501 201 202 * Tue Jan 11 2005 - alvaro.lopez@sun.com 203 - Added patch #15. Fixes #6204972 204 205 * Thu Dec 16 2004 - kazuhiko.maekawa@sun.com 206 - Update l10n help tarball to use linux version 207 208 * Wed Dec 8 2004 - damien.carbery@sun.com 209 - Update docs tarball from maeve.anslow@sun.com. 210 211 * Fri Nov 12 2004 - kazuhiko.maekawa@sun.com 212 - Added workaround fix for 6193354 213 214 * Fri Oct 29 2004 - vijaykumar.patwari@wipro.com 215 - Fixes msn security issues. 216 217 * Thu Oct 21 2004 - alvaro.lopez@sun.com 218 - Added patch #11. Fixes #5101982 219 220 * Mon Sep 06 2004 - matt.keenan@sun.com 221 - Add javahelp-convert for new docs 222 223 * Fri Sep 03 2004 - damien.carbery@sun.com 224 - Add docs tarball from patrick.costello@sun.com. 225 - Add patch to incorporate docs tarball. 226 227 * Mon Aug 30 2004 - glynn.foster@sun.com 228 - Bump to 0.82.1 229 230 * Tue Aug 24 2004 - laszlo.kovacs@sun.com 231 - mandir/man3 added to base package 232 233 * Tue Aug 24 2004 - glynn.foster@sun.com 234 - Bump to 0.81 and create a devel package. 235 236 * Fri Aug 20 2004 - damien.carbery@sun.com 237 - Comment out removal of man3 files - these don't exist on Solaris. 238 239 * Thu Jul 08 2004 - damien.donlon (at] sun.com 240 - Updated l10n content to gaim-l10n-po-1.2.tar.bz2 241 242 * Wed Jul 07 2004 - niall.power (at] sun.com 243 - ported to rpm4 244 245 * Wed Jul 07 2004 - dermot.mccluskey (at] sun.com 246 - added "-j $CPUS" to make to speed up builds 247 248 * Wed Jun 09 2004 - kaushal.kumar (at] wipro.com 249 - Modified patch gaim-02-remove-unwanted-protocols.diff to remove the 250 unnecessary protocols from the build. 251 252 * Fri Jun 04 2004 - arvind.samptur (at] wipro.com 253 - Add patch gaim-10-iconv-open.diff. Fixes the irc protocol on 254 Solaris 255 256 * Wed May 12 2004 - damien.donlon (at] sun.com 257 - Updated l10n content to gaim-l10n-po-1.1.tar.bz2 258 259 * Sun May 02 2004 - laca (at] sun.com 260 - add patch #9 (void-return) for a void function returning a value 261 262 * Tue Apr 27 2004 - vijaykumar.patwari (at] wipro.com 263 - Bumped new tarball 0.76 version and updated spec file 264 accordingly. 265 266 * Mon Apr 05 2004 - niall.power (at] sun.com 267 - ifos'ify glib-gettexttize, to stop nameless .mo files being 268 generated on cinnabar/linux. 269 270 * Sun Apr 04 2004 - laca@sun.com 271 - add glib-gettextize to make the build work with Solaris msgfmt 272 273 * Wed Mar 31 2004 - brian.cameron@sun.com 274 - replace tar jxf with the more solaris friendly 275 bzcat piped through tar 276 277 * Mon Mar 29 2004 - damien.donlon@sun.com 278 - Adding gaim-l10n-po-1.0.tar.bz2 l10n content 279 280 * Mon Mar 08 2004 - Vijaykumar.patwari@wipro.com 281 - Fixes all vulnerabilities reproted in the bug report. 282 283 * Thu Mar 04 2004 - takao.fujiwara@sun.com 284 - Removed gaim-01-menu-entry.diff 285 - Added gaim-01-g11n-menu-entry.diff to fix 4957377 286 - Added gaim-08-g11n-potfiles.diff 287 288 * Wed Mar 03 2004 - <laca@sun.com> 289 - fix Solaris build by forcing the use of the glib gettext test macro 290 291 * Fri Feb 20 2004 - <matt.keenan@sun.com> 292 - Distro to Cinnabar, fixed patch gaim-06-po-mkinstalldirs.diff 293 294 * Thu Feb 19 2004 - <damien.carbery@sun.com> 295 - Update to 0.75. 296 297 * Fri Oct 31 2003 - <glynn.foster@sun.com> 298 - Remove the Sun Supported keyword from the menu 299 patch. 300 301 * Mon Oct 20 2003 - <stephen.browne@sun.com> 302 - update to 0.70 and removed potfiles patch 303 304 * Thu Aug 14 2003 - <laca@sun.com> 305 - remove *.a, *.la 306 307 * Tue Aug 05 2003 michael.twomey@sun.com 308 - Added POTFILES.in patch again (updated) 309 310 * Fri Aug 01 2003 Stephen.Browne@sun.com 311 - removed unwanted protocols 312 313 * Fri Aug 01 2003 Stephen.Browne@sun.com 314 - why was there no changelog for this before? well 315 new tarball, bumped release, reset release, added lbgaim-remote.so.* 316