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