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