]> git.pld-linux.org Git - packages/python.git/blob - python.spec
- up to 2.7.4
[packages/python.git] / python.spec
1 #
2 # TODO
3 # - test_distutils fails for unknown reason: (does it still do with new lib64 patch?)
4 #   AssertionError: '/tmp/tmpaomC0l/installation/share/python' != '/tmp/tmpaomC0l/installation/lib/python'
5 # - test_pydoc fails because of PYTHONPATH override
6 # - change searchpath order so /usr/lib* is before /usr/share
7 # - kill lib-tk from searchpath
8 # - kill BR: file requirement from lib64 patch
9 # - security(CVE-2008-4108)
10 #   http://securitytracker.com/alerts/2008/Sep/1020904.html
11 #
12 # Conditional build:
13 %bcond_with     info                    # build info pages (requires emacs, fails in python-2.5.0)
14 %bcond_without  tkinter                 # disables tkinter module building
15 %bcond_without  tests                   # disables Python testing
16 %bcond_with     verbose_tests           # runs tests in verbose mode
17 %bcond_with     openssl097
18 #
19 # tests which will not work on 64-bit platforms
20 %define         no64bit_tests   test_audioop test_rgbimg test_imageop
21 # tests which may fail because of builder environment limitations (no /proc or /dev/pts)
22 %define         nobuilder_tests test_resource test_openpty test_socket test_nis test_posix test_locale test_pty test_urllib2
23 # tests which fail because of some unknown/unresolved reason (this list should be empty)
24 %define         broken_tests test_anydbm test_bsddb test_re test_shelve test_whichdb test_zipimport test_distutils test_pydoc test_file test_file2k test_gdb test_ioctl
25
26 %define beta            %{nil}
27
28 %define py_ver          2.7
29 %define py_prefix       %{_prefix}
30 %define py_libdir       %{py_prefix}/%{_lib}/python%{py_ver}
31 %define py_incdir       %{_includedir}/python%{py_ver}
32 %define py_sitedir      %{py_libdir}/site-packages
33 %define py_dyndir       %{py_libdir}/lib-dynload
34
35 %define dver %{version}
36 Summary:        Very high level scripting language with X interface
37 Summary(es.UTF-8):      Lenguaje script de alto nivel con interfaz X
38 Summary(fr.UTF-8):      Langage de script de très haut niveau avec interface X
39 Summary(pl.UTF-8):      Python - język obiektowy wysokiego poziomu
40 Summary(pt_BR.UTF-8):   Linguagem de programação interpretada de alto nível
41 Summary(ru.UTF-8):      Язык программирования очень высокого уровня с X-интерфейсом
42 Summary(tr.UTF-8):      X arayüzlü, yüksek düzeyli, kabuk yorumlayıcı dili
43 Summary(uk.UTF-8):      Мова програмування дуже високого рівня з X-інтерфейсом
44 Name:           python
45 Version:        %{py_ver}.4
46 Release:        1
47 Epoch:          1
48 License:        PSF
49 Group:          Development/Languages/Python
50 Source0:        http://www.python.org/ftp/python/%{version}/Python-%{version}%{beta}.tar.bz2
51 # Source0-md5:  62704ea0f125923208d84ff0568f7d50
52 Source1:        http://www.python.org/ftp/python/doc/%{dver}/%{name}-%{dver}-docs-html.tar.bz2
53 # Source1-md5:  45be073ad81e1b2f6ad1fa25132f60c6
54 Patch0:         %{name}-db.patch
55 Patch1:         %{name}-pythonpath.patch
56 Patch2:         %{name}-ac_fixes.patch
57 Patch3:         %{name}-lib64.patch
58 Patch4:         %{name}-noarch_to_datadir.patch
59 Patch5:         %{name}-verbose.patch
60 URL:            http://www.python.org/
61 BuildRequires:  autoconf >= 2.65
62 BuildRequires:  automake
63 BuildRequires:  bluez-libs-devel
64 BuildRequires:  bzip2-devel
65 BuildRequires:  db-devel >= 4
66 %{?with_info:BuildRequires:     emacs >= 21}
67 BuildRequires:  expat-devel >= 1:1.95.7
68 BuildRequires:  file
69 BuildRequires:  gdbm-devel >= 1.8.3
70 BuildRequires:  gmp-devel >= 4.0
71 BuildRequires:  libstdc++-devel
72 BuildRequires:  ncurses-ext-devel >= 5.2
73 BuildRequires:  pkgconfig
74 %if %{with openssl097}
75 BuildRequires:  openssl-devel < 0.9.8
76 %else
77 BuildRequires:  openssl-devel >= 0.9.8
78 %endif
79 BuildRequires:  readline-devel >= 5.0
80 BuildRequires:  rpm-pythonprov
81 BuildRequires:  sed >= 4.0
82 BuildRequires:  sqlite3-devel >= 3.3.5
83 %{?with_info:BuildRequires:     tetex-makeindex}
84 #%{?with_tkinter:BuildRequires: tix-devel >= 1:8.1.4-4}
85 %{?with_tkinter:BuildRequires:  tk-devel >= 8.4.3}
86 BuildRequires:  zlib-devel
87 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
88 Obsoletes:      python2
89 Conflicts:      bzr < 1.8
90 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91
92 %if %{with verbose_tests}
93 %define test_flags -v -l -x
94 %else
95 %define test_flags -w -l -x
96 %endif
97
98 %ifarch alpha ia64 ppc64 ppc64 %{x8664}
99 %define test_list %{nobuilder_tests} %{broken_tests} %{no64bit_tests}
100 %else
101 %define test_list %{nobuilder_tests} %{broken_tests}
102 %endif
103
104 %ifarch sparc sparcv9
105 %define test_list %{nobuilder_tests} %{broken_tests} test_fcntl test_ioctl
106 %endif
107
108 %ifarch sparc64
109 %define test_list %{nobuilder_tests} %{broken_tests} %{no64bit_tests} test_fcntl test_ioctl
110 %endif
111
112 %description
113 Python is an interpreted, interactive, object-oriented programming
114 language. It incorporates modules, exceptions, dynamic typing, very
115 high level dynamic data types, and classes. Python combines remarkable
116 power with very clear syntax. It has interfaces to many system calls
117 and libraries, as well as to various window systems, and is extensible
118 in C or C++. It is also usable as an extension language for
119 applications that need a programmable interface. Finally, Python is
120 portable: it runs on many brands of UNIX, on the Mac, and on PCs under
121 MS-DOS, Windows, Windows NT, and OS/2.
122
123 This package contains the Python binary.
124
125 %description -l de.UTF-8
126 Python ist eine interpretierte, interaktive, objektorientierte
127 Programmiersprache, vergleichbar zu Tcl, Perl, Scheme oder Java.
128 Python enthält Module, Klassen, Exceptions, High-Level dynamische
129 Datentypen und dynamisches Typisieren. Python unterstützt Interfaces
130 zu vielen Systemaufrufen und Libraries, sowie verschiedene
131 Fenstersysteme (X11, Motif, Tk, Mac und MFC)
132
133 Programmierer können neue built-in-Module für Python in C oder C++
134 schreiben. Python kann auch als Erweiterungssprache für Applikationen
135 benutzt werden, die ein programmierbares Interface brauchen. Dieses
136 Paket enthält die meisten Standard-Python-Module, und Module zum
137 Ansprechen von Tix (Tk-widget set) und RPM.
138
139 %description -l es.UTF-8
140 Python es un lenguaje de scripts interpretado orientado a objetos.
141 Contiene soporte para carga dinámica de objetos, clases, módulos y
142 excepciones.
143
144 Es sencillo adicionar interfaces para nuevos sistemas de biblioteca a
145 través de código C, tornando Python fácil de usar en ambientes
146 particulares/personalizados. Este paquete Python incluye la mayoría de
147 los módulos padrón Python, junto con módulos para crear interfaces
148 para el conjunto de componentes Tix para Tk y RPM.
149
150 %description -l fr.UTF-8
151 Python est un langage de script interprété et orienté objet. Il gère
152 le chargement dynamique des objets, les classes, les modules et les
153 exceptions. L'ajout d'interfaces aux nouvelles bibliothèques systèmes
154 avec du code C est simple, ce qui rend Python facile à utiliser dans
155 des configs personnalisées.
156
157 Ce paquetage Python contient la plupart des modules Python standards,
158 ainsi que ceux permettant l'interfaçage avec les widgets Tix pour Tk
159 et RPM.
160
161 %description -l pl.UTF-8
162 Python jest interpretowanym, interaktywnym i zorientowanym obiektowo
163 językiem programowania. Jest modularny, obsługuje wyjątki, dynamiczne
164 typy, zaawansowane dynamiczne struktury danych i klasy. Python łączy w
165 sobie duże możliwości i przejrzystą składnię. Posiada interfejsy do
166 wielu wywołań systemowych i bibliotek, w tym również do różnych
167 bibliotek okienkowych. Możliwości jego można jeszcze rozszerzać
168 poprzez odpowiednie moduły pisane w C lub C++. Python może być również
169 użyty jako element aplikacji, którym potrzebny jest interpreter do
170 skryptów. I wreszcie, Python jest wieloplatformowy, działa na wielu
171 odmianach UNIX-a, Macu oraz PC pod DOS-em, Windows, WindowsNT oraz
172 OS/2.
173
174 Ten pakiet zawiera binarkę Pythona.
175
176 %description -l pt_BR.UTF-8
177 Python é uma linguagem de scripts interpretada orientada a objetos.
178 Contém suporte para carga dinâmica de objetos, classes, módulos e
179 exceções. Adicionar interfaces para novos sistemas de biblioteca
180 através de código C é simples, tornando Python fácil de usar em
181 ambientes particulares/personalizados.
182
183 Este pacote Python inclui a maioria do módulos padrão Python, junto
184 com módulos para interfaceamento para o conjunto de componentes Tix
185 para Tk e RPM.
186
187 %description -l ru.UTF-8
188 Python - это интерпретируемый, объектно-ориентированный язык
189 программирования. Он поддерживает динамическую загрузку объектов,
190 классы, модули и обработку исключительных ситуаций (exceptions).
191 Простота добавления интерфейсов к новым системным библиотекам через
192 код на языке C делает Python хорошим выбором для использования в
193 специальных конфигурациях.
194
195 %description -l tr.UTF-8
196 Python, nesneye yönelik bir kabuk yorumlayıcıdır. Nesnelerin,
197 sınıfların, modüllerin ve aykırı durumların dinamik yüklenmelerine
198 destek verir. C koduyla birlikte kullanımı son derece kolaydır. Bu
199 paket, standart Python birimlerinin çoğunun yanısıra Tk ve RPM için
200 arayüz birimlerini de içerir.
201
202 %description -l uk.UTF-8
203 Python - це інтерпретована, об'єктно-орієнтована мова програмування.
204 Він підтримує динамічну загрузку об'єктів, класи, модулі та обробку
205 виключних ситуацій (exceptions). Простота додавання інтерфейсів для
206 нових системних бібліотек через код на мові C робить Python добрим
207 вибором для використання в спеціальних конфігураціях.
208
209 %package libs
210 Summary:        Python library
211 Summary(pl.UTF-8):      Biblioteka języka Python
212 Group:          Libraries/Python
213 # broken detection in rpm/pythondeps.sh
214 Provides:       python(abi) = %{py_ver}
215 # for compatibility with existing Ac packages
216 Provides:       python(bytecode) = %{py_ver}
217 %{!?with_info:Obsoletes:        python-doc-info}
218 Obsoletes:      python-intl
219
220 %description libs
221 Python shared library and very essental modules for Python binary.
222
223 %description libs -l pl.UTF-8
224 Biblioteka współdzielona języka Python oraz bardzo podstawowe moduły
225 dla Pythona.
226
227 %package modules
228 Summary:        Python modules
229 Summary(pl.UTF-8):      Moduły języka Python
230 Group:          Libraries/Python
231 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
232 Provides:       python-argparse = 1.1
233 Provides:       python-cElementTree
234 Provides:       python-elementtree
235 Provides:       pythonegg(argparse) = 1.1
236 Obsoletes:      python-argparse < 1.1.99
237 Obsoletes:      python-cElementTree
238 Obsoletes:      python-ctypes
239 Obsoletes:      python-curses
240 Obsoletes:      python-elementtree
241 Obsoletes:      python-gdbm
242 Obsoletes:      python-hashlib
243 Obsoletes:      python-logging
244 Obsoletes:      python-old
245 Obsoletes:      python-optik
246 Obsoletes:      python-ssl
247 Obsoletes:      python-xml
248 Obsoletes:      python-xmlrpc <= 1.0.1
249 Obsoletes:      python-zlib
250
251 %description modules
252 Python officially distributed modules.
253
254 %description modules -l pl.UTF-8
255 Oficjalnie rozprowadzane moduły języka Python.
256
257 %package modules-sqlite
258 Summary:        Python SQLite modules
259 Summary(pl.UTF-8):      Moduły SQLite języka Python
260 Group:          Libraries/Python
261 Requires:       %{name}-modules = %{epoch}:%{version}-%{release}
262 Provides:       python(sqlite)
263
264 %description modules-sqlite
265 Python officially distributed sqlite module.
266
267 %description modules-sqlite -l pl.UTF-8
268 Oficjalnie rozprowadzany moduł sqlite języka Python.
269
270 %package -n pydoc
271 Summary:        Python interactive module documentation access support
272 Summary(pl.UTF-8):      Interaktywne korzystanie z dokumentacji modułów języka Python
273 Group:          Applications
274 Requires:       %{name}-modules = %{epoch}:%{version}-%{release}
275 Obsoletes:      python-pydoc
276
277 %description -n pydoc
278 Python interactive module documentation access support.
279
280 %description -n pydoc -l pl.UTF-8
281 Interaktywne korzystanie z dokumentacji modułów języka Python.
282
283 %package -n idle
284 Summary:        IDE for Python language
285 Summary(pl.UTF-8):      IDE dla języka Python
286 Group:          Applications/Editors
287 Requires:       %{name}-tkinter = %{epoch}:%{version}-%{release}
288 Obsoletes:      python-idle
289
290 %description -n idle
291 IDE for Python language.
292
293 %description -n idle -l pl.UTF-8
294 IDE dla języka Python.
295
296 %package devel
297 Summary:        Libraries and header files for building python code
298 Summary(de.UTF-8):      Libraries und Header-Dateien zum Erstellen von Python-Code
299 Summary(es.UTF-8):      Bibliotecas y archivos de inclusión para construir programas en python
300 Summary(fr.UTF-8):      Bibliothèques et en-têtes pour construire du code python
301 Summary(pl.UTF-8):      Pliki nagłówkowe i biblioteki Pythona
302 Summary(pt_BR.UTF-8):   Bibliotecas e arquivos de inclusão para o Python
303 Summary(ru.UTF-8):      Библиотеки и хедеры для построения кода на языке Python
304 Summary(tr.UTF-8):      Python ile geliştirme yapmak için gerekli dosyalar
305 Summary(uk.UTF-8):      Бібліотеки та хедери для програмування на мові Python
306 Group:          Development/Languages/Python
307 Requires:       %{name}-libs = %{epoch}:%{version}-%{release}
308 Obsoletes:      python2-devel
309
310 %description devel
311 The Python interpreter is relatively easy to extend with dynamically
312 loaded extensions and to embed in other programs. This package
313 contains the header files and libraries which are needed to do both of
314 these tasks.
315
316 %description devel -l de.UTF-8
317 Der Python-Interpretierer ist relativ einfach anhand von dynamisch
318 ladbaren Erweiterungen auszubauen und läßt sich in andere Programme
319 integrieren. Dieses Paket enthält die Header-Dateien und Libraries,
320 die für beide Aufgaben erforderlich sind.
321
322 %description devel -l es.UTF-8
323 El interpretador Python permite incluir con facilidad extensiones
324 cargadas dinámicamente. Python es también fácil de ser empotrado en
325 otros programas. Este paquete contiene los archivos de inclusión y
326 bibliotecas necesarios para estas dos tareas.
327
328 %description devel -l fr.UTF-8
329 L'interpréteur Python est relativement facile à étendre avec des
330 extensions chargées dynamiquement et à insérer dans d'autres
331 programmes. Ce paquetage contient les en-têtes et les bibliothèques
332 nécessaires à ces deux tâches.
333
334 %description devel -l pl.UTF-8
335 Interpreter Pythona jest w miarę łatwy do rozszerzania przy pomocy
336 dynamicznie ładowanych rozszerzeń napisanych w C lub C++ oraz
337 osadzania w innych programach. Ten pakiet zawiera pliki nagłówkowe i
338 wszystko inne co potrzebne do tych celów.
339
340 %description devel -l pt_BR.UTF-8
341 O interpretador Python permite incluir com facilidade extensões
342 carregadas dinamicamente. Python é também fácil de ser embutido em
343 outros programas. Este pacote contém os arquivos de inclusão e
344 bibliotecas necessários para estas duas tarefas.
345
346 %description devel -l ru.UTF-8
347 Интерпретатор Python относительно легко расширяется при помощи
348 динамически загружаемых расширений и встраивается в другие программы.
349 Этот пакет содержит хедеры и библиотеки, необходимые для обеих этих
350 задач.
351
352 %description devel -l tr.UTF-8
353 Bu paket, Python ile geliştirme yapılabilmesi için gerekli başlık
354 dosyalarını ve kitaplıkları içerir.
355
356 %description devel -l uk.UTF-8
357 Інтерпретатор Python відносно легко розширюється за допомогою
358 розширень з динамічною загрузкою та вбудовується в інші програми. Цей
359 пакет містить хедери та бібліотеки, необхідні для обох цих задач.
360
361 %package devel-src
362 Summary:        Python module sources
363 Summary(pl.UTF-8):      Pliki źródłowe modułów Pythona
364 Group:          Development/Languages/Python
365 Requires:       %{name}-modules = %{epoch}:%{version}-%{release}
366
367 %description devel-src
368 Python module sources.
369
370 %description devel-src -l pl.UTF-8
371 Pliki źródłowe modułów Pythona.
372
373 %package devel-tools
374 Summary:        Python development tools
375 Summary(pl.UTF-8):      Narzędzia programistyczne języka Python
376 Group:          Development/Languages/Python
377 Requires:       %{name}-modules = %{epoch}:%{version}-%{release}
378
379 %description devel-tools
380 Python development tools such as profilers and debugger.
381
382 %description devel-tools -l pl.UTF-8
383 Narzędzia programistyczne języka Python takie jak profiler oraz
384 debugger.
385
386 %package 2to3
387 Summary:        Automated Python 2 to 3 code translation
388 Summary(pl.UTF-8):      Automatyczne tłumaczenie kodu Pythona 2 na 3
389 Group:          Development/Languages/Python
390
391 %description 2to3
392 2to3 is a Python program that reads Python 2.x source code and applies
393 a series of fixers to transform it into valid Python 3.x code. The
394 standard library contains a rich set of fixers that will handle almost
395 all code. 2to3 supporting library lib2to3 is, however, a flexible and
396 generic library, so it is possible to write your own fixers for 2to3.
397 lib2to3 could also be adapted to custom applications in which Python
398 code needs to be edited automatically.
399
400 %description 2to3 -l pl.UTF-8
401 2to3 to program w Pythonie czytający od źródłowy w Pythonie 2.x i
402 aplikujący serię poprawek przekształcających go w poprawny kod w
403 Pythonie 3.x. Biblioteka standardowa zawiera duży zbiór poprawek
404 obsługujących większość kodu. Biblioteka wspierająca 2to3 (lib2to3)
405 jest jednak elastyczną i ogólną biblioteką, więc można pisać własne
406 poprawki dla 2to3. lib2to3 można także zaadaptować na potrzeby
407 własnych zastosowań, w których kod w Pythonie musi być modyfikowany
408 automatycznie.
409
410 %package static
411 Summary:        Static python library
412 Summary(pl.UTF-8):      Statyczna biblioteka Pythona
413 Group:          Development/Languages/Python
414 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
415
416 %description static
417 Static python library.
418
419 %description static -l pl.UTF-8
420 Statyczna biblioteka Pythona.
421
422 %package doc
423 Summary:        Documentation on Python
424 Summary(de.UTF-8):      Dokumentation zu Python
425 Summary(es.UTF-8):      Documentación para Python
426 Summary(fr.UTF-8):      Documentation sur Python
427 Summary(pl.UTF-8):      Dokumentacja do Pythona
428 Summary(pt_BR.UTF-8):   Documentação para a linguagem de programação Python
429 Summary(ru.UTF-8):      Документация по языку Python
430 Summary(tr.UTF-8):      Python belgeleri
431 Summary(uk.UTF-8):      Документація по мові Python
432 Group:          Documentation
433 Obsoletes:      python-docs
434
435 %description doc
436 This package contains documentation on the Python language and
437 interpretor as a mix of plain ASCII files and LaTeX sources.
438
439 %description doc -l de.UTF-8
440 Dieses Paket enthält Dokumentationen zu Python (Sprache und
441 Interpreter) in Form von einfachen ASCII-Dateien und LaTeX-Quellen.
442
443 %description doc -l es.UTF-8
444 Documentación para Python. Contiene archivos en texto y PostScript.
445
446 %description doc -l fr.UTF-8
447 Ce paquetage contient la documentation sur le langage python et sur
448 son interpréteur sous forme de fichiers ASCII et LaTeX.
449
450 %description doc -l pl.UTF-8
451 Oficjalna dokumentacja do Pythona. Zawiera przykładowe programy,
452 narzędzia i dokumentację. Strony podręcznika man znajdują się w
453 głównym pakiecie. Ten pakiet nie zawiera źródeł dokumentacji
454 napisanych w LaTeXu, tylko gotowe do wykorzystania pliki postscriptowe
455 i HTML.
456
457 %description doc -l pt_BR.UTF-8
458 O pacote python-doc contém documentação para a linguagem de
459 programação e para o interpretador Python. Fornecida em arquivos texto
460 e Postcript.
461
462 %description doc -l ru.UTF-8
463 Этот пакет содержит документацию по собственно языку Python и по
464 исполняющему его интерпретатору в виде набора текстовых файлов и
465 исходных текстов в формате LaTeX.
466
467 %description doc -l tr.UTF-8
468 Bu paket, Python dili ile ilgili belgeleri ve düz ASCII dosyaları ve
469 LaTeX kaynaklarının bir karışımı olan yorumlayıcıyı içerir.
470
471 %description doc -l uk.UTF-8
472 Цей пакет містить документацію по власне мові Python та по виконуючому
473 її інтерпретатору у вигляді набора текстових файлів та вихідних
474 текстів у форматі LaTeX.
475
476 %package doc-info
477 Summary:        Documentation on Python in texinfo format
478 Summary(pl.UTF-8):      Dokumentacja do Pythona w formacie texinfo
479 Group:          Documentation
480
481 %description doc-info
482 Documentation on Python in texinfo format.
483
484 %description doc-info -l pl.UTF-8
485 Dokumentacja do Pythona w formacie texinfo.
486
487 %package tkinter
488 Summary:        Standard Python interface to the Tk GUI toolkit
489 Summary(de.UTF-8):      Grafische Tk-Schnittstelle für Python
490 Summary(es.UTF-8):      Interfaz de GUI Tk para Python
491 Summary(fr.UTF-8):      Interface graphique Tk pour Python
492 Summary(pl.UTF-8):      Standardowy interfejs Pythona do biblioteki Tk
493 Summary(pt_BR.UTF-8):   Interface GUI Tk para Phyton
494 Summary(tr.UTF-8):      Python için grafik kullanıcı arayüzü
495 Group:          Libraries/Python
496 Requires:       %{name}-modules = %{epoch}:%{version}-%{release}
497 Requires:       tcl >= 8.4.3
498 Requires:       tix >= 1:8.1.4-4
499 Requires:       tk >= 8.4.3
500 Obsoletes:      tkinter
501
502 %description tkinter
503 Standard Python interface to the Tk GUI toolkit.
504
505 %description tkinter -l de.UTF-8
506 Eine grafische Schnittstelle für Python, basierend auf Tcl/Tk, und von
507 vielen Konfigurations-Tools genutzt.
508
509 %description tkinter -l es.UTF-8
510 Una interfaz gráfica para Python, basada en Tcl/Tk, y usada por muchas
511 herramientas de configuración.
512
513 %description tkinter -l fr.UTF-8
514 Interface graphique pour Python, basée sur Tcl/Tk et utilisée par
515 beaucoup des outils de configuration.
516
517 %description tkinter -l pl.UTF-8
518 Standardowy interfejs Pythona do biblioteki Tk.
519
520 %description tkinter -l pt_BR.UTF-8
521 Uma interface gráfica para Python, baseada em Tcl/Tk, e usada por
522 muitas ferramentas de configuração.
523
524 %description tkinter -l ru.UTF-8
525 Графический интерфейс (GUI) для Python, построенный на Tcl/Tk.
526
527 %description tkinter -l tr.UTF-8
528 Python için Tcl/Tk'ye dayalı ve pek çok ayarlama aracı tarafından
529 kullanılan grafik bir arayüzdür.
530
531 %description tkinter -l uk.UTF-8
532 Графічний інтерфейс (GUI) для Python, побудований на Tcl/Tk.
533
534 %package examples
535 Summary:        Example programs in Python
536 Summary(pl.UTF-8):      Przykładowe programy w Pythonie
537 Group:          Development/Languages/Python
538 Obsoletes:      python-tools
539
540 %description examples
541 Example programs in Python.
542
543 These are for Python 2.3.4, not %{version}.
544
545 %description examples -l pl.UTF-8
546 Przykładowe programy w Pythonie.
547
548 Przykłady te są dla Pythona 2.3.4, nie %{version}.
549
550 %prep
551 %setup -q -n Python-%{version}%{beta}
552 #%patch0 -p1
553 %patch1 -p1
554 %patch2 -p1
555 %patch3 -p1
556 %patch4 -p1
557 %patch5 -p1
558
559 tar xjf %{SOURCE1}
560
561 sed -i -e 's#db_setup_debug = False#db_setup_debug = True#g' setup.py
562
563 # remove if Lib/plat-linux3 exists
564 [ -d Lib/plat-linux3 ] && exit 1
565 cp -a Lib/plat-linux2 Lib/plat-linux3
566
567 %build
568 %{__aclocal}
569 %{__autoconf}
570 CPPFLAGS="-I/usr/include/ncursesw %{rpmcppflags}"; export CPPFLAGS
571 %configure \
572         ac_cv_posix_semaphores_enabled=yes \
573         ac_cv_broken_sem_getvalue=no \
574         --with-threads \
575         --with-cxx-main="%{__cxx}" \
576         --with-system-ffi \
577         --enable-ipv6 \
578         --enable-unicode=ucs4 \
579         --enable-shared \
580         --with-system-ffi \
581         --with-dbmliborder=gdbm:bdb \
582         LINKCC='$(PURIFY) $(CXX)' \
583         LDSHARED='$(CC) $(CFLAGS) -shared' \
584         BLDSHARED='$(CC) $(CFLAGS) -shared' \
585         LDFLAGS="%{rpmcflags} %{rpmldflags}"
586
587 %{__make} \
588         OPT="%{rpmcflags}" 2>&1 | awk '
589 BEGIN { fail = 0; logmsg = ""; }
590 {
591                 if ($0 ~ /\*\*\* WARNING:/) {
592                                 fail = 1;
593                                 logmsg = logmsg $0;
594                 }
595                 print $0;
596 }
597 END { if (fail) { print "\nPROBLEMS FOUND:"; print logmsg; exit(1); } }'
598
599 LC_ALL=C
600 export LC_ALL
601 %if %{with tests}
602 %{__make} -j1 test \
603         TESTOPTS="%{test_flags} %{test_list}" \
604         TESTPYTHON="LD_LIBRARY_PATH=`pwd` PYTHONHOME=`pwd` PYTHONPATH=`pwd`/Lib:`pwd`/Lib/lib-tk:`pwd`/build/lib.linux-`uname -m`-%{py_ver} ./python -tt"
605 %endif
606
607 %install
608 rm -rf $RPM_BUILD_ROOT
609 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} \
610         $RPM_BUILD_ROOT{%{py_sitedir},%{_mandir}/man1} \
611         $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \
612         $RPM_BUILD_ROOT%{_infodir} \
613         $RPM_BUILD_ROOT%{_docdir} \
614         $RPM_BUILD_ROOT/etc/shrc.d
615
616 %{__make} install \
617         DESTDIR=$RPM_BUILD_ROOT
618
619 # docs in constant location
620 ln -sf python-doc-%{version} $RPM_BUILD_ROOT%{_docdir}/python-doc
621
622 %if %{with info}
623 %{__make} -C Doc/info
624 install Doc/info/python*info* $RPM_BUILD_ROOT%{_infodir}
625 %endif
626
627 install Makefile.pre.in $RPM_BUILD_ROOT%{py_libdir}/config
628
629 mv $RPM_BUILD_ROOT{%{py_libdir}/config,%{_libdir}}/libpython%{py_ver}.a
630 ln -sf libpython%{py_ver}.a $RPM_BUILD_ROOT%{_libdir}/libpython.a
631 ln -sf libpython%{py_ver}.so.1.0 $RPM_BUILD_ROOT%{_libdir}/libpython.so
632 ln -sf libpython%{py_ver}.so.1.0 $RPM_BUILD_ROOT%{_libdir}/libpython%{py_ver}.so
633
634 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
635 cp -a Tools Demo $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
636
637 #
638 # create several useful aliases, such as timeit.py, profile.py, pdb.py, smtpd.py
639 #
640
641 # for python devel tools
642 for script in timeit profile pdb pstats; do
643     echo alias $script.py=\"python -m ${script}\"
644 done > $RPM_BUILD_ROOT/etc/shrc.d/python-devel.sh
645
646 sed 's/=/ /' \
647         < $RPM_BUILD_ROOT/etc/shrc.d/python-devel.sh \
648         > $RPM_BUILD_ROOT/etc/shrc.d/python-devel.csh
649
650 # for python modules
651 for script in smtpd webbrowser; do
652     echo alias $script.py=\"python -m ${script}\"
653 done > $RPM_BUILD_ROOT/etc/shrc.d/python-modules.sh
654
655 sed 's/=/ /' \
656         < $RPM_BUILD_ROOT/etc/shrc.d/python-modules.sh \
657         > $RPM_BUILD_ROOT/etc/shrc.d/python-modules.csh
658
659 # just to cut the noise, as they are not packaged (now)
660 # first tests
661 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/test
662 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/bsddb/test
663 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/ctypes/test
664 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/distutils/tests
665 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/email/test
666 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/sqlite3/test
667 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/json/tests
668 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/lib2to3/tests
669
670 # other files
671 %{__rm} -r $RPM_BUILD_ROOT%{py_scriptdir}/plat-*/regen
672 find $RPM_BUILD_ROOT%{py_scriptdir} -name \*.egg-info -exec rm {} \;
673 find $RPM_BUILD_ROOT%{py_scriptdir} -name \*.bat -exec rm {} \;
674 find $RPM_BUILD_ROOT%{py_scriptdir} -name \*.txt -exec rm {} \;
675 find $RPM_BUILD_ROOT%{py_scriptdir} -name README\* -exec rm {} \;
676
677 %clean
678 rm -rf $RPM_BUILD_ROOT
679
680 %post   libs -p /sbin/ldconfig
681 %postun libs -p /sbin/ldconfig
682
683 %post   doc-info -p /sbin/postshell
684 -/usr/sbin/fix-info-dir -c %{_infodir}
685
686 %postun doc-info -p /sbin/postshell
687 -/usr/sbin/fix-info-dir -c %{_infodir}
688
689 %files
690 %defattr(644,root,root,755)
691 %attr(755,root,root) %{_bindir}/python
692 %attr(755,root,root) %{_bindir}/python2
693 %attr(755,root,root) %{_bindir}/python%{py_ver}
694 %{_mandir}/man1/python.1*
695
696 %files modules
697 %defattr(644,root,root,755)
698 /etc/shrc.d/python-modules*
699 %exclude %{py_scriptdir}/_abcoll.py[co]
700 %exclude %{py_scriptdir}/abc.py[co]
701 %exclude %{py_scriptdir}/UserDict.py[co]
702 %exclude %{py_scriptdir}/codecs.py[co]
703 %exclude %{py_scriptdir}/copy_reg.py[co]
704 %exclude %{py_scriptdir}/genericpath.py[co]
705 %exclude %{py_scriptdir}/linecache.py[co]
706 %exclude %{py_scriptdir}/locale.py[co]
707 %exclude %{py_scriptdir}/posixpath.py[co]
708 %exclude %{py_scriptdir}/pdb.py[co]
709 %exclude %{py_scriptdir}/profile.py[co]
710 %exclude %{py_scriptdir}/pstats.py[co]
711 %exclude %{py_scriptdir}/pydoc.py[co]
712 %exclude %{py_scriptdir}/re.py[co]
713 %exclude %{py_scriptdir}/site.py[co]
714 %exclude %{py_scriptdir}/sre_*.py[co]
715 %exclude %{py_scriptdir}/stat.py[co]
716 %exclude %{py_scriptdir}/sysconfig.py[co]
717 %exclude %{py_scriptdir}/timeit.py[co]
718 %exclude %{py_scriptdir}/os.py[co]
719 %exclude %{py_scriptdir}/_weakrefset.py[co]
720 %exclude %{py_scriptdir}/encodings/*.py[co]
721 %exclude %{py_scriptdir}/types.py[co]
722 %exclude %{py_scriptdir}/warnings.py[co]
723
724 %{py_scriptdir}/*.py[co]
725
726 %{py_dyndir}/Python-%{version}-py%{py_ver}.egg-info
727
728 #
729 # list .so modules to be sure that all of them are built
730 #
731
732 # three modules below do not work on 64-bit architectures
733 # see Python README file for explanation
734 %ifnarch alpha ia64 ppc64 sparc64 %{x8664}
735 %attr(755,root,root) %{py_dyndir}/imageop.so
736 # sizeof(long) != sizeof(int), so dl module will not be built on 64-bit
737 # platforms
738 %attr(755,root,root) %{py_dyndir}/dl.so
739 %endif
740
741 %attr(755,root,root) %{py_dyndir}/audioop.so
742 %attr(755,root,root) %{py_dyndir}/array.so
743 %attr(755,root,root) %{py_dyndir}/binascii.so
744 %attr(755,root,root) %{py_dyndir}/_bisect.so
745 %attr(755,root,root) %{py_dyndir}/_bsddb.so
746 %attr(755,root,root) %{py_dyndir}/bz2.so
747 %attr(755,root,root) %{py_dyndir}/cmath.so
748 %attr(755,root,root) %{py_dyndir}/_codecs_cn.so
749 %attr(755,root,root) %{py_dyndir}/_codecs_hk.so
750 %attr(755,root,root) %{py_dyndir}/_codecs_iso2022.so
751 %attr(755,root,root) %{py_dyndir}/_codecs_jp.so
752 %attr(755,root,root) %{py_dyndir}/_codecs_kr.so
753 %attr(755,root,root) %{py_dyndir}/_codecs_tw.so
754 %attr(755,root,root) %{py_dyndir}/_collections.so
755 %attr(755,root,root) %{py_dyndir}/cPickle.so
756 %attr(755,root,root) %{py_dyndir}/crypt.so
757 %attr(755,root,root) %{py_dyndir}/cStringIO.so
758 %attr(755,root,root) %{py_dyndir}/_csv.so
759 %attr(755,root,root) %{py_dyndir}/_ctypes*.so
760 %attr(755,root,root) %{py_dyndir}/_curses_panel.so
761 %attr(755,root,root) %{py_dyndir}/_curses.so
762 %attr(755,root,root) %{py_dyndir}/datetime.so
763 %attr(755,root,root) %{py_dyndir}/_elementtree.so
764 %attr(755,root,root) %{py_dyndir}/_functools.so
765 %attr(755,root,root) %{py_dyndir}/_hashlib.so
766 %attr(755,root,root) %{py_dyndir}/_heapq.so
767 %attr(755,root,root) %{py_dyndir}/_io.so
768 %attr(755,root,root) %{py_dyndir}/_json.so
769 %attr(755,root,root) %{py_dyndir}/_locale.so
770 %attr(755,root,root) %{py_dyndir}/_lsprof.so
771 %attr(755,root,root) %{py_dyndir}/_multibytecodec.so
772 %attr(755,root,root) %{py_dyndir}/_multiprocessing.so
773 %attr(755,root,root) %{py_dyndir}/_random.so
774 %{?with_openssl097:%attr(755,root,root) %{py_dyndir}/_sha*.so}
775 %attr(755,root,root) %{py_dyndir}/_socket.so
776 %attr(755,root,root) %{py_dyndir}/_ssl.so
777 %attr(755,root,root) %{py_dyndir}/_testcapi.so
778 %ifnarch sparc64
779 %attr(755,root,root) %{py_dyndir}/dbm.so
780 %endif
781 %attr(755,root,root) %{py_dyndir}/fcntl.so
782 %attr(755,root,root) %{py_dyndir}/future_builtins.so
783 %attr(755,root,root) %{py_dyndir}/gdbm.so
784 %attr(755,root,root) %{py_dyndir}/grp.so
785 %attr(755,root,root) %{py_dyndir}/itertools.so
786 %attr(755,root,root) %{py_dyndir}/linuxaudiodev.so
787 %attr(755,root,root) %{py_dyndir}/math.so
788 %attr(755,root,root) %{py_dyndir}/mmap.so
789 %attr(755,root,root) %{py_dyndir}/nis.so
790 %attr(755,root,root) %{py_dyndir}/operator.so
791 %attr(755,root,root) %{py_dyndir}/ossaudiodev.so
792 %attr(755,root,root) %{py_dyndir}/parser.so
793 %attr(755,root,root) %{py_dyndir}/pyexpat.so
794 %attr(755,root,root) %{py_dyndir}/readline.so
795 %attr(755,root,root) %{py_dyndir}/resource.so
796 %attr(755,root,root) %{py_dyndir}/select.so
797 %attr(755,root,root) %{py_dyndir}/strop.so
798 %attr(755,root,root) %{py_dyndir}/syslog.so
799 %attr(755,root,root) %{py_dyndir}/termios.so
800 %attr(755,root,root) %{py_dyndir}/time.so
801 %attr(755,root,root) %{py_dyndir}/spwd.so
802 %attr(755,root,root) %{py_dyndir}/unicodedata.so
803 %attr(755,root,root) %{py_dyndir}/zlib.so
804
805 %dir %{py_scriptdir}/plat-*
806 %{py_scriptdir}/plat-*/*.py[co]
807
808 %dir %{py_scriptdir}/bsddb
809 %{py_scriptdir}/bsddb/*.py[co]
810
811 %dir %{py_scriptdir}/compiler
812 %{py_scriptdir}/compiler/*.py[co]
813
814 %dir %{py_scriptdir}/ctypes
815 %dir %{py_scriptdir}/ctypes/macholib
816 %{py_scriptdir}/ctypes/*.py[co]
817 %{py_scriptdir}/ctypes/macholib/*.py[co]
818
819 %dir %{py_scriptdir}/curses
820 %{py_scriptdir}/curses/*.py[co]
821
822 %dir %{py_scriptdir}/distutils
823 %dir %{py_scriptdir}/distutils/command
824 %{py_scriptdir}/distutils/*.py[co]
825 %{py_scriptdir}/distutils/command/*.py[co]
826
827 %dir %{py_scriptdir}/email
828 %dir %{py_scriptdir}/email/mime
829 %{py_scriptdir}/email/*.py[co]
830 %{py_scriptdir}/email/mime/*.py[co]
831
832 %dir %{py_scriptdir}/importlib
833 %{py_scriptdir}/importlib/*.py[co]
834
835 %dir %{py_scriptdir}/json
836 %{py_scriptdir}/json/*.py[co]
837
838 %dir %{py_scriptdir}/logging
839 %{py_scriptdir}/logging/*.py[co]
840
841 %dir %{py_scriptdir}/multiprocessing
842 %dir %{py_scriptdir}/multiprocessing/dummy
843 %{py_scriptdir}/multiprocessing/*.py[co]
844 %{py_scriptdir}/multiprocessing/dummy/*.py[co]
845
846 %dir %{py_scriptdir}/unittest
847 %{py_scriptdir}/unittest/*.py[co]
848 %dir %{py_scriptdir}/unittest/test
849 %{py_scriptdir}/unittest/test/*.py[co]
850
851 %dir %{py_scriptdir}/wsgiref
852 %{py_scriptdir}/wsgiref/*.py[co]
853
854 %dir %{py_scriptdir}/xml
855 %dir %{py_scriptdir}/xml/dom
856 %dir %{py_scriptdir}/xml/etree
857 %dir %{py_scriptdir}/xml/parsers
858 %dir %{py_scriptdir}/xml/sax
859 %{py_scriptdir}/xml/*.py[co]
860 %{py_scriptdir}/xml/dom/*.py[co]
861 %{py_scriptdir}/xml/etree/*.py[co]
862 %{py_scriptdir}/xml/parsers/*.py[co]
863 %{py_scriptdir}/xml/sax/*.py[co]
864
865 %files modules-sqlite
866 %defattr(644,root,root,755)
867 %attr(755,root,root) %{py_dyndir}/_sqlite3.so
868 %dir %{py_scriptdir}/sqlite3
869 %{py_scriptdir}/sqlite3/*.py[co]
870
871 %files libs
872 %defattr(644,root,root,755)
873 %attr(755,root,root) %{_libdir}/libpython%{py_ver}.so.*
874
875 %dir %{py_dyndir}
876 %dir %{py_scriptdir}
877 %dir %{py_libdir}
878 %dir %{py_sitescriptdir}
879 %dir %{py_sitedir}
880
881 # shared modules required by python library
882 %attr(755,root,root) %{py_dyndir}/_struct.so
883
884 # modules required by python library
885 %{py_scriptdir}/_abcoll.py[co]
886 %{py_scriptdir}/abc.py[co]
887 %{py_scriptdir}/UserDict.py[co]
888 %{py_scriptdir}/codecs.py[co]
889 %{py_scriptdir}/copy_reg.py[co]
890 %{py_scriptdir}/genericpath.py[co]
891 %{py_scriptdir}/linecache.py[co]
892 %{py_scriptdir}/locale.py[co]
893 %{py_scriptdir}/posixpath.py[co]
894 %{py_scriptdir}/re.py[co]
895 %{py_scriptdir}/site.py[co]
896 %{py_scriptdir}/sre_*.py[co]
897 %{py_scriptdir}/stat.py[co]
898 %{py_scriptdir}/sysconfig.py[co]
899 %{py_scriptdir}/os.py[co]
900 %{py_scriptdir}/_weakrefset.py[co]
901 # needed by the dynamic sys.lib patch
902 %{py_scriptdir}/types.py[co]
903 %{py_scriptdir}/warnings.py[co]
904
905 # encodings required by python library
906 %dir %{py_scriptdir}/encodings
907 %{py_scriptdir}/encodings/*.py[co]
908
909 # required by sysconfig.py
910 %dir %{py_libdir}/config
911 %{py_libdir}/config/Makefile
912 %dir %{py_incdir}
913 %{py_incdir}/pyconfig.h
914
915 %files -n pydoc
916 %defattr(644,root,root,755)
917 %attr(755,root,root) %{_bindir}/pydoc
918 %{py_scriptdir}/pydoc.py[co]
919 %dir %{py_scriptdir}/pydoc_data
920 %{py_scriptdir}/pydoc_data/*.py[co]
921
922 %files -n idle
923 %defattr(644,root,root,755)
924 %attr(755,root,root) %{_bindir}/idle
925 %dir %{py_scriptdir}/idlelib
926 %dir %{py_scriptdir}/idlelib/Icons
927 %{py_scriptdir}/idlelib/*.py[co]
928 %{py_scriptdir}/idlelib/Icons/*
929 %{py_scriptdir}/idlelib/*.def
930
931 %files devel
932 %defattr(644,root,root,755)
933 %doc Misc/{ACKS,NEWS,README,README.valgrind,valgrind-python.supp}
934 %attr(755,root,root) %{_bindir}/python-config
935 %attr(755,root,root) %{_bindir}/python2-config
936 %attr(755,root,root) %{_bindir}/python%{py_ver}-config
937 %attr(755,root,root) %{_libdir}/libpython%{py_ver}.so
938 %attr(755,root,root) %{_libdir}/libpython.so
939 %{py_incdir}/*.h
940 %exclude %{py_incdir}/pyconfig.h
941 %{_pkgconfigdir}/python.pc
942 %{_pkgconfigdir}/python2.pc
943 %{_pkgconfigdir}/python-%{py_ver}.pc
944
945 %attr(755,root,root) %{py_libdir}/config/makesetup
946 %attr(755,root,root) %{py_libdir}/config/install-sh
947 %{py_libdir}/config/Makefile.pre.in
948 %{py_libdir}/config/Setup
949 %{py_libdir}/config/Setup.config
950 %{py_libdir}/config/Setup.local
951 %{py_libdir}/config/config.c
952 %{py_libdir}/config/config.c.in
953 %{py_libdir}/config/python.o
954
955 %files devel-src
956 %defattr(644,root,root,755)
957 %attr(-,root,root) %{py_scriptdir}/*.py
958 %{py_scriptdir}/plat-*/*.py
959 %{py_scriptdir}/bsddb/*.py
960 %{py_scriptdir}/ctypes/*.py
961 %{py_scriptdir}/ctypes/macholib/*.py
962 %{py_scriptdir}/compiler/*.py
963 %{py_scriptdir}/curses/*.py
964 %{py_scriptdir}/distutils/*.py
965 %{py_scriptdir}/distutils/command/*.py
966 %{py_scriptdir}/email/*.py
967 %{py_scriptdir}/email/mime/*.py
968 %{py_scriptdir}/encodings/*.py
969 %{py_scriptdir}/hotshot/*.py
970 %{py_scriptdir}/idlelib/*.py
971 %{py_scriptdir}/importlib/*.py
972 %{py_scriptdir}/json/*.py
973 %{py_scriptdir}/lib2to3/*.py
974 %{py_scriptdir}/lib2to3/fixes/*.py
975 %{py_scriptdir}/lib2to3/pgen2/*.py
976 %{py_scriptdir}/logging/*.py
977 %{py_scriptdir}/multiprocessing/*.py
978 %{py_scriptdir}/multiprocessing/dummy/*.py
979 %{py_scriptdir}/pydoc_data/*.py
980 %{py_scriptdir}/sqlite3/*.py
981 %{py_scriptdir}/unittest/*.py
982 %{py_scriptdir}/unittest/test/*.py
983 %{py_scriptdir}/wsgiref/*.py
984 %{py_scriptdir}/xml/*.py
985 %{py_scriptdir}/xml/dom/*.py
986 %{py_scriptdir}/xml/etree/*.py
987 %{py_scriptdir}/xml/parsers/*.py
988 %{py_scriptdir}/xml/sax/*.py
989
990 %files devel-tools
991 %defattr(644,root,root,755)
992 %doc Lib/pdb.doc
993 /etc/shrc.d/python-devel*
994
995 %attr(755,root,root) %{py_dyndir}/_hotshot.so
996 %dir %{py_scriptdir}/hotshot
997 %{py_scriptdir}/hotshot/*.py[co]
998 %{py_scriptdir}/pdb.py[co]
999 %{py_scriptdir}/profile.py[co]
1000 %{py_scriptdir}/pstats.py[co]
1001 %{py_scriptdir}/timeit.py[co]
1002
1003 %files 2to3
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) %{_bindir}/2to3
1006 %dir %{py_scriptdir}/lib2to3
1007 %dir %{py_scriptdir}/lib2to3/fixes
1008 %dir %{py_scriptdir}/lib2to3/pgen2
1009 %{py_scriptdir}/lib2to3/*.py[co]
1010 %{py_scriptdir}/lib2to3/*.pickle
1011 %{py_scriptdir}/lib2to3/fixes/*.py[co]
1012 %{py_scriptdir}/lib2to3/pgen2/*.py[co]
1013
1014 %files static
1015 %defattr(644,root,root,755)
1016 %{_libdir}/libpython%{py_ver}.a
1017 %{_libdir}/libpython.a
1018
1019 %files examples
1020 %defattr(644,root,root,755)
1021 %{_examplesdir}/%{name}-%{version}
1022
1023 %files doc
1024 %defattr(644,root,root,755)
1025 %doc python-%{dver}-docs-html/*
1026 %{_docdir}/python-doc
1027
1028 %if %{with info}
1029 %files doc-info
1030 %defattr(644,root,root,755)
1031 %{_infodir}/*.info*
1032 %endif
1033
1034 %if %{with tkinter}
1035 %files tkinter
1036 %defattr(644,root,root,755)
1037 %{py_scriptdir}/lib-tk
1038 %attr(755,root,root) %{py_dyndir}/_tkinter.so
1039 %endif
This page took 0.136514 seconds and 4 git commands to generate.