pidgin.spec revision 17217
10139N/A#
10139N/A# spec file for package pidgin
10139N/A#
10139N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
18970N/A# package are under the same license as the package itself.
18970N/A#
10139N/A%define owner elaine
10139N/A# old_bugdb: http://sourceforge.net/tracker/index.php?func=detail&group_id=235&atid=300235&aid=
10139N/A# bugdb: http://developer.pidgin.im/ticket/
17185N/A#
10139N/A
17178N/A%define OSR 8337:2.3.1
18644N/A
17178N/A%include l10n.inc
10139N/AName: pidgin
12132N/AVersion: 2.6.1
12132N/ARelease: 1
17355N/ALicense: GPL
10139N/AGroup: Applications/Internet
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
18970N/ASummary: Multiprotocol Instant Messaging Client
18593N/ASource: http://sourceforge.net/projects/pidgin/files/%{name}/%{name}-%{version}.tar.bz2
10139N/A%if %build_l10n
10139N/ASource1: pidgin-po-sun-%{po_sun_version}.tar.bz2
19013N/ASource2: l10n-configure.sh
18908N/A%endif
10385N/A# date:2006-11-16 owner:elaine type:branding bugster:6439103
15760N/APatch1: pidgin-01-gnome-keyring.diff
15767N/A# date:2006-12-20 owner:elaine type:feature bugid:1643233
15760N/APatch2: pidgin-02-uninstalled-pc.diff
15760N/A# date:2008-06-02 owner:elaine type:branding
15760N/APatch3: pidgin-03-runpath.diff
15760N/A# date:2007-03-07 owner:elaine type:bug bugster:6524856 state:upstream
15760N/APatch4: pidgin-04-jabber-msg.diff
10139N/A# date:2007-04-03 owner:elaine type:bug bugster:6524819 state:upstream
12707N/APatch5: pidgin-05-option-menu.diff
10139N/A# date:2007-08-27 owner:elaine type:bug bugster:6595691 state:upstream
10139N/APatch6: pidgin-06-parse-account.diff
19142N/A# date:2008-08-21 owner:jedy type:branding
16401N/APatch7: pidgin-07-menu-entry.diff
16401N/A# date:2009-08-12 owner:jefftsai type:bug doo:9963
10139N/APatch8: pidgin-08-unlock-keyring.diff
10139N/A
10139N/A# date:2009-09-03 owner:hawklu type:bug doo:10848
10139N/APatch9: pidgin-09-crash.diff
15760N/A
18688N/A# date:2009-09-03 owner:hawklu type:bug doo:11160
18688N/APatch10: pidgin-10-crash-when-no-proxy-setting.diff
15762N/A
16493N/AURL: http://www.pidgin.im
16493N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
19142N/ADocdir: %{_defaultdocdir}/pidgin
16493N/AAutoreqprov: on
16493N/APrereq: sed
16493N/A
16493N/ABuildRequires: gtk2-devel
15762N/ABuildRequires: glib2-devel
15760N/A
19142N/A%description
16401N/AGaim allows you to chat over the Internet using a variety of
16401N/Amessaging protocols, including AIM, ICQ, IRC, Yahoo!,
15760N/AMSN Messenger and Jabber.
15760N/AThese protocols are implemented using a modular, easy to use
15760N/Adesign.
16224N/A
15760N/A%package devel
10139N/ASummary: Multiprotocol Instant Messaging Client
10139N/AGroup: System/GUI/GNOME
10139N/AAutoreqprov: on
12754N/ARequires: %name = %version
10139N/A
10139N/A%description devel
10139N/AGaim allows you to chat over the Internet using a variety of
10139N/Amessaging protocols, including AIM, ICQ, IRC, Yahoo!,
10139N/AMSN Messenger and Jabber.
10139N/AThese protocols are implemented using a modular, easy to use
11149N/Adesign.
12773N/A
12773N/A%prep
12773N/A%setup -q
12773N/A%if %build_l10n
12773N/Abzcat %SOURCE1 | tar xf -
10139N/Acd po-sun; make; cd ..
10139N/A%endif
10139N/Afor po in po/*.po; do
10139N/A dos2unix -ascii $po $po
10139N/Adone
10139N/A
10139N/A%patch1 -p1
10139N/A%patch2 -p1
11311N/A%patch3 -p1
11311N/A%patch4 -p1
11311N/A%patch5 -p1
11311N/A%patch6 -p1
10139N/A%patch7 -p1
11311N/A%patch8 -p1
10139N/A%patch9 -p1
11311N/A%patch10 -p1
11311N/A
11311N/A%build
11311N/A%ifos linux
11311N/Aif [ -x /usr/bin/getconf ]; then
15824N/A CPUS=`getconf _NPROCESSORS_ONLN`
15824N/Afi
15824N/A%else
11311N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
11311N/A%endif
15760N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
15760N/A CPUS=1
15760N/Afi
15161N/A
15824N/Aglib-gettextize -f
15161N/Alibtoolize --force
15760N/Aintltoolize --force --copy --automake
15824N/A
15760N/A%if %build_l10n
15760N/Abash -x %SOURCE2 --enable-copyright
15760N/A%endif
15760N/A
15760N/Aaclocal $ACLOCAL_FLAGS -I .
15760N/Aautoheader
15760N/Aautomake -a -c -f
15760N/Aautoconf
15824N/A
15760N/ACFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS" \
15824N/ALD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH"
15824N/A./configure \
15767N/A --prefix=%{_prefix} \
15760N/A --mandir=%{_mandir} \
15760N/A --sysconfdir=%{_sysconfdir} \
15824N/A --disable-binreloc \
15760N/A --enable-gnutls=no \
15824N/A --with-nss-includes=/usr/include/mps \
15760N/A --with-nss-libs=/usr/lib/mps \
15161N/A --with-nspr-includes=/usr/include/mps \
15767N/A --with-nspr-libs=/usr/lib/mps \
15767N/A --enable-gnome-keyring \
10139N/A --enable-gevolution \
10139N/A --enable-cap \
10139N/A --disable-meanwhile \
10139N/A --disable-nm \
10139N/A --disable-consoleui \
15824N/A --with-perl-lib=vendor
10139N/A
10139N/Amake -j $CPUS
10139N/A
15824N/A# copy *-uninstalled.pc to the top build dir
15760N/Atest -f %{name}-uninstalled.pc || \
16493N/A test -f %{name}/%{name}-uninstalled.pc && \
16493N/A cp %{name}/%{name}-uninstalled.pc .
16493N/A
16493N/A
16493N/A%install
16493N/Amake DESTDIR=$RPM_BUILD_ROOT install \
16493N/A SITEPREFIX=/dummy VENDORPREFIX=/dummy PERLPREFIX=/dummy
16493N/Arm -Rf $RPM_BUILD_ROOT/dummy
15760N/Arm -rf $RPM_BUILD_ROOT%{_bindir}/purple-client-example
15760N/Arm $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la
11311N/Arm $RPM_BUILD_ROOT%{_libdir}/purple-2/*.la
11311N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/purple/buddy_icons/qq
15161N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/purple/ca-certs
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/purple
18974N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/purple-2/libqq.so
18974N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/purple-2/libsimple.so
18970N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/purple-2/libzephyr.so
18970N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/purple-2/libmyspace.so
17418N/Arm -rf $RPM_BUILD_ROOT%{_libdir}/purple-2/dbus-example.so
17418N/A
17355N/A
17355N/A%files
16224N/A%defattr(-, root, root)
16224N/A%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS
16224N/A%doc doc/FAQ README ChangeLog HACKING
16224N/A%attr(755, root, root) %{_libdir}/pidgin/*.so
15767N/A%{_bindir}/*
15767N/A%{_libdir}/lib*.so.*
15760N/A%{_datadir}/locale/*/*/*
15760N/A%{_datadir}/pixmaps/*
15760N/A%{_datadir}/sounds/pidgin/*
15161N/A%{_datadir}/icons/*
15161N/A%{_datadir}/applications/*
15161N/A%{_datadir}/dbus-1
14435N/A%attr(755, root, root) %{_libdir}/pidgin/perl/Pidgin.pm
14435N/A%attr(755, root, root) %{_libdir}/purple-2/perl/Purple.pm
14290N/A%attr(755, root, root) %{_libdir}/pidgin/perl/auto/Pidgin
14290N/A%attr(755, root, root) %{_libdir}/purple-2/perl/auto/Purple
14071N/A
14071N/A%files devel
14071N/A%defattr(-, root, root)
14071N/A%{_libdir}/pkgconfig/*
14071N/A%{_includedir}/pidgin/*
14050N/A%{_datadir}/aclocal
14050N/A
13615N/A%clean
13615N/Arm -r $RPM_BUILD_ROOT
12733N/A
12733N/A%changelog
12733N/A* Thu Sep 03 2009 - brian.lu@sun.com
12460N/A- Add patch pidgin-09-crash.diff
12460N/A- Add patch pidgin-10-crash-when-no-proxy-setting.diff
12460N/A* Tue Sep 01 2009 - dave.lin@sun.com
12460N/A- copy *-uninstalled.pc to the top build dir to get the correct path.
12460N/A* Thu Aug 20 2009 - brian.lu@sun.com
12460N/A- Bump to 2.6.1
12460N/A* Wed Aug 19 2009 - brian.lu@sun.com
12460N/A- Bump to 2.6.0
12460N/A* Mon Jun 29 2009 - brian.lu@sun.com
12460N/A- Bump to 2.5.8
12162N/A* Tue Jun 23 2009 - brian.lu@sun.com
12162N/A- Bump to 2.5.7
12047N/A* Fri May 22 2009 - elaine.xiong@sun.com
12047N/A- Bump to 2.5.6. Remove upstream patches.
11459N/A
11459N/A* Tue May 12 2009 - elaine.xiong@sun.com
11459N/A- Add a patch to fix d.o.o#8675.
11311N/A
11311N/A* Thu Apr 16 2009 - elaine.xiong@sun.com
11311N/A- Add a patch to fix d.o.o#8052.
11311N/A
11311N/A* Thu Mar 12 2009 - elaine.xiong@sun.com
11311N/A- bump to 2.5.5.
11218N/A
11218N/A* Wed Mar 11 2009 - elaine.xiong@sun.com
11149N/A- Change ownership to elaine.
11149N/A
10949N/A* Tue Mar 03 2009 - elaine.xiong@sun.com
10949N/A- bump to 2.5.4
10949N/A
10726N/A* Tue Jan 05 2009 - rick.ju@sun.com
10726N/A- bump to 2.5.3
10385N/A
10385N/A* Tue Oct 27 2008 - rick.ju@sun.com
10139N/A- bump to 2.5.2
10139N/A
10139N/A* Tue Oct 20 2008 - rick.ju@sun.com
10139N/A- Add gtk-spell check
10139N/A
10139N/A* Tue Sep 02 2008 - rick.ju@sun.com
10139N/A- Bump to 2.5.1
10139N/A
10139N/A* Thu Aug 21 2008 - jedy.wang@sun.com
10139N/A- Add 07-menu-entry.diff.
10139N/A
10139N/A* Thu Aug 21 2008 - rick.ju@sun.com
10139N/A- Bump to 2.5.0.
10139N/A
10139N/A* Mon Jul 07 2008 - damien.carbery@sun.com
10139N/A- Bump to 2.4.3.
10139N/A
10139N/A* Mon Jun 23 2008 - damien.carbery@sun.com
10139N/A- Disable consoleui support - we don't have ncurses on the build machines. If a
10139N/A system does have ncurses then additional files will be delivered and appear
10139N/A to break the build. Adding --disable-consoleui to configure prevents this.
10139N/A
10139N/A* Thu Jun 02 2008 - rick.ju@sun.com
10139N/A- Add a runpath fix for nss library
10139N/A
10139N/A* Thu May 29 2008 - rick.ju@sun.com
10139N/A- fix the cap.so and gevolution.so missing issue
10139N/A
10139N/A* Thu May 22 2008 - rick.ju@sun.com
10139N/A bump to 2.4.2
10139N/A
10139N/A* Fri Mar 07 2008 - rick.ju@sun.com
10139N/A Enable dbus, Avahi and Gadu-gadu.
10139N/A
10139N/A* Thu Mar 06 2008 - rick.ju@sun.com
10139N/A bump to pidgin 2.4.0
10139N/A
10139N/A* Fri Jan 04 2008 - rick.ju@sun.com
10139N/A bump to pidgin 2.3.1
10139N/A
10139N/A* Tue Dec 06 2007 - rick.ju@sun.com
10139N/A bump to pidgin 2.3.0
10139N/A
10139N/A* Tue Nov 06 2007 - rick.ju@sun.com
10139N/A bump to pidgin 2.2.2
10139N/A
10139N/A* Fri Nov 02 2007 - rick.ju@sun.com
10139N/A remove libbonjour.so
10139N/A
10139N/A* Thu Aug 30 2007 - damien.carbery@sun.com
10139N/A- Add intltoolize call to update intltool scripts.
10139N/A
10139N/A* Mon Aug 27 2007 - rick.ju@sun.com
10139N/A- Add pidgin-06-parse-account.diff to fix bug bugster:6595691
10139N/A gaim crash on startup when parsing the account.
10139N/A
10139N/A* Wed Aug 22 2007 - damien.carbery@sun.com
10139N/A- Bump to 2.1.1.
10139N/A
10139N/A* Thu Aug 02 2007 - rick.ju@sun.com
10139N/A- bump to 2.1.0
10139N/A
10139N/A* Tue Jul 10 2007 - rick.ju@sun.com
10139N/A- remove the line removing libxmpp.so
10139N/A
10139N/A* Thu Jun 07 2007 - damien.carbery@sun.com
10139N/A- Add patch, 10-remove-evo-header, to remove reference to obsolete evolution
10139N/A header file.
10139N/A
10139N/A* Tue May 30 2007 - rick.ju@sun.com
10139N/A- bump to pidgin 2.0.1
10139N/A
10139N/A* Tue May 03 2007 - rick.ju@sun.com
10139N/A- Reopen configure arguments for nss/nspr include/lib
10139N/A- Added patch 14-enable-nss.diff
10139N/A
10139N/A* Tue Apr 28 2007 - rick.ju@sun.com
10139N/A- Added configure arguments for nss/nspr include/lib
10139N/A
10139N/A* Tue Apr 03 2007 - rick.ju@sun.com
10139N/A- Added 13-option-menu.diff for bug#6524819
10139N/A
19239N/A* Wed Feb 21 2007 - takao.fujiwara@sun.com
19556N/A- Added l10n tarball. Fixes CR 6463000.
* Thu Feb 8 2007 - damien.carbery@sun.com
- Renumber 'Patch??:' lines to be sequential after Patch3 removal.
* Thu Jan 25 2007 - alvaro.lopez@sun.com
- gaim-03-long-preferences.diff removed. It's no longer needed.
* Thu Jan 25 2007 - rick.ju@sun.com
- Bump to beta6. Add patches 11-return-void and 12-static-prpls. Rename patch
11-dbus-abort to 10-dbus-abort.
* Sun Jan 21 2007 - rick.ju@sun.com
- Add patch 11-dbus-abort to fix #6508240.
* Thu Jan 18 2007 - damien.carbery@sun.com
- Remove the code from %install that deletes $RPM_BUILD_ROOT as it trashes the
'make install' of gaim-otr when part of SUNWgnome-im-client build.
* Wed Jan 17 2007 - damien.carbery@sun.com
- Remove unneded patch, 02-perl-common-argc, renumber remainder.
* Thu Nov 30 2006 - damien.carbery@sun.com
- Bump to 2.0.0beta5.
* Thu Nov 30 2006 - rick.ju@sun.com
- Add configure argument enable-gnome-keying to fix #6439103.
* Thu Nov 13 2006 - rick.ju@sun.com
- Add patches 08-gnome-keyring and 09-gtk-file-chooser; add
--enable-gnome-keyring to configure and
* Mon Nov 13 2006 - patrick.wade@sun.com
- Add patch, 07-protocol-mnemonics, to add protocol mnemonics, CR#6477194
* Mon Nov 06 2006 - rick.ju@sun.com
- Remove upstream patch 05-msn-crash. Rename rest.
* Fri Nov 03 2006 - damien.carbery@sun.com
- Specify sysconfdir in configure call as gaim.schemas is installed there.
* Thu Nov 02 2006 - damien.carbery@sun.com
- Add patch, 07-gtk-func-def, to fix inconsistency between a function
declaration and definition. Submitted upstream via sourceforge.net bug db.
* Thu Nov 02 2006 - damien.carbery@sun.com
- Bump to 2.0.0beta4. Remove upstream patch, 05-nopyextension, and obsolete
patch, 06-psychic, (referenced code no longer in module). Rename remainder.
* Mon Oct 16 2006 - damien.carbery@sun.com
- Remove the '-f' from the 'rm *.la *.a' lines so that any changes to the
module source will be seen as a build error and action can be taken.
* Mon Aug 28 2005 - rick.ju@sun.com
- Bump to 2.0.0beta3.1
* Mon Aug 28 2006 - patrick.wade@sun.com
- Add patch gaim-12-proxy_mnemonics.diff to add new mnemonics, CR#6442067
* Wed May 10 2006 - brian.cameron@sun.com
- Add patch gaim-11-nopyextensions.diff to remove .py extensions from
executables and move gaim-notifications-example to
/usr/share/doc/gaim/examples since it is a system-independant demo
program.
* Wed Feb 15 2006 - damien.carbery@sun.com
- Bump to 2.0.0beta2. Remove obsolete patch, 11-forte.
* Wed Jan 18 2006 - damien.carbery@sun.com
- Bump to 2.0.0beta1, remove obsolete patches (08-sound_errors and
11-g11n-enable-im). Add patches 08-libgaimperl and 11-forte.
* Tue Nov 29 2005 - laca.com
- remove javahelp stuff
* Mon Aug 15 2005 - damien.carbery@sun.com
- Bump to 1.5.0.
* Thu Jun 10 2005 - glynn.foster@sun.com
- Bump to 1.3.0
* Thu Mar 24 2005 - alvaro.lopez@sun.com
- Rev to 1.3.0. Patches #9, 12, 17, 18 and 19 removed.
* Thu Mar 24 2005 - vijaykumar.patwari@wipro.com
- Added gaim-19-yahoo-privacy-fix.diff patch, fixes yahoo
privacy issue.
* Tue Jan 25 2005 - damien.carbery@sun.com
- Update docs with Linux specific tarball from maeve.anslow@sun.com.
* Tue Jan 18 2005 - glynn.foster@sun.com
- New backported patch to fix msn messenger. Fixes #6217610.
* Wed Jan 12 2005 - takao.fujiwara@sun.com
- Added gaim-15-g11n-enable-im.diff to enable Ja input method. Fix 4990149.
- Added gaim-16-g11n-filename.diff to get/put localized filenames. Fixes 6216501
* Tue Jan 11 2005 - alvaro.lopez@sun.com
- Added patch #15. Fixes #6204972
* Thu Dec 16 2004 - kazuhiko.maekawa@sun.com
- Update l10n help tarball to use linux version
* Wed Dec 8 2004 - damien.carbery@sun.com
- Update docs tarball from maeve.anslow@sun.com.
* Fri Nov 12 2004 - kazuhiko.maekawa@sun.com
- Added workaround fix for 6193354
* Fri Oct 29 2004 - vijaykumar.patwari@wipro.com
- Fixes msn security issues.
* Thu Oct 21 2004 - alvaro.lopez@sun.com
- Added patch #11. Fixes #5101982
* Mon Sep 06 2004 - matt.keenan@sun.com
- Add javahelp-convert for new docs
* Fri Sep 03 2004 - damien.carbery@sun.com
- Add docs tarball from patrick.costello@sun.com.
- Add patch to incorporate docs tarball.
* Mon Aug 30 2004 - glynn.foster@sun.com
- Bump to 0.82.1
* Tue Aug 24 2004 - laszlo.kovacs@sun.com
- mandir/man3 added to base package
* Tue Aug 24 2004 - glynn.foster@sun.com
- Bump to 0.81 and create a devel package.
* Fri Aug 20 2004 - damien.carbery@sun.com
- Comment out removal of man3 files - these don't exist on Solaris.
* Thu Jul 08 2004 - damien.donlon@sun.com
- Updated l10n content to gaim-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - niall.power@sun.com
- ported to rpm4
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Wed Jun 09 2004 - kaushal.kumar@wipro.com
- Modified patch gaim-02-remove-unwanted-protocols.diff to remove the
unnecessary protocols from the build.
* Fri Jun 04 2004 - arvind.samptur@wipro.com
- Add patch gaim-10-iconv-open.diff. Fixes the irc protocol on
Solaris
* Wed May 12 2004 - damien.donlon@sun.com
- Updated l10n content to gaim-l10n-po-1.1.tar.bz2
* Sun May 02 2004 - laca@sun.com
- add patch #9 (void-return) for a void function returning a value
* Tue Apr 27 2004 - vijaykumar.patwari@wipro.com
- Bumped new tarball 0.76 version and updated spec file
accordingly.
* Mon Apr 05 2004 - niall.power@sun.com
- ifos'ify glib-gettexttize, to stop nameless .mo files being
generated on cinnabar/linux.
* Sun Apr 04 2004 - laca@sun.com
- add glib-gettextize to make the build work with Solaris msgfmt
* Wed Mar 31 2004 - brian.cameron@sun.com
- replace tar jxf with the more solaris friendly
bzcat piped through tar
* Mon Mar 29 2004 - damien.donlon@sun.com
- Adding gaim-l10n-po-1.0.tar.bz2 l10n content
* Mon Mar 08 2004 - Vijaykumar.patwari@wipro.com
- Fixes all vulnerabilities reproted in the bug report.
* Thu Mar 04 2004 - takao.fujiwara@sun.com
- Removed gaim-01-menu-entry.diff
- Added gaim-01-g11n-menu-entry.diff to fix 4957377
- Added gaim-08-g11n-potfiles.diff
* Wed Mar 03 2004 - <laca@sun.com>
- fix Solaris build by forcing the use of the glib gettext test macro
* Fri Feb 20 2004 - <matt.keenan@sun.com>
- Distro to Cinnabar, fixed patch gaim-06-po-mkinstalldirs.diff
* Thu Feb 19 2004 - <damien.carbery@sun.com>
- Update to 0.75.
* Fri Oct 31 2003 - <glynn.foster@sun.com>
- Remove the Sun Supported keyword from the menu
patch.
* Mon Oct 20 2003 - <stephen.browne@sun.com>
- update to 0.70 and removed potfiles patch
* Thu Aug 14 2003 - <laca@sun.com>
- remove *.a, *.la
* Tue Aug 05 2003 michael.twomey@sun.com
- Added POTFILES.in patch again (updated)
* Fri Aug 01 2003 Stephen.Browne@sun.com
- removed unwanted protocols
* Fri Aug 01 2003 Stephen.Browne@sun.com
- why was there no changelog for this before? well
new tarball, bumped release, reset release, added lbgaim-remote.so.*