base-specs/pygtk2.spec
author dcarbery
Fri, 04 Jan 2008 19:05:45 +0000
changeset 11391 1c07bc7a6c93
parent 11103 a0d234e51a8b
child 13277 ab33813390f4
permissions -rw-r--r--
2008-01-04 Damien Carbery <[email protected]> * base-specs/pygtk2.spec: Bump to 2.12.1.
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 pygtk2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
11391
1c07bc7a6c93 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 11103
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# 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
     6
# 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
     7
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# Owner: laca
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
Name:			pygtk2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
License:		LGPL	
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
Group:			System/Library
11391
1c07bc7a6c93 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 11103
diff changeset
    13
Version:		2.12.1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
Release:		2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
Distribution:		Java Desktop System
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Vendor:			Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:		Python bindings for GTK+
10524
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10379
diff changeset
    18
Source:			http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/pygtk-%{version}.tar.bz2
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
# date:2005-10-27 owner:dcarbery type:feature bugzilla:385131
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Patch1:                 pygtk2-01-uninstalled.pc.diff
11102
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
    21
# The numpy integration patch is based on the pygtk_r2808_patch_for_numpy found
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
    22
# at this URL - http://www.scipy.org/Porting_to_NumPy.
11103
a0d234e51a8b Add bug numbers for new patch.
yippi
parents: 11102
diff changeset
    23
# date:2007-10-22 owner:yippi type:bug bugzilla:397544 bugster:6602536
11102
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
    24
Patch2:                 pygtk2-02-numpy-r2808.diff
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
URL:			http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Docdir:			%{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Autoreqprov:		on
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
%define libglade_version 2.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%define glib2_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%define gtk2_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
%define atk_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%define pango_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
%define python_version 2.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:		libglade >= %{libglade_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:		gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Requires:		glib2 >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Requires:		atk >= %{atk_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
Requires:		pango >= %{pango_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Requires:		python >= %{python_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
BuildRequires: 		gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
BuildRequires:		libglade-devel >= %{libglade_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
BuildRequires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
BuildRequires:		atk-devel >= %{atk_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
BuildRequires:		pango-devel >= %{pango_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
PyGTK is an extension module for python that gives you access to the GTK+
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
widget set.  Just about anything you can write in C with GTK+ you can write
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
in python with PyGTK (within reason), but with all the benefits of python.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
Summary: files needed to build wrappers for GTK+ addon libraries
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
Group: Development/Languages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
Requires: %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
This package contains files required to build wrappers for GTK+ addon
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
libraries so that they interoperate with pygtk.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%setup -q -n pygtk-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%patch1 -p1
11102
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
    66
%patch2 -p1
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%build
11102
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
    69
export CFLAGS="$CFLAGS -I/usr/lib/python2.4/vendor-packages/numpy/core/include"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
./configure 	--prefix=%{_prefix}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
	    	--sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
make install DESTDIR=$RPM_BUILD_ROOT \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
    pythondir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_libdir}/python?.?/vendor-packages/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%doc examples
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%doc AUTHORS NEWS README MAPPING ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%{_libdir}/pygtk/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%{_datadir}/pygtk/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%changelog -n pygtk2
11391
1c07bc7a6c93 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 11103
diff changeset
   104
* Fri Jan 04 2008 - [email protected]
1c07bc7a6c93 2008-01-04 Damien Carbery <[email protected]>
dcarbery
parents: 11103
diff changeset
   105
- Bump to 2.12.1.
11102
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
   106
* Mon Oct 22 2007 - [email protected]
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
   107
- Add patch so pygtk builds against numpy to add numeric processing extension
a299ccb2086d 2007-11-01 Brian Cameron <[email protected]>
yippi
parents: 10524
diff changeset
   108
  support.
10524
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10379
diff changeset
   109
* Wed Sep 19 2007 - [email protected]
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10379
diff changeset
   110
- Bump to 2.12.0.
10379
f27a717bd83b 2007-08-27 Damien Carbery <[email protected]>
dcarbery
parents: 10178
diff changeset
   111
* Mon Aug 27 2007 - [email protected]
f27a717bd83b 2007-08-27 Damien Carbery <[email protected]>
dcarbery
parents: 10178
diff changeset
   112
- Bump to 2.11.0.
10178
a7f02aa69081 2007-07-11 Damien Carbery <[email protected]>
dcarbery
parents: 10111
diff changeset
   113
* Wed Jul 11 2007 - [email protected]
a7f02aa69081 2007-07-11 Damien Carbery <[email protected]>
dcarbery
parents: 10111
diff changeset
   114
- Bump to 2.10.5. Remove obsolete patch, 02-gtk-tooltips.
10109
9bb67f135b9c 2007-06-22 Damien Carbery <[email protected]>
dcarbery
parents: 9397
diff changeset
   115
* Fri Jun 22 2007 - [email protected]
10111
3007108fc6c0 Update bug id as my bug is a duplicate.
dcarbery
parents: 10109
diff changeset
   116
- Add patch 02-gtk-tooltips to fix bugzilla 449318 (pygtk not in sync with gtk+)
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
* Tue Feb  6 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
- Bump to 2.10.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
* Thu Dec 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
- Remove patch 02-pygobject-xsl-dir as nothing is built in the docs dir.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
* Wed Oct 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Bump to 2.10.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
* Tue Oct 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
- Bump to 2.10.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
* Sat Sep  9 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- re-enable optimisation as the compiler bug that prevented it has been fixed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
* Tue Sep 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Bump to 2.10.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- Bump to 2.9.6 really
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Tue Aug 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Bump to 2.9.6.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
* Tue Aug 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- Bump to 2.9.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Mon Aug 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- Bump to 2.9.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- Bump to 2.9.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
* Tue Apr  4 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- Bump to 2.9.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
* Fri Mar 31 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
- Bump to 2.8.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
* Wed Feb 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
- Disable optimizations on x86 to workaround compiler bug 6382078.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
* Sun Jan 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
- Bump to 2.8.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
* Tue Dec 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
- Bump to 2.8.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
- add patch uninstalled.pc.diff so the pygtk can be included in the same
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
  Solaris pkg as gnome-python
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
- move from site-packages to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
* Tue Sep 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
- Bump to 2.7.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
* Thu Aug 25 2005 [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
- Adjusted the defattr lines to have three parameters, not four.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
* Tue Aug 16 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
- Bump to 2.7.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
* Mon Aug 04 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
- Initial Sun release