1 Summary: A program to build tty dialog boxes
2 Summary(de): Ein Programm zum Erstellen von tty-Dialogfeldern
3 Summary(fr): Programme pour construire des boîtes de dialogue en mode texte
4 Summary(pl): Dialog tworzy okienkowy interfejs u¿ytkownika na terminalu tekstowym
5 Summary(tr): tty diyalog kutularý oluþturan bir program
11 Group: Applications/Terminal
12 Source0: ftp://iride.unipv.it/pub/linux/dialog/%{name}-%{version}.tar.gz
13 # Source0-md5: 479652df0812eaa92fa9fbec98dd72cd
14 # other (more recent but probably worse) dialog source:
15 # ftp://AdvancedResearch.org/pub/vstemen/%{name}-0.7.tar.gz
16 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
17 # Source1-md5: 932081790cd8aa857822bd2b0eafa5bb
18 Patch0: %{name}-shared.patch
19 Patch1: %{name}-manpath.patch
20 Patch2: %{name}-awk.patch
21 Patch3: %{name}-examples.patch
22 Patch4: %{name}-opt.patch
23 Patch5: %{name}-menumouse.patch
24 Patch6: %{name}-menuborder.patch
25 Patch7: %{name}-segv.patch
26 Patch8: %{name}-gcc34.patch
27 URL: http://www.AdvancedResearch.org/dialog/
28 BuildRequires: autoconf
29 BuildRequires: gpm-devel
30 BuildRequires: ncurses-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Dialog is a utility that allows you to build user interfaces in a TTY
35 (text mode only). You can call dialog from within a shell script to
36 ask the user questions or present with choices in a more user friendly
40 Dialog ist ein Dienstprogramm, das das Erstellen einer
41 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
42 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
43 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
44 anzubieten. Unter /usr/src/examples/dialog-%{version} finden Sie
48 dialog est un utilitaire permettant de construire des interfaces
49 utilisateur en mode texte. On peut appeler dialog à partir d'un script
50 shell pour poser des questions à l'utilisateur ou lui proposer des
51 choix de façon conviviale. Voir /usr/src/examples/dialog-%{version}
52 pour quelques exemples.
55 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego
56 interfejsu u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do
57 programu do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie
61 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
62 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
63 dialog programýný bir kabuk programcýðý içinden çaðýrabilirsiniz.
64 Örnekler için /usr/src/examples/dialog-%{version} dizinine bakýnýz.
67 Summary: Libraries and headers files for dialog
68 Summary(pl): Biblioteki i pliki nagó³wkowe dla dialog
69 Group: Development/Libraries
70 Requires: %{name} = %{epoch}:%{version}
73 Libraries and header files for dialog.
75 %description devel -l pl
76 Biblioteki i pliki nag³ówkowe dla dialog.
79 Summary: Static dialog library
80 Summary(pl): Statyczna biblioteka dialog
81 Group: Development/Libraries
82 Requires: %{name}-devel = %{epoch}:%{version}
85 Static dialog library.
87 %description static -l pl
88 Statyczna biblioteka dialog.
106 %{__make} depend shared all
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
113 prefix=$RPM_BUILD_ROOT%{_prefix} \
114 LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
115 mandir=$RPM_BUILD_ROOT%{_mandir}
117 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
119 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
122 rm -rf $RPM_BUILD_ROOT
124 %post -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_bindir}/dialog
130 %attr(755,root,root) %{_libdir}/lib*.so.*
132 %lang(hu) %{_mandir}/hu/man1/*
133 %lang(pl) %{_mandir}/pl/man1/*
136 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/lib*.so
141 %attr(- ,root,root) %{_examplesdir}/dialog
144 %defattr(644,root,root,755)