1 %include /usr/lib/rpm/macros.python
2 Summary: Not Erik's Windowing Toolkit - text mode windowing with slang
3 Summary(de): Nicht Eriks Windowing Toolkit - Textmodus-Windowing mit Slang
4 Summary(fr): Not Erik's Windowing Toolkit - fenêtrage en mode texte avec slang
5 Summary(pl): Not Erik's Windowing Toolkit - okna w trybie tekstowym ze slangiem
6 Summary(tr): Not Erik's Windowing Toolkit - metin kipi pencereleme sistemi
12 Source0: ftp://www.msg.com.mx/pub/Newt/%{name}-%{version}.tar.gz
13 Patch0: %{name}-pythondirs.patch
14 Patch1: %{name}-textbox.patch
15 Patch2: %{name}-install_sh.patch
16 Patch3: %{name}-gpm-fix.diff
17 URL: http://www.msg.com.mx/Newt/
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: popt-devel
21 BuildRequires: python-devel >= 2.2
22 BuildRequires: sgml-tools
23 BuildRequires: slang-devel
24 BuildRequires: tcl-devel >= 8.3.2
25 BuildRequires: docbook-utils
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Newt is a windowing toolkit for text mode built from the slang
30 library. It allows color text mode applications to easily use
31 stackable windows, push buttons, check boxes, radio buttons, lists,
32 entry fields, labels, and displayable text. Scrollbars are supported,
33 and forms may be nested to provide extra functionality. This pacakge
34 contains the shared library for programs that have been built with
38 Newt ist ein Windowing-Toolkit für Textmodus, konstruiert auf der
39 Grundlage der Slang-Library, mit dessen Hilfe Farbtext-Modus-
40 Applikationen leicht mit stapelbaren Fenstern, Schaltflächen,
41 Optionskästchen, Listen, Eingabefeldern, Etiketten und Display-Text
42 arbeiten können. Auch Bildlaufleisten erden unterstützt, und der
43 Einbau von Formularen ist möglich, wenn zusätzliche Funktionalität
47 Newt est une boite à outil de fenétrage en mode texte, construit sur
48 la librarie slang. Elle permet aux applications en mode texte
49 d'utiliser simplement de multiples fenêtres, des bouttons, des cases à
50 cocher... Les barres de défilement sont supportées, et les fenêtres
51 peuvent être imbriquées pour donner des fonctionnalités nouvelles.
54 Newt jest bibliotek± typu toolkit ale do trybu tekstowego, osadzon± na
55 bibliotece slang. Umo¿liwia budowanie aplikacji pracuj±cych w trybie
56 tekstowym umo¿liwij±c operowanie na okienkach, przyciskach (push
57 button), listach wyboru, etykietach i elementach tekstowych jakie s±
58 potrzebne przy tworzeniu interfejsu u¿ytkownika w ró¿nych aplikacjach.
61 Newt ile karakter tabanlý ekranlarda renkli pencereler, kaydýrma
62 çubuklarý, çeþitli tuþlar oluþturulabilir.
65 Summary: Developer's toolkit for newt windowing library
66 Summary(de): Entwickler-Toolkit für die newt-Windowing-Library
67 Summary(fr): Toolkit de développement pour la bibliothèque de fenêtrage newt
68 Summary(pl): Pliki nag³ówkowe dla newt
69 Summary(tr): newt pencere kitaplýðý için geliþtirme dosyalarý
70 Group: Development/Libraries
71 Requires: %{name} = %{version}
74 These are the header files and libraries for developing applications
75 which use newt. Newt is a windowing toolkit for text mode, which
76 provides many widgets and stackable windows.
78 %description devel -l de
79 Dies sind die Header-Dateien und Libraries zur Entwicklung von
80 Applikationen, die mit newt arbeiten. Newt ist ein Windowing-Toolkit
81 für Textmodus, der viele Widgets und stapelbare Fenster enthält.
83 %description devel -l fr
84 En-têtes et bibliothèques pour le développement d'applications
85 utilisant newt. newt est un tookit de fenêtrage pour le mode texte
86 offrant de nombreux widgets et des fenêtres empilables.
88 %description devel -l pl
89 Pliki nag³ówkowe dla newt.
91 %description devel -l tr
92 Bu paket, newt ile geliþtirme yapmak için gereken baþlýk dosyalarýný
93 ve kitaplýklarý içerir. Newt, metin ekranda çalýþan bir pencereleme
97 Summary: Newt static library
98 Summary(pl): Biblioteka statyczna newt
99 Group: Development/Libraries
100 Requires: %{name}-devel = %{version}
105 %description static -l pl
106 Biblioteka statyczna newt.
109 Summary: Newt Tcl bindings
110 Summary(pl): Dodatki do Tcl z Newta
111 Group: Development/Languages/Tcl
112 Requires: %{name} = %{version}
117 %description tcl -l pl
118 Dodatki do Tcl z Newta
121 Summary: Newt python bindings
122 Summary(pl): Dodatki do pythona z Newta
123 Group: Development/Languages/Python
124 Requires: %{name} = %{version}
125 Requires: python >= 1.5
132 %description python -l pl
133 Dodatki do pythona z Newta.
136 Summary: A dialog compliant program to build tty dialog boxes
137 Summary(pl): Program do tekstowych okienek dialogowych kompatybilny z dialog
138 Group: Applications/Terminal
140 %description -n whiptail
141 Dialog compliant utility that allows you to build user interfaces in a
142 TTY (text mode only). You can call dialog from within a shell script
143 to ask the user questions or present with choices in a more user
146 %description -n whiptail -l pl
147 Program umo¿liwi±cy budowaæ interfejsy u¿ytkownika na terminalu
148 tekstowym, kompatybilny z programem dialog. Pozwala wywo³aæ dialog ze
149 skryptu shella, aby zdaæ pytania u¿ytkownikowi w sposób bardziej
164 %{__make} PROGS="whiptail whiptcl.so testgrid"
168 rm -rf $RPM_BUILD_ROOT
169 install -d $RPM_BUILD_ROOT
171 %{__make} instroot=$RPM_BUILD_ROOT install
172 %{__make} instroot=$RPM_BUILD_ROOT install-sh
175 #it just plain doesn't work... fix it if you can
177 sgml2txt tutorial.sgml
179 gzip -9nf CHANGES tutorial.txt
185 rm -rf $RPM_BUILD_ROOT
187 %post -p /sbin/ldconfig
188 %postun -p /sbin/ldconfig
191 %defattr(644,root,root,755)
192 %attr(755,root,root) %{_libdir}/*.so.*.*
195 %defattr(644,root,root,755)
196 %attr(755,root,root) %{_bindir}/whiptail
199 %defattr(644,root,root,755)
200 %attr(755,root,root) %{_libdir}/*tcl.so
203 %defattr(644,root,root,755)
204 %{_libdir}/python*/*.py
205 %attr(755,root,root) %{py_libdir}/lib-dynload/*.so
208 %defattr(644,root,root,755)
209 %doc CHANGES.gz tutorial.txt.gz
212 %attr(755,root,root) %{_libdir}/lib*.so
215 %defattr(644,root,root,755)