%define _date 20080316 Summary: Nice user interface for shell scripts Name: dialog Version: 1.1 Release: 1 License: GPL Group: System/Base Source: %{name}_%{version}-%{_date}.orig.tar.gz %description Dialog is a utility t create nice user interfaces to shell scripts. %prep %setup -q -n %{name}-%{version}-%{_date} %build ./configure --prefix=/usr \ --enable-nls --with-ncurses --with-libtool --enable-widec make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install chmod -v 755 $RPM_BUILD_ROOT/usr/lib/libdialog.so.*.*.* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /