Cross Reference: pygtk2.spec
xref
: /
solaris-desktop
/
base-specs
/
pygtk2.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
10139
N/A
#
10139
N/A
# spec file for package pygtk2
10139
N/A
#
18223
N/A
# Copyright 2010 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
%
define
owner
laca
10139
N/A
#
17180
N/A
18603
N/A
%
define
OSR
LFI
#105446 (gnome Exec. summary):n/a
17180
N/A
10139
N/A
Name
:
pygtk2
10139
N/A
License
:
LGPL
10139
N/A
Group
:
System
/
Library
18134
N/A
Version
:
2.17
.
0
17365
N/A
Release
:
1
10139
N/A
Distribution
:
Java
Desktop
System
18616
N/A
Vendor
:
Gnome
Community
10139
N/A
Summary
:
Python
bindings
for
GTK
+
18222
N/A
Source
:
http
://
ftp.gnome.org
/
pub
/
GNOME
/
sources
/
pygtk
/
2.17
/
pygtk
-%{
version
}
.tar.bz
2
10139
N/A
URL
:
http
://
www.gnome.org
10139
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
10139
N/A
Docdir
: %{
_defaultdocdir
}/
doc
10139
N/A
Autoreqprov
:
on
10139
N/A
10139
N/A
%
define
libglade_version
2.4
.
0
10139
N/A
%
define
glib2_version
2.6
.
0
10139
N/A
%
define
gtk2_version
2.6
.
0
10139
N/A
%
define
atk_version
1.8
.
0
10139
N/A
%
define
pango_version
1.8
.
0
19805
N/A
%{?!
python_version
:%
define
python_version
2.6
}
10139
N/A
10139
N/A
Requires
:
libglade
>= %{
libglade_version
}
10139
N/A
Requires
:
gtk2
>= %{
gtk2_version
}
10139
N/A
Requires
:
glib2
>= %{
glib2_version
}
10139
N/A
Requires
:
atk
>= %{
atk_version
}
10139
N/A
Requires
:
pango
>= %{
pango_version
}
10139
N/A
Requires
:
python
>= %{
python_version
}
10139
N/A
BuildRequires
:
gtk2
-
devel
>= %{
gtk2_version
}
10139
N/A
BuildRequires
:
libglade
-
devel
>= %{
libglade_version
}
10139
N/A
BuildRequires
:
glib2
-
devel
>= %{
glib2_version
}
10139
N/A
BuildRequires
:
atk
-
devel
>= %{
atk_version
}
10139
N/A
BuildRequires
:
pango
-
devel
>= %{
pango_version
}
10139
N/A
10139
N/A
%
description
10139
N/A
PyGTK
is
an
extension
module
for
python
that
gives
you
access
to
the
GTK
+
10139
N/A
widget
set
.
Just
about
anything
you
can
write
in
C
with
GTK
+
you
can
write
10139
N/A
in
python
with
PyGTK
(
within
reason
)
,
but
with
all
the
benefits
of
python
.
10139
N/A
10139
N/A
%
package
devel
10139
N/A
Summary
:
files
needed
to
build
wrappers
for
GTK
+
addon
libraries
10139
N/A
Group
:
Development
/
Languages
10139
N/A
Requires
: %{
name
} = %{
version
}
10139
N/A
10139
N/A
%
description
devel
10139
N/A
This
package
contains
files
required
to
build
wrappers
for
GTK
+
addon
10139
N/A
libraries
so
that
they
interoperate
with
pygtk
.
10139
N/A
10139
N/A
%
prep
10139
N/A
%
setup
-q -n
pygtk
-%{
version
}
10139
N/A
10139
N/A
%
build
15395
N/A
numpy_INCLUDES
=
`
$PYTHON
-c
"import numpy; print
numpy.get
_include()"
`
15395
N/A
export
CFLAGS
=
"
$CFLAGS
-I
$numpy_INCLUDES
"
15826
N/A
aclocal
$ACLOCAL_FLAGS
-I ./
m4
15826
N/A
libtoolize
--
force
15826
N/A
autoheader
10139
N/A
autoconf
10139
N/A
./
configure
--
prefix
=%{
_prefix
} \
10139
N/A
--
sysconfdir
=%{
_sysconfdir
}
10139
N/A
make
10139
N/A
10139
N/A
%
install
10139
N/A
make
install
DESTDIR
=
$RPM_BUILD_ROOT
\
10139
N/A
pyexecdir
=%{
_libdir
}/
python
%{
python_version
}/
vendor
-
packages
\
10139
N/A
pythondir
=%{
_libdir
}/
python
%{
python_version
}/
vendor
-
packages
15395
N/A
perl
-
pi
-e s,/
site
-
packages
,/
vendor
-
packages
, \
15395
N/A
$RPM_BUILD_ROOT
%{
_libdir
}/
pkgconfig
/
pygtk-2.0.pc
10139
N/A
find
$RPM_BUILD_ROOT
-
type
f -
name
"*.la"
-
exec
rm
-f {}
';'
10139
N/A
find
$RPM_BUILD_ROOT
-
type
f -
name
"*.pyo"
-
exec
rm
-f {}
';'
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
10139
N/A
%
postun
10139
N/A
10139
N/A
%
files
10139
N/A
%
defattr
(-,
root
,
root
)
10139
N/A
%{
_libdir
}/
python
?.?/
vendor
-
packages
/*
10139
N/A
10139
N/A
%
files
devel
10139
N/A
%
defattr
(-,
root
,
root
)
10139
N/A
%
doc
examples
10139
N/A
%
doc
AUTHORS
NEWS
README
MAPPING
ChangeLog
10139
N/A
%{
_bindir
}/*
10139
N/A
%{
_includedir
}/*
10139
N/A
%{
_libdir
}/
pkgconfig
/*
10139
N/A
%{
_libdir
}/
pygtk
/*
10139
N/A
%{
_datadir
}/
pygtk
/*
10139
N/A
10139
N/A
%
changelog
-n
pygtk2
20047
N/A
*
Fri
Feb
18
2011
-
brian.cameron
@
oracle.com
20047
N/A
-
Remove
uninstalled.pc
patch
.
18134
N/A
*
Mon
Jan
18
2010
-
christian.kelly
@
sun.com
18134
N/A
-
Bump
to
2.17
.
0
.
17365
N/A
*
Tue
Sep
22
2009
-
brian.cameron
@
sun.com
17365
N/A
-
Bump
to
2.16
.
0
and
remove
pygtk2-02-numpy-r2808.diff
patch
since
it
is
17365
N/A
upstream
.
16144
N/A
*
Fri
Mar
13
2009
-
dave.lin
@
sun.com
16144
N/A
-
Bump
to
2.14
.
1
15826
N/A
*
Thu
Feb
12
2009
-
brian.cameron
@
sun.com
15826
N/A
-
Bump
to
2.14
.
0
.
Add
autotools
commands
before
calling
configure
,
now
needed
15826
N/A
to
build
.
15395
N/A
*
Mon
Nov
24
2008
-
laca
@
sun.com
15395
N/A
-
use
%{
python_version
}
macro
to
select
with
version
of
Python
to
build
which
14019
N/A
*
Tue
Aug
26
2008
-
dave.lin
@
sun.com
14019
N/A
-
Bump
to
2.13
.
0
,
update
the
following
patches
to
fix
the
hunk
failures
,
14019
N/A
pygtk2-01-uninstalled.pc.diff
14019
N/A
pygtk2-02-numpy-r2808.diff
12133
N/A
*
Fri
Jan
04
2008
-
damien.carbery
@
sun.com
12133
N/A
-
Bump
to
2.12
.
1
.
11844
N/A
*
Mon
Oct
22
2007
-
brian.cameron
@
sun.com
11844
N/A
-
Add
patch
so
pygtk
builds
against
numpy
to
add
numeric
processing
extension
11844
N/A
support
.
11266
N/A
*
Wed
Sep
19
2007
-
damien.carbery
@
sun.com
11266
N/A
-
Bump
to
2.12
.
0
.
11121
N/A
*
Mon
Aug
27
2007
-
damien.carbery
@
sun.com
11121
N/A
-
Bump
to
2.11
.
0
.
10920
N/A
*
Wed
Jul
11
2007
-
damien.carbery
@
sun.com
10920
N/A
-
Bump
to
2.10
.
5
.
Remove
obsolete
patch
,
02
-
gtk
-
tooltips
.
10851
N/A
*
Fri
Jun
22
2007
-
damien.carbery
@
sun.com
10853
N/A
-
Add
patch
02
-
gtk
-
tooltips
to
fix
bugzilla
449318
(
pygtk
not
in
sync
with
gtk
+)
10139
N/A
*
Tue
Feb
6
2007
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.10
.
4
.
10139
N/A
*
Thu
Dec
14
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Remove
patch
02
-
pygobject
-
xsl
-
dir
as
nothing
is
built
in
the
docs
dir
.
10139
N/A
*
Wed
Oct
04
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.10
.
3
.
10139
N/A
*
Tue
Oct
03
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.10
.
2
.
10139
N/A
*
Sat
Sep
9
2006
-
laca
@
sun.com
10139
N/A
-
re
-
enable
optimisation
as
the
compiler
bug
that
prevented
it
has
been
fixed
10139
N/A
*
Tue
Sep
05
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.10
.
1
.
10139
N/A
*
Mon
Aug
28
2006
-
harry.lu
@
sun.com
10139
N/A
-
Bump
to
2.9
.
6
really
10139
N/A
*
Tue
Aug
08
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.9
.
6
.
10139
N/A
*
Tue
Aug
08
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.9
.
5
.
10139
N/A
*
Mon
Aug
07
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.9
.
4
.
10139
N/A
*
Fri
Jul
21
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.9
.
3
.
10139
N/A
*
Tue
Apr
4
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.9
.
0
.
10139
N/A
*
Fri
Mar
31
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.8
.
5
.
10139
N/A
*
Wed
Feb
15
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Disable
optimizations
on
x86
to
workaround
compiler
bug
6382078
.
10139
N/A
*
Sun
Jan
15
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.8
.
4
10139
N/A
*
Tue
Dec
20
2005
-
dermot.mccluskey
@
sun.com
10139
N/A
-
Bump
to
2.8
.
2
10139
N/A
*
Thu
Oct
27
2005
-
laca
@
sun.com
10139
N/A
-
add
patch
uninstalled.pc.diff
so
the
pygtk
can
be
included
in
the
same
10139
N/A
Solaris
pkg
as
gnome
-
python
10139
N/A
-
move
from
site
-
packages
to
vendor
-
packages
10139
N/A
*
Tue
Sep
27
2005
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.7
.
4
.
10139
N/A
*
Thu
Aug
25
2005
rich.burridge
@
sun.com
10139
N/A
-
Adjusted
the
defattr
lines
to
have
three
parameters
,
not
four
.
10139
N/A
*
Tue
Aug
16
2005
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
2.7
.
3
.
10139
N/A
*
Mon
Aug
04
2003
-
glynn.foster
@
sun.com
10139
N/A
-
Initial
Sun
release