base-specs/pygtk2.spec
author dcarbery
Tue, 18 Sep 2007 23:53:11 +0000
changeset 10524 6ad57a3f5ff3
parent 10379 f27a717bd83b
child 11102 a299ccb2086d
permissions -rw-r--r--
2007-09-19 Damien Carbery <[email protected]> * base-specs/totem.spec: Bump to 2.20.0. * patches/totem-01-remove-unsupported-format.diff: Rework. * base-specs/nautilus-cd-burner.spec, base-specs/orca.spec: Bump to 2.20.0. * base-specs/pygobject.spec: Bump to 2.14.0. * base-specs/pygtk2.spec: Bump to 2.12.0. * pathces/metacity-11-lame-client-crash.diff: Fix bad commit.
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
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
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
10524
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10379
diff changeset
    13
Version:		2.12.0
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
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
URL:			http://www.gnome.org
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
BuildRoot:		%{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
Docdir:			%{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Autoreqprov:		on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%define libglade_version 2.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
%define glib2_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
%define gtk2_version 2.6.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
%define atk_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
%define pango_version 1.8.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
%define python_version 2.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Requires:		libglade >= %{libglade_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:		gtk2 >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Requires:		glib2 >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Requires:		atk >= %{atk_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
Requires:		pango >= %{pango_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Requires:		python >= %{python_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
BuildRequires: 		gtk2-devel >= %{gtk2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
BuildRequires:		libglade-devel >= %{libglade_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
BuildRequires:		glib2-devel >= %{glib2_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
BuildRequires:		atk-devel >= %{atk_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
BuildRequires:		pango-devel >= %{pango_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
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
    47
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
    48
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
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
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
    52
Group: Development/Languages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Requires: %{name} = %{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%description devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
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
    57
libraries so that they interoperate with pygtk.
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
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%setup -q -n pygtk-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%patch1 -p1
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
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
./configure 	--prefix=%{_prefix}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
	    	--sysconfdir=%{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
make install DESTDIR=$RPM_BUILD_ROOT \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
    pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
    pythondir=%{_libdir}/python%{python_version}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
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
    74
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
    75
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_libdir}/python?.?/vendor-packages/*
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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%doc examples
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%doc AUTHORS NEWS README MAPPING ChangeLog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_includedir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%{_libdir}/pkgconfig/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_libdir}/pygtk/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%{_datadir}/pygtk/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%changelog -n pygtk2
10524
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10379
diff changeset
    98
* Wed Sep 19 2007 - [email protected]
6ad57a3f5ff3 2007-09-19 Damien Carbery <[email protected]>
dcarbery
parents: 10379
diff changeset
    99
- Bump to 2.12.0.
10379
f27a717bd83b 2007-08-27 Damien Carbery <[email protected]>
dcarbery
parents: 10178
diff changeset
   100
* Mon Aug 27 2007 - [email protected]
f27a717bd83b 2007-08-27 Damien Carbery <[email protected]>
dcarbery
parents: 10178
diff changeset
   101
- Bump to 2.11.0.
10178
a7f02aa69081 2007-07-11 Damien Carbery <[email protected]>
dcarbery
parents: 10111
diff changeset
   102
* Wed Jul 11 2007 - [email protected]
a7f02aa69081 2007-07-11 Damien Carbery <[email protected]>
dcarbery
parents: 10111
diff changeset
   103
- 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
   104
* Fri Jun 22 2007 - [email protected]
10111
3007108fc6c0 Update bug id as my bug is a duplicate.
dcarbery
parents: 10109
diff changeset
   105
- 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
   106
* Tue Feb  6 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
- Bump to 2.10.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
* Thu Dec 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
- 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
   110
* Wed Oct 04 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
- Bump to 2.10.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
* Tue Oct 03 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
- Bump to 2.10.2.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
* Sat Sep  9 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- 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
   116
* Tue Sep 05 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
- Bump to 2.10.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Bump to 2.9.6 really
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Tue Aug 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Bump to 2.9.6.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
* Tue Aug 08 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- Bump to 2.9.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
* Mon Aug 07 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Bump to 2.9.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
* Fri Jul 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- Bump to 2.9.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Tue Apr  4 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Bump to 2.9.0.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
* Fri Mar 31 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Bump to 2.8.5.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
* Wed Feb 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Disable optimizations on x86 to workaround compiler bug 6382078.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
* Sun Jan 15 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- Bump to 2.8.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
* Tue Dec 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
- Bump to 2.8.2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
- 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
   140
  Solaris pkg as gnome-python
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
- move from site-packages to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
* Tue Sep 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- Bump to 2.7.4.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
* Thu Aug 25 2005 [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
- 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
   146
* Tue Aug 16 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
- Bump to 2.7.3.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
* Mon Aug 04 2003 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
- Initial Sun release