Cross Reference: libotr.spec
xref
: /
solaris-desktop
/
base-specs
/
libotr.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
libotr.spec revision 16104
10139
N/A
#
10139
N/A
# spec file for package libotr
10139
N/A
#
18684
N/A
# Copyright (c) 2008 Sun Microsystems, Inc.
10139
N/A
# This file and all modifications and additions to the pristine
10139
N/A
# package are under the same license as the package itself.
10139
N/A
#
17185
N/A
# Owner: elaine
10139
N/A
# bugdb :
17180
N/A
#
18603
N/A
Name
:
libotr
17180
N/A
Version
:
3.2
.
0
10139
N/A
Release
:
1
15322
N/A
License
:
GPL
10139
N/A
Group
:
Applications
/
Internet
18904
N/A
Distribution
:
Java
Desktop
System
10139
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
10139
N/A
Summary
:
Off
-
the
-
Record
(
OTR
)
Messaging
plugin
for
GAIM
18616
N/A
Source
:
http
://
www.cypherpunks.ca
/
otr
/
libotr
-%{
version
}
.tar.gz
10139
N/A
URL
:
http
://
www.cypherpunks.ca
/
otr
/
18532
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
18709
N/A
Docdir
: %{
_defaultdocdir
}/
pidgin
18709
N/A
Autoreqprov
:
on
18709
N/A
18709
N/A
%
description
17726
N/A
Off
-
the
-
Record
(
OTR
)
Messaging
allows
you
to
have
private
18607
N/A
conversations
over
instant
messaging
.
18558
N/A
This
is
a
plugin
for
pdgin
which
implements
Off
-
the
-
Record
10139
N/A
Messaging
over
any
IM
network
pidgin
supports
.
10139
N/A
10139
N/A
%
prep
10139
N/A
%
setup
-q
10139
N/A
10139
N/A
%
build
10139
N/A
%
ifos
linux
10139
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
10139
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
10139
N/A
fi
17459
N/A
%
else
10139
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
10139
N/A
%
endif
10139
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
10139
N/A
CPUS
=
1
10139
N/A
fi
10139
N/A
10139
N/A
#build libotr
10139
N/A
cd
../
libotr
*
10139
N/A
glib
-
gettextize
-f
10139
N/A
libtoolize
--
force
10139
N/A
aclocal
$ACLOCAL_FLAGS
-I .
10139
N/A
autoheader
10139
N/A
automake
-a -c -f
10139
N/A
autoconf
10139
N/A
17726
N/A
CFLAGS
=
"
$RPM_OPT_FLAGS
-DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS"
\
18608
N/A
LD_LIBRARY_PATH
=
"%{_libdir}:
$LD_LIBRARY_PATH
"
10139
N/A
./
configure
\
10139
N/A
--
prefix
=%{
_prefix
} \
17459
N/A
--
mandir
=%{
_mandir
} \
10139
N/A
--
sysconfdir
=%{
_sysconfdir
}
10139
N/A
make
-j
$CPUS
10139
N/A
10139
N/A
# pidgin-otr looks for files like <
libotr
/
message.h
> so we must copy them to
10139
N/A
#
my_build_tmp
/
libotr
and point CFLAGS to my_build_tmp to be found.
10139
N/A
if
[ -d
my_build_tmp
];
then
rm
-
rf
my_build_tmp
;
fi
;
10139
N/A
mkdir
my_build_tmp
;
mkdir
my_build_tmp
/
libotr
;
10139
N/A
cp
src
/*.h
my_build_tmp
/
libotr
10139
N/A
cp
toolkit
/*.h
my_build_tmp
/
libotr
10139
N/A
10139
N/A
10139
N/A
%
install
16172
N/A
make
DESTDIR
=
$RPM_BUILD_ROOT
install
\
10139
N/A
SITEPREFIX
=/
dummy
VENDORPREFIX
=/
dummy
PERLPREFIX
=/
dummy
10139
N/A
10139
N/A
10139
N/A
%
clean
10139
N/A
rm
-r
$RPM_BUILD_ROOT
17649
N/A
17649
N/A
%
changelog
17649
N/A
*
Wed
Mar
11
2009
-
elaine.xiong
@
sun.com
17649
N/A
-
Change
ownership
to
elaine
.
17649
N/A
17649
N/A
*
Thu
Jul
23
2008
-
damien.carbery
@
sun.com
17684
N/A
-
Move
libotr
from
pidgin-otr.spec
to
libotr.spec
.
This
makes
is
easier
to
17684
N/A
track
for
ARC
and
Legal
reviews
.
17750
N/A
17684
N/A
*
Mon
Jul
21
2008
-
rick.ju
@
sun.com
17750
N/A
-
Bump
to
3.2
.
0
.
17684
N/A
17649
N/A
*
Tue
Nov
06
2007
-
rick.ju
@
sun.com
17649
N/A
-
bump
to
libotr
3.1
.
0
and
pidgin
-
otr
3.1
.
0
17649
N/A
17643
N/A
*
Tue
Jun
01
2007
-
rick.ju
@
sun.com
17643
N/A
-
fix
the
source0
url
10139
N/A
10139
N/A
*
Tue
May
30
2007
-
rick.ju
@
sun.com
10139
N/A
-
bump
to
pidgin
-
otr
3.0
.
1
10139
N/A
10139
N/A
*
Tue
Apr
03
2007
-
rick.ju
@
sun.com
17684
N/A
-
Add
a
gaim-otr-03-gtk-dialog.diff
for
bug
#632728
17684
N/A
17750
N/A
*
Thu
Jan
18
2007
-
damien.carbery
@
sun.com
17684
N/A
-
Remove
the
code
from
%
install
that
deletes
$RPM_BUILD_ROOT
as
it
trashes
the
17750
N/A
'make install'
of
gaim
when
part
of
SUNWgnome
-
im
-
client
build
.
17684
N/A
15576
N/A
*
Thu
Dec
21
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Remove
*.a
and
*.
la
files
in
%
install
.
17459
N/A
17459
N/A
*
Mon
Dec
18
2006
-
rick.ju
@
sun.com
10139
N/A
-
Add
this
new
spec
for
libotr
and
gaim
-
otr
17643
N/A