# # spec file for package dialog (Version 1.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: dialog BuildRequires: gpm ncurses-devel License: GNU Library General Public License v. 2.0 and 2.1 (LGPL) Group: Development/Libraries/Other Autoreqprov: on Version: 1.0 Release: 30 Summary: Menus and Input Boxes for Shell Scripts Source: dialog-1.0-20060221.tar.bz2 Patch: dialog-1.0-20060221.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This program lets you use menus and dialog boxes in shell scripts. Authors: -------- Savio Lam Alessandro Rubini Florian La Roche Marc Ewing T.Dickey %prep %setup -n dialog-1.0-20060221 %patch %build CC=gcc CFLAGS="$RPM_OPT_FLAGS -pipe -Wall" export CC CFLAGS ./configure --prefix=/usr \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --enable-nls \ --enable-included-msgs \ --enable-widec \ --with-ncursesw make %install make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT/usr/share/locale/mg/ # Malagasy (Malayalam??) rm -rf $RPM_BUILD_ROOT/usr/share/locale/rm/ # Rhaeto-Romance %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc CHANGES README VERSION COPYING /usr/bin/dialog %_mandir/man1/dialog.1.gz %changelog * Sat Mar 31 2007 - rguenther@suse.de - Add gpm BuildRequires * Mon Jul 10 2006 - werner@suse.de - Update to new version 1.0 (20060221 TD) * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Apr 06 2004 - werner@suse.de - More about shadows: Make them resizable. * Thu Apr 01 2004 - werner@suse.de - Update to UTF-8 workable version, use wide char version (#37850) * Sun Jan 11 2004 - adrian@suse.de - add %%defattr * Thu Jun 12 2003 - coolo@suse.de - use BuildRoot - package translations too * Wed Jan 08 2003 - werner@suse.de - Fix bug#22787: Update to new version 0.92b (20020814 TD) - Correct shadow support * Tue Sep 17 2002 - ro@suse.de - removed bogus self-provides * Sat Feb 26 2000 - werner@suse.de - Do not highlight shadows * Fri Feb 25 2000 - werner@suse.de - ioctl: if stdout is not a tty try stdin - Make PageUp and PageDown work as Up and Down in menubox, checkbox, and radiobox. * Thu Feb 24 2000 - werner@suse.de - Security fix in gauge menu - /usr/man -> /usr/share/man - Small optimations for several ncurses versions - Use RPM_OPT_FLAGS - Make DEL/BS work on any terminal even if terminfo is broken - Make dialogrc dump work again - Make shadow work and enable shadow support * Mon Sep 13 1999 - bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. * Thu Jan 02 1997 - florian@suse.de just recompiled for newer ncurses