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