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 # other (more recent but probably worse) dialog source:
14 # ftp://AdvancedResearch.org/pub/vstemen/%{name}-0.7.tar.gz
15 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
16 Patch0: %{name}-shared.patch
17 Patch1: %{name}-manpath.patch
18 Patch2: %{name}-awk.patch
19 Patch3: %{name}-examples.patch
20 Patch4: %{name}-opt.patch
21 Patch5: %{name}-menumouse.patch
22 Patch6: %{name}-menuborder.patch
23 Patch7: %{name}-segv.patch
24 URL: http://www.AdvancedResearch.org/dialog/
25 BuildRequires: autoconf
26 BuildRequires: gpm-devel
27 BuildRequires: ncurses-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Dialog is a utility that allows you to build user interfaces in a TTY
32 (text mode only). You can call dialog from within a shell script to
33 ask the user questions or present with choices in a more user friendly
37 Dialog ist ein Dienstprogramm, das das Erstellen einer
38 Benutzeroberfläche in einem TTY ermöglicht (nur Textmodus). Sie können
39 dialog mit einem Shell-Script aufrufen, um dem Benutzer auf
40 benutzerfreundliche Weise Fragen zu stellen oder eine Auswahl
41 anzubieten. Unter /usr/src/examples/dialog-%{version} finden Sie
45 dialog est un utilitaire permettant de construire des interfaces
46 utilisateur en mode texte. On peut appeler dialog à partir d'un script
47 shell pour poser des questions à l'utilisateur ou lui proposer des
48 choix de façon conviviale. Voir /usr/src/examples/dialog-%{version}
49 pour quelques exemples.
52 Dialog jest narzêdziem umo¿liwiaj±cym stworzenie przyjaznego
53 interfejsu u¿ytkownika na terminalu pracuj±cym w trybie tekstowym. Do
54 programu do³±czone s± przyk³adowe skrypty, u³atwiaj±ce rozpoczêcie
58 Dialog, metin ekran için kullanýcý arayüzleri oluþturmayý saðlayan bir
59 araçtýr. Kullanýcýya seçenekleri göstermek veya sorular sormak için,
60 dialog programýný bir kabuk programcýðý içinden çaðýrabilirsiniz.
61 Örnekler için /usr/src/examples/dialog-%{version} dizinine bakýnýz.
64 Summary: Libraries and headers files for dialog
65 Summary(pl): Biblioteki i pliki nagó³wkowe dla dialog
66 Group: Development/Libraries
67 Requires: %{name} = %{version}
70 Libraries and header files for dialog.
72 %description devel -l pl
73 Biblioteki i pliki nag³ówkowe dla dialog.
76 Summary: Static dialog library
77 Summary(pl): Statyczna biblioteka dialog
78 Group: Development/Libraries
79 Requires: %{name}-devel = %{version}
82 Static dialog library.
84 %description static -l pl
85 Statyczna biblioteka dialog.
102 %{__make} depend shared all
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_examplesdir}/%{name}}
109 prefix=$RPM_BUILD_ROOT%{_prefix} \
110 mandir=$RPM_BUILD_ROOT%{_mandir}
112 cp -a samples/* dialog.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}
114 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
117 rm -rf $RPM_BUILD_ROOT
119 %post -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/dialog
125 %attr(755,root,root) %{_libdir}/lib*.so.*
127 %lang(hu) %{_mandir}/hu/man1/*
128 %lang(pl) %{_mandir}/pl/man1/*
131 %defattr(644,root,root,755)
132 %doc dialog.lsm README CMDLINE
133 %attr(755,root,root) %{_libdir}/lib*.so
136 %attr(- ,root,root) %{_examplesdir}/dialog
139 %defattr(644,root,root,755)