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 URL: http://www.AdvancedResearch.org/dialog/
27 BuildRequires: autoconf
28 BuildRequires: gpm-devel
29 BuildRequires: ncurses-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Dialog is a utility that allows you to build user interfaces in a TTY
34 (text mode only). You can call dialog from within a shell script to
35 ask the user questions or present with choices in a more user friendly
39 Dialog ist ein Dienstprogramm, das das Erstellen einer
40 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
41 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
42 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
43 anzubieten. Unter /usr/src/examples/dialog-%{version} finden Sie
47 dialog est un utilitaire permettant de construire des interfaces
48 utilisateur en mode texte. On peut appeler dialog à partir d'un script
49 shell pour poser des questions à l'utilisateur ou lui proposer des
50 choix de façon conviviale. Voir /usr/src/examples/dialog-%{version}
51 pour quelques exemples.
54 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego
55 interfejsu u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do
56 programu do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie
60 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
61 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
62 dialog programýný bir kabuk programcýðý içinden çaðýrabilirsiniz.
63 Örnekler için /usr/src/examples/dialog-%{version} dizinine bakýnýz.
66 Summary: Libraries and headers files for dialog
67 Summary(pl): Biblioteki i pliki nagó³wkowe dla dialog
68 Group: Development/Libraries
69 Requires: %{name} = %{epoch}:%{version}
72 Libraries and header files for dialog.
74 %description devel -l pl
75 Biblioteki i pliki nag³ówkowe dla dialog.
78 Summary: Static dialog library
79 Summary(pl): Statyczna biblioteka dialog
80 Group: Development/Libraries
81 Requires: %{name}-devel = %{epoch}:%{version}
84 Static dialog library.
86 %description static -l pl
87 Statyczna biblioteka dialog.
104 %{__make} depend shared all
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
111 prefix=$RPM_BUILD_ROOT%{_prefix} \
112 LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
113 mandir=$RPM_BUILD_ROOT%{_mandir}
115 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
117 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
120 rm -rf $RPM_BUILD_ROOT
122 %post -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_bindir}/dialog
128 %attr(755,root,root) %{_libdir}/lib*.so.*
130 %lang(hu) %{_mandir}/hu/man1/*
131 %lang(pl) %{_mandir}/pl/man1/*
134 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/lib*.so
139 %attr(- ,root,root) %{_examplesdir}/dialog
142 %defattr(644,root,root,755)