10710N/A#
10710N/A# spec file for package pidgin-otr
10710N/A#
13658N/A# Copyright (c) 2008 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#
18030N/A%define owner hawklu
10710N/A# bugdb :
10710N/A#
17178N/A
17178N/A%define OSR 5300:3.x
17178N/A
10710N/AName: pidgin-otr
13597N/AVersion: 3.2.0
10710N/ARelease: 1
10710N/ALicense: GPL
10710N/AGroup: Applications/Internet
10710N/ADistribution: Java Desktop System
18616N/AVendor: Cypherpunks Canada
10710N/ASummary: Off-the-Record (OTR) Messaging plugin for GAIM
11867N/ASource0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
16604N/A# owner:elaine date:2007-03-07 type:bug bugster:6524858 state:upstream
10710N/APatch1: pidgin-otr-01-gtk-ui.diff
10710N/AURL: http://www.cypherpunks.ca/otr/
10710N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10710N/ADocdir: %{_defaultdocdir}/pidgin
10710N/AAutoreqprov: on
10710N/A
10710N/ABuildRequires: pidgin-devel
10710N/A
10710N/A%description
10710N/AOff-the-Record (OTR) Messaging allows you to have private
10710N/Aconversations over instant messaging.
10710N/AThis is a plugin for pdgin which implements Off-the-Record
10710N/AMessaging over any IM network pidgin supports.
10710N/A
10710N/A%package devel
10710N/ASummary: Off-the-Record (OTR) Messaging Plugin For GAIM
10710N/AGroup: System/GUI/GNOME
10710N/AAutoreqprov: on
10710N/ARequires: %name = %version
10710N/A
10710N/A%description devel
10710N/AOff-the-Record (OTR) Messaging allows you to have private
10710N/Aconversations over instant messaging.
10710N/AThis is a plugin for pidgin which implements Off-the-Record
10710N/AMessaging over any IM network pidgin supports.
10710N/A
10710N/A%prep
13658N/A%setup -q
10710N/A%patch1 -p1
10710N/A
10710N/A%build
10710N/A%ifos linux
10710N/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 ' '`
10710N/A%endif
10710N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10710N/A CPUS=1
10710N/Afi
10710N/A
10710N/Alibtoolize --force
10710N/Aaclocal $ACLOCAL_FLAGS -I .
10710N/Aautoheader
10710N/Aautomake -a -c -f
10710N/Aautoconf
10710N/A
13782N/Aexport CFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS"
13782N/Aexport LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH:$LIBOTR_BLD_DIR/src/.libs"
10710N/A./configure \
10710N/A --prefix=%{_prefix} \
10710N/A --mandir=%{_mandir} \
10710N/A --sysconfdir=%{_sysconfdir} \
13658N/A --with-libotr-inc-prefix=$LIBOTR_BLD_DIR/my_build_tmp \
13658N/A --with-libotr-prefix=$LIBOTR_BLD_DIR/src/.libs
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/A
10710N/A
10710N/A%clean
10710N/Arm -r $RPM_BUILD_ROOT
10710N/A
10710N/A%changelog
18030N/A* Thu Jan 07 2009 - brian.lu@sun.com
18030N/A- Change the owner to hawklu
16104N/A* Wed Mar 11 2009 - elaine.xiong@sun.com
16104N/A- Change ownership to elaine.
16104N/A
15561N/A* Thu Dec 25 2008 - dave.lin@sun.com
15561N/A- Remove glib-gettextize line to avoid build issue with intltool 0.40.5.
13782N/A* Tue Aug 04 2008 - damien.carbery@sun.com
13782N/A- 'export' CFLAGS AND LD_LIBRARY_PATH to fix build.
13782N/A
13693N/A* Tue Jul 29 2008 - damien.carbery@sun.com
13693N/A- Fix syntax in LD_LIBRARY_PATH (remove -L).
13693N/A
13658N/A* Thu Jul 23 2008 - damien.carbery@sun.com
13658N/A- Move libotr from pidgin-otr.spec to libotr.spec. This makes is easier to
13658N/A track for ARC and Legal reviews.
13658N/A
13597N/A* Mon Jul 21 2008 - rick.ju@sun.com
13658N/A- Bump to 3.2.0.
13597N/A
11867N/A* Tue Nov 06 2007 - rick.ju@sun.com
11867N/A- bump to libotr 3.1.0 and pidgin-otr 3.1.0
11867N/A
10713N/A* Tue Jun 01 2007 - rick.ju@sun.com
10713N/A- fix the source0 url
10713N/A
10710N/A* Tue May 30 2007 - rick.ju@sun.com
10710N/A- bump to pidgin-otr 3.0.1
10710N/A
10710N/A* Tue Apr 03 2007 - rick.ju@sun.com
10710N/A- Add a gaim-otr-03-gtk-dialog.diff for bug#632728
10710N/A
10710N/A* Thu Jan 18 2007 - damien.carbery@sun.com
10710N/A- Remove the code from %install that deletes $RPM_BUILD_ROOT as it trashes the
10710N/A 'make install' of gaim when part of SUNWgnome-im-client build.
10710N/A
10710N/A* Thu Dec 21 2006 - damien.carbery@sun.com
10710N/A- Remove *.a and *.la files in %install.
10710N/A
10710N/A* Mon Dec 18 2006 - rick.ju@sun.com
10710N/A- Add this new spec for libotr and gaim-otr