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