SUNWgnome-python-libs.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 14202 fc80c50f84e9
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-python-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): pyorbit gnome-python pyspi pygtk2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10415
diff changeset
     6
# Copyright 2007 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: laca
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
13099
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
    13
%define pythonver 2.4
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
    14
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
%use pyorbit = pyorbit.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
%use pycairo = pycairo.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
%use gnome_python = gnome-python.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
%use pyspi = pyspi.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
%use pygobject = pygobject.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%use pygtk2 = pygtk2.spec
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
    21
%use pygtksourceview = pygtksourceview.spec
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Name:              SUNWgnome-python-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Summary:           Python support libraries for GNOME
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Version:           %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
SUNW_BaseDir:      %{_basedir}
12101
58dc00d60141 2008-04-14 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10665
diff changeset
    27
SUNW_Copyright:    %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRoot:         %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Requires: SUNWgnome-component
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Requires: SUNWgnome-file-mgr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires: SUNWgnome-print
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires: SUNWgnome-a11y-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires: SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires: SUNWjdsrm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires: SUNWgnome-config
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires: SUNWPython
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Requires: SUNWgnome-vfs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: SUNWmlib
10625
b9e2a08788ba 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10617
diff changeset
    45
Requires: SUNWgnome-gtksourceview
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
BuildRequires: SUNWPython-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
BuildRequires: SUNWgnome-config-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
BuildRequires: SUNWgnome-vfs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
BuildRequires: SUNWgnome-file-mgr-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
BuildRequires: SUNWgnome-print-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
BuildRequires: SUNWgnome-a11y-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
BuildRequires: SUNWPython-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
BuildRequires: SUNWgnome-component-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
BuildRequires: SUNWgnome-config-devel
10625
b9e2a08788ba 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10617
diff changeset
    58
BuildRequires: SUNWgnome-gtksourceview-devel
14173
fe63d4719576 2009-01-19 Brian Cameron <[email protected]>
yippi
parents: 13616
diff changeset
    59
BuildRequires: SUNWpython-setuptools
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
Summary:           %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
SUNW_BaseDir:      %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
Requires: %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
Requires: SUNWPython
14202
fc80c50f84e9 2009-02-19 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14198
diff changeset
    67
# the 2.6 devel package is required because it contains the headers
fc80c50f84e9 2009-02-19 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14198
diff changeset
    68
# (they are not duplicated in this package, since they would be identical)
fc80c50f84e9 2009-02-19 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14198
diff changeset
    69
Requires: SUNWgnome-python26-libs-devel
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%pygobject.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%pycairo.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%pygtk2.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
%pyorbit.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%gnome_python.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%pyspi.prep -d %name-%version
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
    80
%pygtksourceview.prep -d %name-%version
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
PKG_CONFIG_DISABLE_UNINSTALLED=
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
unset PKG_CONFIG_DISABLE_UNINSTALLED
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
export PKG_CONFIG_PATH=../pyorbit-%{pyorbit.version}:../pygtk-%{pygtk2.version}:%{_pkg_config_path}:../pygobject-%{pygobject.version}:../pycairo-%{pycairo.version}
13616
cbeb7316f4b1 2008-09-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13281
diff changeset
    87
export PYTHON="/usr/bin/python2.4"
13099
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
    88
export CPPFLAGS="-I/usr/xpg4/include -I/usr/include/python%{pythonver}"
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
    89
export CFLAGS="%optflags -I/usr/xpg4/include -I%{_includedir} -I/usr/include/python%{pythonver} -I%{_builddir}/%name-%version/pyorbit-%pyorbit.version/src -I%{_builddir}/%name-%version/pycairo-%pycairo.version/cairo"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
export RPM_OPT_FLAGS="$CFLAGS"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
export LDFLAGS="%_ldflags"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
export PYCC_CC="$CC"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
export PYCC_CXX="$CXX"
14198
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
    94
export EXTRA_CFLAGS="-R%{_libdir}/python%{pythonver}/pygobject"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%pygobject.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%pycairo.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%pygtk2.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
cd %name-%version/pygtk-%{pygtk2.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
ln -s gtk/*.defs .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
ln -s gtk pygtk
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
cd ../..
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%pyorbit.build -d %name-%version
13281
a7df4f788b3a 2008-08-26 Laszlo (Laca) Peter <[email protected]>
davelam
parents: 13105
diff changeset
   104
echo 'PYTHONPATH=%{_builddir}/%name-%version/pygobject-%{pygobject.version}/codegen:$PYTHONPATH /usr/bin/python %{_builddir}/%name-%version/pygobject-%{pygobject.version}/codegen/codegen.py "$@"' > %{_builddir}/%name-%version/pygtk-codegen-2.0
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
chmod a+x %{_builddir}/%name-%version/pygtk-codegen-2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
export PATH=%{_builddir}/%name-%version:$PATH
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
%gnome_python.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
export CFLAGS="`echo %optflags | sed -e 's/-xregs=no.frameptr//'`"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%pyspi.build -d %name-%version
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   110
%pygtksourceview.build -d %name-%version
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%install
14198
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   113
rm -rf $RPM_BUILD_ROOT
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%pygobject.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%pycairo.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
%pygtk2.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%pyorbit.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
%gnome_python.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
%pyspi.install -d %name-%version
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   120
%pygtksourceview.install -d %name-%version
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
13099
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   122
# move to vendor-packages
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   123
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   124
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   125
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   126
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   127
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
# Move demo to demo directory.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
install -d $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
mv $RPM_BUILD_ROOT%{_bindir}/pygtk-demo $RPM_BUILD_ROOT%{_prefix}/demo/jds/bin/pygtk-demo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
14198
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   133
# avoid conflicts with 2.5 and 2.6:
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   134
cd $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   135
mv libpythonmethod.so libpythonmethod-%{pythonver}.so
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   136
ln -s libpythonmethod-%{pythonver}.so libpythonmethod.so
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   137
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   138
# these are included in SUNWgnome-python26-libs
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   139
rm -r $RPM_BUILD_ROOT%{_bindir}
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   140
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   141
# move to subdir to avoid conflict with Python 2.5 and Python 2.6
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   142
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/pygobject
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   143
mv $RPM_BUILD_ROOT%{_libdir}/libpyglib-2.0.so* \
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   144
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/pygobject
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   145
mv $RPM_BUILD_ROOT%{_libdir}/pygtk \
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   146
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/pygobject
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   147
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   148
# these are included in SUNWgnome-python26-libs-devel:
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   149
rm -r $RPM_BUILD_ROOT%{_includedir}
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   150
rm -r $RPM_BUILD_ROOT%{_datadir}
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   151
mv $RPM_BUILD_ROOT%{_libdir}/pkgconfig \
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   152
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/pkgconfig
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   153
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
%{_libdir}/python?.?/vendor-packages
14198
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   163
%{_libdir}/python?.?/pygobject
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   164
%{_libdir}/gnome-vfs-2.0/modules/libpythonmethod*.so
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
%defattr(-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
%dir %attr (0755, root, bin) %{_libdir}
14198
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   169
%dir %attr (0755, root, other) %{_libdir}/python2.4/pkgconfig
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   170
%{_libdir}/python2.4/pkgconfig/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
%dir %attr (0755, root, bin) %dir %{_prefix}/demo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
%dir %attr (0755, root, bin) %dir %{_prefix}/demo/jds
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
%dir %attr (0755, root, bin) %dir %{_prefix}/demo/jds/bin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
%{_prefix}/demo/jds/bin/pygtk-demo
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
%changelog
14198
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   177
* Tue Nov 25 2008 - [email protected]
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   178
- re-add libpyglib.so* but move in a subdir because it is dependent on
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   179
  the python version so we need to include it in both the 2.4 and the 2.5
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   180
  package.
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   181
- remove references to SUNWgnome-python-libs-common
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   182
* Mon Nov 24 2008 - [email protected]
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   183
- remove bits included in SUNWgnome-python-libs-common, which is defined in
0ae9c5c4287a 2009-02-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14173
diff changeset
   184
  SUNWgnome-python25-libs.spec
13616
cbeb7316f4b1 2008-09-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13281
diff changeset
   185
* Wed Sep 17 2008 - [email protected]
cbeb7316f4b1 2008-09-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13281
diff changeset
   186
- set PYTHON to python2.4 (instead of just python) to make sure the
cbeb7316f4b1 2008-09-17 Laszlo (Laca) Peter <[email protected]>
laca
parents: 13281
diff changeset
   187
  right version is used for the build
13105
312d9bc98900 2008-08-12 Damien Carbery <[email protected]>
dcarbery
parents: 13099
diff changeset
   188
* Tue Aug 12 2008 - [email protected]
312d9bc98900 2008-08-12 Damien Carbery <[email protected]>
dcarbery
parents: 13099
diff changeset
   189
- Add %{_libdir}/libpyglib-2.0.so* to %files.
13099
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   190
* Mon Aug 11 2008 - [email protected]
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   191
- Move site-packages to vendor-packages here because pygobject 2.15.2 borked
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   192
  when vendor-packages was specified by pyexecdir and pythondir in make
4193ae8faf02 2008-08-11 Damien Carbery <[email protected]>
dcarbery
parents: 12101
diff changeset
   193
  install.
10665
c98ec7dbc36d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10625
diff changeset
   194
* Tue Oct 16 2007 - [email protected]
c98ec7dbc36d 2007-10-16 Damien Carbery <[email protected]>
dcarbery
parents: 10625
diff changeset
   195
- Remove unnecessary environment variable settings.
10625
b9e2a08788ba 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10617
diff changeset
   196
* Mon Oct  8 2007 - [email protected]
b9e2a08788ba 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10617
diff changeset
   197
- Add SUNWgnome-gtksourceview dependency as it is required to by
b9e2a08788ba 2007-10-08 Damien Carbery <[email protected]>
dcarbery
parents: 10617
diff changeset
   198
  pygtksourceview.
10617
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   199
* Sun Oct  7 2007 - [email protected]
4aa1d48bc616 2007-10-07 Damien Carbery <[email protected]>
dcarbery
parents: 10572
diff changeset
   200
- Add pygtksourceview as it is required to build python bindings in gedit.
10572
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10415
diff changeset
   201
* Fri Sep 28 2007 - [email protected]
8cdee8cd9c9c 2007-09-29 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10415
diff changeset
   202
- delete some unnecessary env vars
10415
25a1fb642f62 2007-08-31 Damien Carbery <[email protected]>
dcarbery
parents: 10164
diff changeset
   203
* Fri Aug 31 2007 - [email protected]
25a1fb642f62 2007-08-31 Damien Carbery <[email protected]>
dcarbery
parents: 10164
diff changeset
   204
- Remove pygtksourceview.spec. It is still not building and isn't required.
10164
98f7e30eb982 2007-07-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   205
* Thu Jul 05 2007 - [email protected]
98f7e30eb982 2007-07-05 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   206
- Add pygtksourceview.spec, but disable it because it is not building yet.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
* Tue Jan  9 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
- define PYCC_CC and PYCC_CXX to override what the configure script sets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
  in CC/CXX
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   210
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   211
- Fix typo in PKG_CONFIG_PATH data (s/=/-/).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   212
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   213
- change group from other to bin/sys
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   214
* Fri May 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   215
- Small update to dependency list after check-deps.pl run.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   216
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   217
- Move pygtk-demo to demo directory.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   218
* Wed Apr  5 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   219
- Add pygobject. It has been moved from pygtk2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   220
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   221
- Complete update of Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   222
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   223
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   224
* Mon Jan 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   225
- Add gnome-vfs module.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   226
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   227
- add pygtk2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   228
* Tue Sep 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   229
- move to /usr as Python was also moved there
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
* Thu Sep 01 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
- Remove unused pygtk2 references.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
* Wed Aug 30 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   233
- Add Build/Requires for SUNWgnome-file-mgr (nautilus) and SUNWgnome-print
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   234
  (libgnomeprint/libgnomeprintui) so that those submodules will be built.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   235
* Mon Aug 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   236
- Adjusted to put files under /usr/sfw
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
* Thu Aug 25 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
- Removed the 'export CC="/opt/SUNWspro/bin/cc"' line. No longer needed.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
* Mon Aug 22 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
- Adjustments needed to make the package proto maps equivalent to what gets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
  installed via "make install"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
* Thu Aug 11 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
- initial version