Name: Xdialog Summary: Xdialog in replacement for the cdialog program Version: 1.4.3 Release: 1 License: GPL Group: X11/Applications Group(pl): X11/Aplikacje Source0: http://xdialog.free.fr/%{name}-%{version}.tar.bz2 URL: http://xdialog.free.fr/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %description Xdialog is designed to be a drop in replacement for the cdialog program. It converts any terminal based program into a program with an X-windows interface. The dialogs are easier to see and use and Xdialog adds even more functionalities (help button+box, treeview, editbox, file selector, range box, and much more). %prep rm -rf $RPM_BUILD_ROOT %setup -q %build LDFLAGS="-s"; export LDFLAGS %configure make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT gzip -9nf README NEWS AUTHORS BUGS ChangeLog samples/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc {README,NEWS,AUTHORS,BUGS,ChangeLog}.gz samples/*.gz %attr(755,root,root) %{_bindir}/*