1 Summary: dialog - display dialog boxes from shell scripts
2 %define AppProgram dialog
4 %define AppRelease 20110707
5 %define ActualProg c%{AppProgram}
6 # $XTermId: dialog.spec,v 1.24 2011/07/07 22:10:02 tom Exp $
11 Group: Applications/Development
12 URL: ftp://invisible-island.net/%{AppProgram}
13 Source0: %{AppProgram}-%{AppVersion}-%{AppRelease}.tgz
14 Packager: Thomas Dickey <dickey@invisible-island.net>
17 Dialog is a program that will let you to present a variety of questions
18 or display messages using dialog boxes from a shell script. These
19 types of dialog boxes are implemented (though not all are necessarily
20 compiled into dialog):
22 calendar, checklist, dselect, editbox, form, fselect, gauge,
23 infobox, inputbox, inputmenu, menu, mixedform, mixedgauge,
24 msgbox (message), passwordbox, passwordform, pause, progressbox,
25 radiolist, tailbox, tailboxbg, textbox, timebox, and yesno
28 This package installs as "cdialog" to avoid conflict with other packages.
31 %setup -q -n %{AppProgram}-%{AppVersion}-%{AppRelease}
35 INSTALL_PROGRAM='${INSTALL}' \
37 --target %{_target_platform} \
42 --with-package=%{ActualProg} \
43 --enable-header-subdir \
53 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
55 make install-full DESTDIR=$RPM_BUILD_ROOT
57 strip $RPM_BUILD_ROOT%{_bindir}/%{ActualProg}
60 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
64 %{_bindir}/%{ActualProg}
65 %{_bindir}/%{ActualProg}-config
66 %{_mandir}/man1/%{ActualProg}.*
67 %{_mandir}/man3/%{ActualProg}.*
68 %{_includedir}/%{ActualProg}.h
69 %{_includedir}/%{ActualProg}/dlg_colors.h
70 %{_includedir}/%{ActualProg}/dlg_config.h
71 %{_includedir}/%{ActualProg}/dlg_keys.h
72 %{_libdir}/lib%{ActualProg}.*
73 %{_datadir}/locale/*/LC_MESSAGES/%{ActualProg}.mo
76 # each patch should add its ChangeLog entries here
78 * Thu Dec 30 2010 Thomas Dickey