pidgin-otr.spec revision 13782
10139N/A#
10139N/A# spec file for package pidgin-otr
10139N/A#
12158N/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#
17185N/A# Owner: rickju
10139N/A# bugdb :
17181N/A#
17181N/AName: pidgin-otr
17181N/AVersion: 3.2.0
10139N/ARelease: 1
10139N/ALicense: GPL
10139N/AGroup: Applications/Internet
10139N/ADistribution: Java Desktop System
17496N/AVendor: Sun Microsystems, Inc.
10752N/ASummary: Off-the-Record (OTR) Messaging plugin for GAIM
10139N/ASource0: http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
10139N/A# owner:rickju date:2007-03-07 type:bug bugster:6524858 state:upstream
10139N/APatch1: pidgin-otr-01-gtk-ui.diff
17379N/AURL: http://www.cypherpunks.ca/otr/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/pidgin
10318N/AAutoreqprov: on
10943N/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.
13922N/AThis is a plugin for pdgin which implements Off-the-Record
10139N/AMessaging over any IM network pidgin supports.
13922N/A
10139N/A%package devel
13922N/ASummary: Off-the-Record (OTR) Messaging Plugin For GAIM
10139N/AGroup: System/GUI/GNOME
13922N/AAutoreqprov: on
10139N/ARequires: %name = %version
13922N/A
16686N/A%description devel
16762N/AOff-the-Record (OTR) Messaging allows you to have private
16762N/Aconversations over instant messaging.
16762N/AThis is a plugin for pidgin which implements Off-the-Record
16768N/AMessaging over any IM network pidgin supports.
16522N/A
17271N/A%prep
17399N/A%setup -q
17412N/A%patch1 -p1
17412N/A
17543N/A%build
17543N/A%ifos linux
16168N/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/Aglib-gettextize -f
10139N/Alibtoolize --force
10139N/Aaclocal $ACLOCAL_FLAGS -I .
10139N/Aautoheader
13922N/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* 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
10463N/A
10463N/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
10943N/A- Add a gaim-otr-03-gtk-dialog.diff for bug#632728
12754N/A
10943N/A* Thu Jan 18 2007 - damien.carbery@sun.com
10318N/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.
10139N/A
10139N/A* Thu Dec 21 2006 - damien.carbery@sun.com
10139N/A- Remove *.a and *.la files in %install.
13922N/A
10139N/A* Mon Dec 18 2006 - rick.ju@sun.com
10139N/A- Add this new spec for libotr and gaim-otr
13922N/A