annotate Misc/RPM/python-2.6.spec @ 54294:dba767bc3155 legacy-trunk

remove mention of old ctypes version
author Benjamin Peterson <benjamin@python.org>
date Sat, 23 May 2009 20:59:09 +0000
parents 58a9884d2bc3
children cabf303e787a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
1 ##########################
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
2 # User-modifiable configs
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
3 ##########################
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
4
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
5 # Is the resulting package and the installed binary named "python" or
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
6 # "python2"?
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
7 #WARNING: Commenting out doesn't work. Last line is what's used.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
8 %define config_binsuffix none
39566
b87fe11fb7e2 RPM specfile updates
Anthony Baxter <anthonybaxter@gmail.com>
parents: 39510
diff changeset
9 %define config_binsuffix 2.6
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
10
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
11 # Build tkinter? "auto" enables it if /usr/bin/wish exists.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
12 #WARNING: Commenting out doesn't work. Last line is what's used.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
13 %define config_tkinter no
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
14 %define config_tkinter yes
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
15 %define config_tkinter auto
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
16
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
17 # Use pymalloc? The last line (commented or not) determines wether
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
18 # pymalloc is used.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
19 #WARNING: Commenting out doesn't work. Last line is what's used.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
20 %define config_pymalloc no
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
21 %define config_pymalloc yes
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
22
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
23 # Enable IPV6?
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
24 #WARNING: Commenting out doesn't work. Last line is what's used.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
25 %define config_ipv6 yes
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
26 %define config_ipv6 no
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
27
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
28 # Location of the HTML directory.
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
29 %define config_htmldir /var/www/html/python
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
30
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
31 #################################
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
32 # End of user-modifiable configs
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
33 #################################
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
34
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
35 %define name python
46267
eec144917a18 Updating for 2.6a2
Barry Warsaw <barry@python.org>
parents: 39566
diff changeset
36 #--start constants--
49365
58a9884d2bc3 Bumping to 2.6 final.
Barry Warsaw <barry@python.org>
parents: 49225
diff changeset
37 %define version 2.6
46267
eec144917a18 Updating for 2.6a2
Barry Warsaw <barry@python.org>
parents: 39566
diff changeset
38 %define libver 2.6
eec144917a18 Updating for 2.6a2
Barry Warsaw <barry@python.org>
parents: 39566
diff changeset
39 #--end constants--
37431
a8cd905fd96c preparation for 2.5a1
Anthony Baxter <anthonybaxter@gmail.com>
parents: 34208
diff changeset
40 %define release 1pydotorg
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
41 %define __prefix /usr
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
42
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
43 # kludge to get around rpm <percent>define weirdness
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
44 %define ipv6 %(if [ "%{config_ipv6}" = yes ]; then echo --enable-ipv6; else echo --disable-ipv6; fi)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
45 %define pymalloc %(if [ "%{config_pymalloc}" = yes ]; then echo --with-pymalloc; else echo --without-pymalloc; fi)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
46 %define binsuffix %(if [ "%{config_binsuffix}" = none ]; then echo ; else echo "%{config_binsuffix}"; fi)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
47 %define include_tkinter %(if [ \\( "%{config_tkinter}" = auto -a -f /usr/bin/wish \\) -o "%{config_tkinter}" = yes ]; then echo 1; else echo 0; fi)
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
48 %define libdirname %(( uname -m | egrep -q '_64$' && [ -d /usr/lib64 ] && echo lib64 ) || echo lib)
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
49
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
50 # detect if documentation is available
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
51 %define include_docs %(if [ -f "%{_sourcedir}/html-%{version}.tar.bz2" ]; then echo 1; else echo 0; fi)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
52
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
53 Summary: An interpreted, interactive, object-oriented programming language.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
54 Name: %{name}%{binsuffix}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
55 Version: %{version}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
56 Release: %{release}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
57 Copyright: Modified CNRI Open Source License
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
58 Group: Development/Languages
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
59 Source: Python-%{version}.tar.bz2
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
60 %if %{include_docs}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
61 Source1: html-%{version}.tar.bz2
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
62 %endif
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
63 BuildRoot: %{_tmppath}/%{name}-%{version}-root
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
64 BuildPrereq: expat-devel
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
65 BuildPrereq: db4-devel
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
66 BuildPrereq: gdbm-devel
37431
a8cd905fd96c preparation for 2.5a1
Anthony Baxter <anthonybaxter@gmail.com>
parents: 34208
diff changeset
67 BuildPrereq: sqlite-devel
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
68 Prefix: %{__prefix}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
69 Packager: Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
70
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
71 %description
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
72 Python is an interpreted, interactive, object-oriented programming
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
73 language. It incorporates modules, exceptions, dynamic typing, very high
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
74 level dynamic data types, and classes. Python combines remarkable power
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
75 with very clear syntax. It has interfaces to many system calls and
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
76 libraries, as well as to various window systems, and is extensible in C or
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
77 C++. It is also usable as an extension language for applications that need
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
78 a programmable interface. Finally, Python is portable: it runs on many
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
79 brands of UNIX, on PCs under Windows, MS-DOS, and OS/2, and on the
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
80 Mac.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
81
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
82 %package devel
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
83 Summary: The libraries and header files needed for Python extension development.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
84 Prereq: python%{binsuffix} = %{PACKAGE_VERSION}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
85 Group: Development/Libraries
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
86
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
87 %description devel
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
88 The Python programming language's interpreter can be extended with
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
89 dynamically loaded extensions and can be embedded in other programs.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
90 This package contains the header files and libraries needed to do
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
91 these types of tasks.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
92
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
93 Install python-devel if you want to develop Python extensions. The
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
94 python package will also need to be installed. You'll probably also
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
95 want to install the python-docs package, which contains Python
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
96 documentation.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
97
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
98 %if %{include_tkinter}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
99 %package tkinter
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
100 Summary: A graphical user interface for the Python scripting language.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
101 Group: Development/Languages
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
102 Prereq: python%{binsuffix} = %{PACKAGE_VERSION}-%{release}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
103
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
104 %description tkinter
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
105 The Tkinter (Tk interface) program is an graphical user interface for
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
106 the Python scripting language.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
107
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
108 You should install the tkinter package if you'd like to use a graphical
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
109 user interface for Python programming.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
110 %endif
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
111
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
112 %package tools
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
113 Summary: A collection of development tools included with Python.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
114 Group: Development/Tools
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
115 Prereq: python%{binsuffix} = %{PACKAGE_VERSION}-%{release}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
116
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
117 %description tools
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
118 The Python package includes several development tools that are used
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
119 to build python programs. This package contains a selection of those
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
120 tools, including the IDLE Python IDE.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
121
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
122 Install python-tools if you want to use these tools to develop
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
123 Python programs. You will also need to install the python and
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
124 tkinter packages.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
125
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
126 %if %{include_docs}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
127 %package docs
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
128 Summary: Python-related documentation.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
129 Group: Development/Documentation
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
130
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
131 %description docs
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
132 Documentation relating to the Python programming language in HTML and info
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
133 formats.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
134 %endif
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
135
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
136 %changelog
34208
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
137 * Mon Dec 20 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.4-2pydotorg]
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
138 - Changing the idle wrapper so that it passes arguments to idle.
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
139
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
140 * Tue Oct 19 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.4b1-1pydotorg]
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
141 - Updating to 2.4.
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
142
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
143 * Thu Jul 22 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.4-3pydotorg]
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
144 - Paul Tiemann fixes for %{prefix}.
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
145 - Adding permission changes for directory as suggested by reimeika.ca
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
146 - Adding code to detect when it should be using lib64.
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
147 - Adding a define for the location of /var/www/html for docs.
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
148
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
149 * Thu May 27 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.4-2pydotorg]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
150 - Including changes from Ian Holsman to build under Red Hat 7.3.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
151 - Fixing some problems with the /usr/local path change.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
152
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
153 * Sat Mar 27 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.2-3pydotorg]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
154 - Being more agressive about finding the paths to fix for
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
155 #!/usr/local/bin/python.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
156
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
157 * Sat Feb 07 2004 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.3-2pydotorg]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
158 - Adding code to remove "#!/usr/local/bin/python" from particular files and
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
159 causing the RPM build to terminate if there are any unexpected files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
160 which have that line in them.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
161
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
162 * Mon Oct 13 2003 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.2-1pydotorg]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
163 - Adding code to detect wether documentation is available to build.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
164
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
165 * Fri Sep 19 2003 Sean Reifschneider <jafo-rpms@tummy.com> [2.3.1-1pydotorg]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
166 - Updating to the 2.3.1 release.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
167
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
168 * Mon Feb 24 2003 Sean Reifschneider <jafo-rpms@tummy.com> [2.3b1-1pydotorg]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
169 - Updating to 2.3b1 release.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
170
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
171 * Mon Feb 17 2003 Sean Reifschneider <jafo-rpms@tummy.com> [2.3a1-1]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
172 - Updating to 2.3 release.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
173
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
174 * Sun Dec 23 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
175 [Release 2.2-2]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
176 - Added -docs package.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
177 - Added "auto" config_tkinter setting which only enables tk if
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
178 /usr/bin/wish exists.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
179
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
180 * Sat Dec 22 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
181 [Release 2.2-1]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
182 - Updated to 2.2.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
183 - Changed the extension to "2" from "2.2".
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
184
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
185 * Tue Nov 18 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
186 [Release 2.2c1-1]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
187 - Updated to 2.2c1.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
188
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
189 * Thu Nov 1 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
190 [Release 2.2b1-3]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
191 - Changed the way the sed for fixing the #! in pydoc works.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
192
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
193 * Wed Oct 24 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
194 [Release 2.2b1-2]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
195 - Fixed missing "email" package, thanks to anonymous report on sourceforge.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
196 - Fixed missing "compiler" package.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
197
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
198 * Mon Oct 22 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
199 [Release 2.2b1-1]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
200 - Updated to 2.2b1.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
201
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
202 * Mon Oct 9 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
203 [Release 2.2a4-4]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
204 - otto@balinor.mat.unimi.it mentioned that the license file is missing.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
205
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
206 * Sun Sep 30 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
207 [Release 2.2a4-3]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
208 - Ignacio Vazquez-Abrams pointed out that I had a spruious double-quote in
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
209 the spec files. Thanks.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
210
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
211 * Wed Jul 25 2001 Sean Reifschneider <jafo-rpms@tummy.com>
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
212 [Release 2.2a1-1]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
213 - Updated to 2.2a1 release.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
214 - Changed idle and pydoc to use binsuffix macro
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
215
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
216 #######
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
217 # PREP
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
218 #######
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
219 %prep
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
220 %setup -n Python-%{version}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
221
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
222 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
223 # BUILD
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
224 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
225 %build
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
226 ./configure --enable-unicode=ucs4 %{ipv6} %{pymalloc} --prefix=%{__prefix}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
227 make
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
228
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
229 ##########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
230 # INSTALL
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
231 ##########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
232 %install
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
233 # set the install path
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
234 echo '[install_scripts]' >setup.cfg
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
235 echo 'install_dir='"${RPM_BUILD_ROOT}%{__prefix}/bin" >>setup.cfg
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
236
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
237 [ -d "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
238 mkdir -p $RPM_BUILD_ROOT%{__prefix}/%{libdirname}/python%{libvers}/lib-dynload
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
239 make prefix=$RPM_BUILD_ROOT%{__prefix} install
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
240
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
241 # REPLACE PATH IN PYDOC
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
242 if [ ! -z "%{binsuffix}" ]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
243 then
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
244 (
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
245 cd $RPM_BUILD_ROOT%{__prefix}/bin
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
246 mv pydoc pydoc.old
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
247 sed 's|#!.*|#!%{__prefix}/bin/env python'%{binsuffix}'|' \
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
248 pydoc.old >pydoc
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
249 chmod 755 pydoc
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
250 rm -f pydoc.old
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
251 )
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
252 fi
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
253
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
254 # add the binsuffix
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
255 if [ ! -z "%{binsuffix}" ]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
256 then
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
257 ( cd $RPM_BUILD_ROOT%{__prefix}/bin; rm -f python[0-9a-zA-Z]*;
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
258 mv -f python python"%{binsuffix}" )
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
259 ( cd $RPM_BUILD_ROOT%{__prefix}/man/man1; mv python.1 python%{binsuffix}.1 )
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
260 ( cd $RPM_BUILD_ROOT%{__prefix}/bin; mv -f pydoc pydoc"%{binsuffix}" )
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
261 ( cd $RPM_BUILD_ROOT%{__prefix}/bin; mv -f idle idle"%{binsuffix}" )
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
262 fi
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
263
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
264 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
265 # Tools
34208
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
266 echo '#!%{__prefix}/bin/env python%{binsuffix}' >${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
267 echo 'import os, sys' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
268 echo 'os.execvp("%{__prefix}/bin/python%{binsuffix}", ["%{__prefix}/bin/python%{binsuffix}", "%{__prefix}/lib/python%{libvers}/idlelib/idle.py"] + sys.argv[1:])' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
269 echo 'print "Failed to exec Idle"' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
7c413d3a40a5 Changing the idle wrapper to use Python and execvp() to pass arguments to
Sean Reifschneider <jafo@tummy.com>
parents: 34035
diff changeset
270 echo 'sys.exit(1)' >>${RPM_BUILD_ROOT}%{__prefix}/bin/idle%{binsuffix}
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
271 chmod 755 $RPM_BUILD_ROOT%{__prefix}/bin/idle%{binsuffix}
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
272 cp -a Tools $RPM_BUILD_ROOT%{__prefix}/%{libdirname}/python%{libvers}
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
273
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
274 # MAKE FILE LISTS
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
275 rm -f mainpkg.files
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
276 find "$RPM_BUILD_ROOT""%{__prefix}"/%{libdirname}/python%{libvers}/lib-dynload -type f |
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
277 sed "s|^${RPM_BUILD_ROOT}|/|" |
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
278 grep -v -e '_tkinter.so$' >mainpkg.files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
279 find "$RPM_BUILD_ROOT""%{__prefix}"/bin -type f |
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
280 sed "s|^${RPM_BUILD_ROOT}|/|" |
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
281 grep -v -e '/bin/idle%{binsuffix}$' >>mainpkg.files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
282
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
283 rm -f tools.files
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
284 find "$RPM_BUILD_ROOT""%{__prefix}"/%{libdirname}/python%{libvers}/idlelib \
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
285 "$RPM_BUILD_ROOT""%{__prefix}"/%{libdirname}/python%{libvers}/Tools -type f |
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
286 sed "s|^${RPM_BUILD_ROOT}|/|" >tools.files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
287 echo "%{__prefix}"/bin/idle%{binsuffix} >>tools.files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
288
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
289 ######
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
290 # Docs
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
291 %if %{include_docs}
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
292 mkdir -p "$RPM_BUILD_ROOT"%{config_htmldir}
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
293 (
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
294 cd "$RPM_BUILD_ROOT"%{config_htmldir}
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
295 bunzip2 < %{SOURCE1} | tar x
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
296 )
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
297 %endif
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
298
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
299 # fix the #! line in installed files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
300 find "$RPM_BUILD_ROOT" -type f -print0 |
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
301 xargs -0 grep -l /usr/local/bin/python | while read file
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
302 do
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
303 FIXFILE="$file"
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
304 sed 's|^#!.*python|#!%{__prefix}/bin/env python'"%{binsuffix}"'|' \
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
305 "$FIXFILE" >/tmp/fix-python-path.$$
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
306 cat /tmp/fix-python-path.$$ >"$FIXFILE"
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
307 rm -f /tmp/fix-python-path.$$
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
308 done
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
309
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
310 # check to see if there are any straggling #! lines
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
311 find "$RPM_BUILD_ROOT" -type f | xargs egrep -n '^#! */usr/local/bin/python' \
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
312 | grep ':1:#!' >/tmp/python-rpm-files.$$ || true
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
313 if [ -s /tmp/python-rpm-files.$$ ]
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
314 then
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
315 echo '*****************************************************'
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
316 cat /tmp/python-rpm-files.$$
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
317 cat <<@EOF
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
318 *****************************************************
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
319 There are still files referencing /usr/local/bin/python in the
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
320 install directory. They are listed above. Please fix the .spec
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
321 file and try again. If you are an end-user, you probably want
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
322 to report this to jafo-rpms@tummy.com as well.
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
323 *****************************************************
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
324 @EOF
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
325 rm -f /tmp/python-rpm-files.$$
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
326 exit 1
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
327 fi
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
328 rm -f /tmp/python-rpm-files.$$
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
329
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
330 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
331 # CLEAN
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
332 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
333 %clean
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
334 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
335 rm -f mainpkg.files tools.files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
336
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
337 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
338 # FILES
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
339 ########
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
340 %files -f mainpkg.files
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
341 %defattr(-,root,root)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
342 %doc Misc/README Misc/cheatsheet Misc/Porting
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
343 %doc LICENSE Misc/ACKS Misc/HISTORY Misc/NEWS
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
344 %{__prefix}/man/man1/python%{binsuffix}.1*
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
345
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
346 %attr(755,root,root) %dir %{__prefix}/include/python%{libvers}
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
347 %attr(755,root,root) %dir %{__prefix}/%{libdirname}/python%{libvers}/
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
348 %{__prefix}/%{libdirname}/python%{libvers}/*.txt
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
349 %{__prefix}/%{libdirname}/python%{libvers}/*.py*
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
350 %{__prefix}/%{libdirname}/python%{libvers}/pdb.doc
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
351 %{__prefix}/%{libdirname}/python%{libvers}/profile.doc
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
352 %{__prefix}/%{libdirname}/python%{libvers}/curses
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
353 %{__prefix}/%{libdirname}/python%{libvers}/distutils
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
354 %{__prefix}/%{libdirname}/python%{libvers}/encodings
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
355 %{__prefix}/%{libdirname}/python%{libvers}/plat-linux2
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
356 %{__prefix}/%{libdirname}/python%{libvers}/site-packages
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
357 %{__prefix}/%{libdirname}/python%{libvers}/test
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
358 %{__prefix}/%{libdirname}/python%{libvers}/xml
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
359 %{__prefix}/%{libdirname}/python%{libvers}/email
37431
a8cd905fd96c preparation for 2.5a1
Anthony Baxter <anthonybaxter@gmail.com>
parents: 34208
diff changeset
360 %{__prefix}/%{libdirname}/python%{libvers}/email/mime
a8cd905fd96c preparation for 2.5a1
Anthony Baxter <anthonybaxter@gmail.com>
parents: 34208
diff changeset
361 %{__prefix}/%{libdirname}/python%{libvers}/sqlite3
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
362 %{__prefix}/%{libdirname}/python%{libvers}/compiler
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
363 %{__prefix}/%{libdirname}/python%{libvers}/bsddb
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
364 %{__prefix}/%{libdirname}/python%{libvers}/hotshot
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
365 %{__prefix}/%{libdirname}/python%{libvers}/logging
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
366 %{__prefix}/%{libdirname}/python%{libvers}/lib-old
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
367
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
368 %files devel
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
369 %defattr(-,root,root)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
370 %{__prefix}/include/python%{libvers}/*.h
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
371 %{__prefix}/%{libdirname}/python%{libvers}/config
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
372
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
373 %files -f tools.files tools
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
374 %defattr(-,root,root)
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
375
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
376 %if %{include_tkinter}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
377 %files tkinter
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
378 %defattr(-,root,root)
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
379 %{__prefix}/%{libdirname}/python%{libvers}/lib-tk
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
380 %{__prefix}/%{libdirname}/python%{libvers}/lib-dynload/_tkinter.so*
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
381 %endif
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
382
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
383 %if %{include_docs}
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
384 %files docs
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
385 %defattr(-,root,root)
33816
b0f0c57b1e05 Latest version for beta 1.
Sean Reifschneider <jafo@tummy.com>
parents: 33767
diff changeset
386 %{config_htmldir}/*
32168
60ef1db10cef Copy from python-2.3.spec. Incorporate patch #961465:
Martin v. Löwis <martin@v.loewis.de>
parents:
diff changeset
387 %endif