1 Summary: dialog - display dialog boxes from shell scripts
2 %define AppProgram dialog
4 %define AppRelease 20130923
5 %define ActualProg c%{AppProgram}
6 # $XTermId: dialog.spec,v 1.54 2013/09/23 23:08:24 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 %define debug_package %{nil}
33 %setup -q -n %{AppProgram}-%{AppVersion}-%{AppRelease}
37 INSTALL_PROGRAM='${INSTALL}' \
39 --target %{_target_platform} \
44 --with-package=%{ActualProg} \
45 --enable-header-subdir \
55 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
57 make install-full DESTDIR=$RPM_BUILD_ROOT
58 libtool --finish %{_libdir}
60 strip $RPM_BUILD_ROOT%{_bindir}/%{ActualProg}
61 chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib%{ActualProg}.so.*.*.*
62 rm -f $RPM_BUILD_ROOT%{_libdir}/lib%{ActualProg}.la
65 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
69 %{_bindir}/%{ActualProg}
70 %{_bindir}/%{ActualProg}-config
71 %{_mandir}/man1/%{ActualProg}.*
72 %{_mandir}/man3/%{ActualProg}.*
73 %{_includedir}/%{ActualProg}.h
74 %{_includedir}/%{ActualProg}/dlg_colors.h
75 %{_includedir}/%{ActualProg}/dlg_config.h
76 %{_includedir}/%{ActualProg}/dlg_keys.h
77 %{_libdir}/lib%{ActualProg}.*
78 %{_datadir}/locale/*/LC_MESSAGES/%{ActualProg}.mo
81 # each patch should add its ChangeLog entries here
83 * Tue Oct 18 2011 Thomas Dickey
84 - add executable permissions for shared libraries, discard ".la" file.
86 * Thu Dec 30 2010 Thomas Dickey