Summary: A file mananger
-Summary(pl): Mened¿er plików
+Summary(pl): Zarz±dca plików
Name: clex
-Version: 3.1.2
+Version: 3.1.8
Release: 1
License: GPL
-Group: Applications/Console
-Source0: http://www.clex.sk/download/%{name}-%{version}.tar.gz
+Group: Applications/Terminal
+Source0: http://www.clex.sk/download/%{name}-%{version}.src.tar.gz
+# Source0-md5: a4c9f7d169f4fadb40ed7582ee2dd2f3
+Patch0: %{name}-ncurses.patch
URL: http://www.clex.sk/
BuildRequires: autoconf
BuildRequires: automake
CLEX is an interactive full-screen file manager.
%description -l pl
-CLEX jest interaktywnym, pe³noekranowym mened¿erem plików.
+CLEX jest interaktywnym, pe³noekranowym zarz±dc± plików.
%prep
%setup -q
+%patch0 -p1
+mv -f autoconf.h.bot config.h.bot
%build
-aclocal
-autoconf
-automake -a -c
-CPPFLAGS="-I/usr/include/ncurses"; export CPPFLAGS
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf ChangeLog
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
+%doc ChangeLog
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/clex
%{_mandir}/man*/*