+Summary: Xdialog in replacement for the dialog program
+Summary(pl): Xdialog jest zamiennikiem dla programu cdialog
Name: Xdialog
-Summary: Xdialog in replacement for the cdialog program
-Version: 1.4.1
-Release: 2
+Version: 1.5.1
+Release: 1
License: GPL
-Group: X11/Administration
-Source0: http://xdialog.free.fr/Xdialog-%{version}.tar.bz2
+Group: X11/Applications
+Group(pl): X11/Aplikacje
+Source0: http://xdialog.free.fr/%{name}-%{version}.tar.bz2
URL: http://xdialog.free.fr/
+BuildRequires: gtk+-devel >= 1.2.0
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).
+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).
+
+%description -l pl
+Xdialog jest zaprojektowany by byæ odpowiednikiem, zamiennikiem dla
+programu cdialog. Dziêki niemu dowolny terminalowy program u¿ywaj±cy
+dialoga w program z interejsem X-window.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
-LDFLAGS="-s"; export LDFLAGS
%configure
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-gzip -9fn README NEWS AUTHORS BUGS ChangeLog samples/*
+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
+%doc *.gz samples/*.gz html
%attr(755,root,root) %{_bindir}/*