Cross Reference: gtk-vnc.spec
xref
: /
solaris-desktop
/
base-specs
/
gtk-vnc.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
gtk-vnc.spec revision 15406
10139
N/A
#
10139
N/A
# spec file for package gtk-vnc
10139
N/A
#
10139
N/A
# Copyright 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
#
10139
N/A
# Owner:halton
10139
N/A
#
10139
N/A
10139
N/A
10139
N/A
Name
:
gtk
-
vnc
10810
N/A
License
:
LGPL
v2
.
1
,
MIT
,
MPL
1.1
10737
N/A
Group
:
Development
/
Libraries
10139
N/A
Version
:
0.3
.
7
10139
N/A
Release
:
1
10139
N/A
Distribution
:
Java
Desktop
System
10740
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
10139
N/A
URL
:
http
://
gtk-vnc.sf.net
/
10139
N/A
Summary
: A
GTK
widget
for
VNC
clients
10737
N/A
Source
:
http
://
easynews.dl.sourceforge.net
/
sourceforge
/%{
name
}/%{
name
}-%{
version
}
.tar.gz
10139
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
root
10737
N/A
10139
N/A
BuildRequires
:
gtk2
-
devel
pygtk2
-
devel
python
-
devel
10737
N/A
10139
N/A
%{?!
pythonver
:%
define
pythonver
2.4
}
10737
N/A
10139
N/A
%
description
10737
N/A
gtk
-
vnc
is
a
VNC
viewer
widget
for
GTK
.
It
is
built
using
coroutines
10139
N/A
allowing
it
to
be
completely
asynchronous
while
remaining
single
threaded
.
10737
N/A
10139
N/A
%
package
devel
10737
N/A
Summary
:
Libraries
,
includes
,
etc
.
to
compile
with
the
gtk
-
vnc
library
10737
N/A
Group
:
Development
/
Libraries
10737
N/A
Requires
: %{
name
} = %{
version
}
10737
N/A
Requires
:
pkgconfig
10769
N/A
Requires
:
pygtk2
-
devel
gtk2
-
devel
10737
N/A
10769
N/A
%
description
devel
10737
N/A
gtk
-
vnc
is
a
VNC
viewer
widget
for
GTK
.
It
is
built
using
coroutines
10139
N/A
allowing
it
to
be
completely
asynchronous
while
remaining
single
threaded
.
10139
N/A
10139
N/A
Libraries
,
includes
,
etc
.
to
compile
with
the
gtk
-
vnc
library
10139
N/A
10139
N/A
%
package
python
10139
N/A
Summary
:
Python
bindings
for
the
gtk
-
vnc
library
10139
N/A
Group
:
Development
/
Libraries
10139
N/A
Requires
: %{
name
} = %{
version
}
10139
N/A
10139
N/A
%
description
python
10139
N/A
gtk
-
vnc
is
a
VNC
viewer
widget
for
GTK
.
It
is
built
using
coroutines
10139
N/A
allowing
it
to
be
completely
asynchronous
while
remaining
single
threaded
.
10139
N/A
10139
N/A
A
module
allowing
use
of
the
GTK
-
VNC
widget
from
python
10139
N/A
10139
N/A
%
prep
10139
N/A
%
setup
-q
10139
N/A
10139
N/A
%
build
10139
N/A
%
ifos
linux
10737
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
10139
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
10139
N/A
fi
10139
N/A
%
else
10737
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
10139
N/A
%
endif
10737
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
10740
N/A
CPUS
=
1
10740
N/A
fi
10139
N/A
10740
N/A
export
PYTHON
=%{
_bindir
}/
python
%{
pythonver
}
10139
N/A
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
10139
N/A
./
configure
--
prefix
=%{
_prefix
} \
10139
N/A
--
bindir
=%{
_bindir
} \
10139
N/A
--
mandir
=%{
_mandir
} \
10139
N/A
--
libdir
=%{
_libdir
} \
10139
N/A
--
datadir
=%{
_datadir
} \
10139
N/A
--
includedir
=%{
_includedir
} \
10139
N/A
--
sysconfdir
=%{
_sysconfdir
} \
10139
N/A
%
if
%
debug_build
10139
N/A
--
enable
-
debug
=
yes
\
10139
N/A
%
endif
10139
N/A
%
if
%
with_brower_plugin
10139
N/A
--
enable
-
plugin
10139
N/A
%
endif
10139
N/A
10139
N/A
10139
N/A
make
-j
$CPUS
10139
N/A
10139
N/A
%
install
10139
N/A
export
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=
1
10139
N/A
make
-i
install
DESTDIR
=
$RPM_BUILD_ROOT
10139
N/A
unset
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10139
N/A
find
$RPM_BUILD_ROOT
-
type
f -
name
"*.la"
-
exec
rm
-f {}
';'
10139
N/A
find
$RPM_BUILD_ROOT
-
type
f -
name
"*.a"
-
exec
rm
-f {}
';'
10139
N/A
10139
N/A
# move to vendor-packages
10139
N/A
%
if
%
with_64
10139
N/A
cd
$RPM_BUILD_ROOT
%{
_libdir
}/..
10139
N/A
mkdir
-p
python
%{
pythonver
}/
vendor
-
packages
/
64
10139
N/A
mv
python
%{
pythonver
}/
site
-
packages
/*
python
%{
pythonver
}/
vendor
-
packages
/
64
10139
N/A
%
else
10139
N/A
cd
$RPM_BUILD_ROOT
%{
_libdir
}
10139
N/A
mkdir
-p
python
%{
pythonver
}/
vendor
-
packages
10139
N/A
mv
python
%{
pythonver
}/
site
-
packages
/*
python
%{
pythonver
}/
vendor
-
packages
/
10139
N/A
%
endif
10139
N/A
rmdir
python
%{
pythonver
}/
site
-
packages
10139
N/A
10139
N/A
%
clean
10139
N/A
rm
-
rf
$RPM_BUILD_ROOT
10139
N/A
10139
N/A
%
post
10139
N/A
/
sbin
/
ldconfig
10139
N/A
10139
N/A
%
postun
10139
N/A
/
sbin
/
ldconfig
10139
N/A
10139
N/A
%
files
10139
N/A
%
defattr
(-,
root
,
root
)
10139
N/A
%
doc
AUTHORS
ChangeLog
NEWS
README
COPYING.LIB
10139
N/A
%{
_libdir
}/
lib
*.
so
.*
10139
N/A
10142
N/A
%
files
devel
10142
N/A
%
defattr
(-,
root
,
root
)
10139
N/A
%
doc
AUTHORS
ChangeLog
NEWS
README
COPYING.LIB
10139
N/A
%
doc
examples
/
gvncviewer.c
10139
N/A
%{
_libdir
}/
lib
*.
so
10139
N/A
%
dir
%{
_includedir
}/%{
name
}-
1.0
/
10139
N/A
%{
_includedir
}/%{
name
}-
1.0
/*.h
10139
N/A
%{
_libdir
}/
pkgconfig
/%{
name
}
-1.0.pc
10139
N/A
10810
N/A
%
files
python
10810
N/A
%
defattr
(-,
root
,
root
)
10740
N/A
%
doc
AUTHORS
ChangeLog
NEWS
README
COPYING.LIB
10740
N/A
%
doc
examples
/
gvncviewer.py
10740
N/A
%{
_libdir
}/
python
*/
site-packages
/
gtkvnc.so
10740
N/A
10737
N/A
%
changelog
10737
N/A
*
Wed
Nov
26
2008
-
halton.huo
@
sun.com
10695
N/A
-
use
%{
pythonver
}
macro
to
select
which
version
of
Python
to
build
with
10695
N/A
*
Thu
Nov
13
2008
-
halton.huo
@
sun.com
10280
N/A
-
Moved
from
SFE
10280
N/A
*
Tue
Sep
09
2008
-
halton.huo
@
sun.com
10139
N/A
-
Bump
to
0.3
.
7
10139
N/A
*
Tue
May
06
2008
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
6
10139
N/A
-
Remove
upsteamed
patch
solaris-ld-ast.diff
10139
N/A
*
Tue
Apr
22
2008
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
5
10139
N/A
*
Fri
Mar
07
2008
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
4
10139
N/A
*
Wed
Feb
20
2008
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
3
10139
N/A
-
Remove
upstreamed
patch
suncc-range-case.diff
10139
N/A
*
Thu
Jan
10
2008
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
2
10139
N/A
-
Add
patch
suncc-range-case.diff
to
fix
build
issue
.
10139
N/A
*
Fri
Dec
14
2007
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
1
10139
N/A
*
Thu
Dec
13
2007
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Bump
to
0.3
.
0
10139
N/A
-
Remove
upsreamed
patches
:
makefile.diff
,
macro.diff
,
10139
N/A
yield.diff
and
coroutine.diff
10139
N/A
-
Add
new
patch
solaris-ld-ast.diff
10139
N/A
*
Tue
Oct
30
2007
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Add
debug
option
.
10139
N/A
*
Thu
Oct
25
2007
-
nonsea
@
users.sourceforge.net
10139
N/A
-
Initial
version
10139
N/A