Summary: A file mananger
-Summary(pl): Mened¿er plików
+Summary(pl.UTF-8): Zarządca plików
Name: clex
-Version: 3.1.2
+Version: 3.18
Release: 1
-License: GPL
-Group: Applications/Console
+License: GPL v2
+Group: Applications/Terminal
Source0: http://www.clex.sk/download/%{name}-%{version}.tar.gz
-URL: http://www.clex.sk/
+# Source0-md5: 5547890e8cb873eab85894775e8e2d21
+Patch0: %{name}-ncurses.patch
+URL: http://www.clex.sk/about.html
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: ncurses-devel
%description
CLEX is an interactive full-screen file manager.
-%description -l pl
-CLEX jest interaktywnym, pe³noekranowym mened¿erem plików.
+%description -l pl.UTF-8
+CLEX jest interaktywnym, pełnoekranowym zarządcą plików.
%prep
%setup -q
+%patch0 -p1
%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 AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/clex
%{_mandir}/man*/*