Summary: Xdialog in replacement for the dialog program
Summary(pl): Xdialog jest zamiennikiem dla programu cdialog
Name: Xdialog
-Version: 2.0.1
+Version: 2.0.6
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/
+Source0: http://www.chez.com/godefroy/%{name}-%{version}.tar.bz2
+# Source0-md5: 53b2f0246af8ac51455c02391adba3fb
+Patch0: %{name}-ac_fix.patc
+URL: http://www.chez.com/godefroy/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gtk+-devel >= 1.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%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
+X Window 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.
+dialogu mo¿a zamieniæ w program z interejsem X Window.
%prep
%setup -q
+%patch -p1
%build
-%configure
-%{__make}
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%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 *.gz samples/*.gz
+%doc README NEWS AUTHORS BUGS ChangeLog samples/
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*