1 Summary: dialog - display dialog boxes from shell scripts
2 %define AppProgram dialog
4 %define AppRelease 20180621
5 %define ActualProg c%{AppProgram}
6 # $XTermId: dialog.spec,v 1.108 2018/06/21 09:19:45 tom Exp $
11 Group: Applications/System
12 URL: ftp://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 present a variety of questions or
18 display messages using dialog boxes from a shell script. These types
19 of dialog boxes are implemented (though not all are necessarily compiled
22 buildlist, calendar, checklist, dselect, editbox, form, fselect,
23 gauge, infobox, inputbox, inputmenu, menu, mixedform,
24 mixedgauge, msgbox (message), passwordbox, passwordform, pause,
25 prgbox, programbox, progressbox, radiolist, rangebox, tailbox,
26 tailboxbg, textbox, timebox, treeview, and yesno (yes/no).
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 cp -v package/dialog.map package/%{ActualProg}.map
39 INSTALL_PROGRAM='${INSTALL}' \
41 --target %{_target_platform} \
46 --with-package=%{ActualProg} \
47 --enable-header-subdir \
52 --with-versioned-syms \
58 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
60 make install DESTDIR=$RPM_BUILD_ROOT
61 make install-full DESTDIR=$RPM_BUILD_ROOT
63 strip $RPM_BUILD_ROOT%{_bindir}/%{ActualProg}
64 chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib%{ActualProg}.so.*
67 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
71 %{_bindir}/%{ActualProg}
72 %{_bindir}/%{ActualProg}-config
73 %{_mandir}/man1/%{ActualProg}.*
74 %{_mandir}/man3/%{ActualProg}.*
75 %{_includedir}/%{ActualProg}.h
76 %{_includedir}/%{ActualProg}/dlg_colors.h
77 %{_includedir}/%{ActualProg}/dlg_config.h
78 %{_includedir}/%{ActualProg}/dlg_keys.h
79 %{_libdir}/lib%{ActualProg}.*
80 %{_datadir}/locale/*/LC_MESSAGES/%{ActualProg}.mo
83 # each patch should add its ChangeLog entries here
85 * Sat Dec 09 2017 Thomas Dickey
88 * Thu Apr 21 2016 Thomas Dickey
89 - remove stray call to libtool
91 * Tue Oct 18 2011 Thomas Dickey
92 - add executable permissions for shared libraries, discard ".la" file.
94 * Thu Dec 30 2010 Thomas Dickey