Summary: A utility for creating TTY dialog boxes. Summary(ja): TTY ダイアログボックスのユーティリティ Name: dialog %define SubVersion 20060221 Version: 1.0.%{SubVersion} Release: 1%{?_dist_release} License: GPL Group: Applications/System URL: http://invisible-island.net/dialog/dialog.html Source: ftp://invisible-island.net/dialog/dialog-1.0-%{SubVersion}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: ncurses BuildPreReq: ncurses-devel, gettext %description Dialog is a utility that allows you to show dialog boxes (containing questions or messages) in TTY (text mode) interfaces. Dialog is called from within a shell script. The following dialog boxes are implemented: yes/no, menu, input, message, text, info, checklist, radiolist, and gauge. Install dialog if you would like to create TTY dialog boxes. %description -l ja Dialog は TTY (テキストモード) インタフェース上に,質問やメッセージを 含むダイアログボックスを表示するユーティリティです. Dialog はシェルスクリプトから (あるいはその中から) 呼び出すことが出来ます. 実装されているダイアログボックスには yes/no,メニュー,入力エリア, メッセージ,テキスト,情報,チェックリスト,ラジオボタン,ゲージ等が あります. TTY ダイアログボックスを作成したければ dialog をインストールして下さい. %prep %setup -q -n dialog-1.0-%{SubVersion} %build %configure --enable-nls make %install rm -rf $RPM_BUILD_ROOT fgrep -l -r perl samples|xargs rm -f %makeinstall %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %doc COPYING dialog.lsm README samples %{_bindir}/dialog %{_mandir}/man1/dialog.* %changelog * Fri Aug 15 2008 Shu KONNO 1.0.20060221-1vl5 - applied new versioning policy, spec in utf-8 * Sun Jan 21 2007 Ryoichi INAGAKI 1.0.20060221-1vl1 - new upstream release based on 1.0.20060221-1 from Fedora development * Tue Oct 19 2004 Ryoichi INAGAKI 1.0.20040731-1vl1 - new upstream release based on 1.0.20040731-1 from Fedora development - add Requires ncurses * Fri Mar 26 2004 Ryoichi INAGAKI 0.9b-20031207.2vl1 - s/Copyright/License/ - based on 0.9b-20031207.2 from Fedora development * Mon Nov 24 2003 Harald Hoyer 0.9b-20031002.2 - added gettext BuildReq (#109192) * Wed Dec 04 2002 MATSUBAYASHI Kohji 0.9b-20020814.1vl1 - based on 0.9b-20020814.1 from Rawhide and built for Vine Linux * Tue Nov 05 2002 Harald Hoyer 0.9b-20020814.1 * Fri Jun 21 2002 Tim Powers - automated rebuild * Sun May 26 2002 Tim Powers - automated rebuild * Wed May 22 2002 Harald Hoyer 0.9b-20020519.1 - update to dialog-0.9b-20020519 * Wed Jan 09 2002 Tim Powers - automated rebuild * Mon Jun 18 2001 Harald Hoyer - update to 20010527 - added ncurses-devel dependency (#44733) - removed perl dependency * Tue Jan 09 2001 Harald Hoyer - update to 20001217 * Mon Aug 7 2000 Bill Nottingham - fix one of the examples (#14073) * Wed Jul 12 2000 Prospector - automatic rebuild * Wed Apr 5 2000 Bill Nottingham - rebuild against current ncurses/readline * Thu Feb 3 2000 Bill Nottingham - handle compressed man pages * Thu Jan 20 2000 Bill Nottingham - fix loop patch for reading from pipe * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 14) * Fri Dec 18 1998 Bill Nottingham - build for 6.0 * Tue Aug 11 1998 Jeff Johnson - build root * Thu May 7 1998 Michael Maher - Added Sean Reifschneider patches for infinite loop problems. * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Wed Apr 15 1998 Erik Troan - built against new ncurses * Thu Jul 10 1997 Erik Troan - built against glibc