Cross Reference: pidgin-otr.spec
xref
: /
solaris-desktop
/
base-specs
/
pidgin-otr.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
pidgin-otr.spec revision 13597
10139
N/A
#
10139
N/A
# spec file for package pidgin-otr
10139
N/A
#
12198
N/A
# Copyright (c) 2005 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
#
10139
N/A
# Owner: rickju
10139
N/A
# bugdb :
10139
N/A
#
10139
N/A
Name
:
pidgin
-
otr
10139
N/A
Version
:
3.2
.
0
10139
N/A
%
define
libotr_version
3.2
.
0
13656
N/A
Release
:
1
12578
N/A
License
:
GPL
10139
N/A
Group
:
Applications
/
Internet
10139
N/A
Distribution
:
Java
Desktop
System
10139
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
13262
N/A
Summary
:
Off
-
the
-
Record
(
OTR
)
Messaging
plugin
for
GAIM
11419
N/A
Source0
:
http
://
www.cypherpunks.ca
/
otr
/%{
name
}-%{
version
}
.tar.gz
10139
N/A
Source1
:
http
://
www.cypherpunks.ca
/
otr
/
libotr
-%{
libotr_version
}
.tar.gz
11419
N/A
# owner:rickju date:2007-03-07 type:bug bugster:6524858 state:upstream
10139
N/A
Patch1
:
pidgin-otr-01-gtk-ui.diff
10142
N/A
URL
:
http
://
www.cypherpunks.ca
/
otr
/
10142
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
10244
N/A
Docdir
: %{
_defaultdocdir
}/
pidgin
12773
N/A
Autoreqprov
:
on
12773
N/A
12773
N/A
BuildRequires
:
pidgin
-
devel
11419
N/A
10139
N/A
%
description
10139
N/A
Off
-
the
-
Record
(
OTR
)
Messaging
allows
you
to
have
private
11419
N/A
conversations
over
instant
messaging
.
11437
N/A
This
is
a
plugin
for
pdgin
which
implements
Off
-
the
-
Record
11962
N/A
Messaging
over
any
IM
network
pidgin
supports
.
11437
N/A
11437
N/A
%
package
devel
10139
N/A
Summary
:
Off
-
the
-
Record
(
OTR
)
Messaging
Plugin
For
GAIM
10139
N/A
Group
:
System
/
GUI
/
GNOME
10139
N/A
Autoreqprov
:
on
10139
N/A
Requires
: %
name
= %
version
10139
N/A
10139
N/A
%
description
devel
10803
N/A
Off
-
the
-
Record
(
OTR
)
Messaging
allows
you
to
have
private
10139
N/A
conversations
over
instant
messaging
.
10139
N/A
This
is
a
plugin
for
pidgin
which
implements
Off
-
the
-
Record
10139
N/A
Messaging
over
any
IM
network
pidgin
supports
.
10139
N/A
10139
N/A
%
prep
13462
N/A
%
setup
-q -b
1
-n %{
name
}*
13462
N/A
#patch for libotr
13462
N/A
cd
../
libotr
*
11419
N/A
#patch for pidgin-otr
10139
N/A
cd
../
pidgin
-
otr
*
10139
N/A
%
patch1
-
p1
10139
N/A
10139
N/A
%
build
11419
N/A
%
ifos
linux
11070
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
11070
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
10139
N/A
fi
10139
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
12048
N/A
fi
12048
N/A
13571
N/A
#build libotr
12849
N/A
cd
../
libotr
*
12608
N/A
glib
-
gettextize
-f
12849
N/A
libtoolize
--
force
13577
N/A
aclocal
$ACLOCAL_FLAGS
-I .
13034
N/A
autoheader
10139
N/A
automake
-a -c -f
10139
N/A
autoconf
10139
N/A
10139
N/A
CFLAGS
=
"
$RPM_OPT_FLAGS
-DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS"
\
10139
N/A
LD_LIBRARY_PATH
=
"%{_libdir}:
$LD_LIBRARY_PATH
"
10139
N/A
./
configure
\
10139
N/A
--
prefix
=%{
_prefix
} \
10139
N/A
--
mandir
=%{
_mandir
} \
10139
N/A
--
sysconfdir
=%{
_sysconfdir
}
10139
N/A
make
-j
$CPUS
10139
N/A
10139
N/A
# get root dir
10139
N/A
cd
..
10139
N/A
export
MYDIR
=
`
pwd
`
10139
N/A
10139
N/A
#build pidgin-otr
10139
N/A
cd
libotr
*
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
cd
../
pidgin
-
otr
*
10139
N/A
glib
-
gettextize
-f
10139
N/A
libtoolize
--
force
10139
N/A
aclocal
$ACLOCAL_FLAGS
-I . -I ${
MYDIR
}/
libotr
-%{
libotr_version
}
10139
N/A
autoheader
10139
N/A
automake
-a -c -f
10139
N/A
autoconf
10139
N/A
10139
N/A
CFLAGS
=
"
$RPM_OPT_FLAGS
-DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS -I${MYDIR}/libotr-%{libotr_version}/
my_build_tmp
/
libotr
"
10139
N/A
LD_LIBRARY_PATH
=
"%{_libdir}:
$LD_LIBRARY_PATH
-L${MYDIR}/libotr-%{libotr_version}/src/.libs"
10139
N/A
./
configure
\
10139
N/A
--
prefix
=%{
_prefix
} \
10139
N/A
--
mandir
=%{
_mandir
} \
10139
N/A
--
sysconfdir
=%{
_sysconfdir
} \
10139
N/A
--
with
-
libotr
-
inc
-
prefix
=${
MYDIR
}/
libotr
-%{
libotr_version
}/
my_build_tmp
\
10139
N/A
--
with
-
libotr
-
prefix
=${
MYDIR
}/
libotr
-%{
libotr_version
}/
src
/.
libs
10139
N/A
make
-j
$CPUS
10139
N/A
10139
N/A
%
install
10139
N/A
# install libotr
10139
N/A
cd
../
libotr
*
10139
N/A
make
DESTDIR
=
$RPM_BUILD_ROOT
install
\
10139
N/A
SITEPREFIX
=/
dummy
VENDORPREFIX
=/
dummy
PERLPREFIX
=/
dummy
10139
N/A
# install pidgin-otr
10139
N/A
cd
../
pidgin
-
otr
*
10139
N/A
make
DESTDIR
=
$RPM_BUILD_ROOT
install
\
10139
N/A
SITEPREFIX
=/
dummy
VENDORPREFIX
=/
dummy
PERLPREFIX
=/
dummy
10139
N/A
10244
N/A
rm
$RPM_BUILD_ROOT
%{
_libdir
}/*.a
12754
N/A
rm
$RPM_BUILD_ROOT
%{
_libdir
}/*.
la
10139
N/A
rm
$RPM_BUILD_ROOT
%{
_libdir
}/
pidgin
/*.
la
11855
N/A
10139
N/A
%
files
11855
N/A
%
defattr
(-,
root
,
root
)
11855
N/A
# libotr
11855
N/A
%
attr
(
755
,
root
,
root
)
%{
_libdir
}/*.
so
11855
N/A
%{
_bindir
}/*
10139
N/A
%{
_mandir
}/
man1
/*
10139
N/A
%{
_libdir
}/
lib
*.
so
.*
10139
N/A
%{
_libdir
}/
lib
*.a
10139
N/A
# pidgin-otr
10139
N/A
%
attr
(
755
,
root
,
root
)
%{
_libdir
}/
pidgin
/*.
so
10139
N/A
%{
_libdir
}/
pidgin
/*.
la
12360
N/A
%{
_libdir
}/
lib
*.
la
13462
N/A
13462
N/A
%
files
devel
13462
N/A
%
defattr
(-,
root
,
root
)
11419
N/A
# libotr
12524
N/A
%{
_includedir
}/
libotr
/*
10139
N/A
%{
_datadir
}/
aclocal
11419
N/A
# pidgin-otr
13656
N/A
10923
N/A
%
clean
13656
N/A
rm
-r
$RPM_BUILD_ROOT
13656
N/A
12849
N/A
%
changelog
12368
N/A
*
Mon
Jul
21
2008
-
rick.ju
@
sun.com
13034
N/A
-
bump
to
libotr
3.2
.
0
and
pidgin
-
otr
3.2
.
0
12316
N/A
10142
N/A
*
Tue
Nov
06
2007
-
rick.ju
@
sun.com
11419
N/A
-
bump
to
libotr
3.1
.
0
and
pidgin
-
otr
3.1
.
0
10139
N/A
11419
N/A
*
Tue
Jun
01
2007
-
rick.ju
@
sun.com
10139
N/A
-
fix
the
source0
url
10139
N/A
10142
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
10139
N/A
-
Add
a
gaim-otr-03-gtk-dialog.diff
for
bug
#632728
10139
N/A
10139
N/A
*
Thu
Jan
18
2007
-
damien.carbery
@
sun.com
10139
N/A
-
Remove
the
code
from
%
install
that
deletes
$RPM_BUILD_ROOT
as
it
trashes
the
10139
N/A
'make install'
of
gaim
when
part
of
SUNWgnome
-
im
-
client
build
.
10139
N/A
10139
N/A
*
Thu
Dec
21
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Remove
*.a
and
*.
la
files
in
%
install
.
10139
N/A
10139
N/A
*
Mon
Dec
18
2006
-
rick.ju
@
sun.com
10139
N/A
-
Add
this
new
spec
for
libotr
and
gaim
-
otr
10139
N/A