1# 2# CLEX File Manager RPM spec file 3# 4Summary: A free file manager with a full-screen user interface 5Name: clex 6Version: 4.6.patch9 7Release: 1%{?dist} 8License: GPLv2+ 9Group: Applications/File 10Source: http://www.clex.sk/download/clex-4.6.patch9.tar.gz 11URL: http://www.clex.sk 12Requires: ncurses 13BuildRequires: ncurses-devel 14BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 15%changelog 16# empty 17 18%description 19CLEX (pronounced KLEKS) is a file manager with a full-screen user 20interface. It displays directory contents including the file status 21details and provides features like command history, filename insertion, 22or name completion in order to help users to create commands to be 23executed by the shell. 24 25CLEX is a versatile tool for system administrators and all users that 26utilize the enormous power of the command line. Its unique one-panel 27user interface enhances productivity and lessens the probability of 28mistake. There are no built-in commands, CLEX is an add-on to your 29favorite shell. 30 31%prep 32%setup -q 33 34%build 35./configure --bindir=/usr/bin --mandir=/usr/share/man --sysconfdir=/etc 36make 37 38%install 39rm -rf %{buildroot} 40make install DESTDIR=%{buildroot} 41 42%files 43%defattr(-,root,root,-) 44%{_bindir}/clex 45%{_bindir}/cfg-clex 46%{_bindir}/kbd-test 47%{_mandir}/man1/clex.1.gz 48%{_mandir}/man1/cfg-clex.1.gz 49%{_mandir}/man1/kbd-test.1.gz 50 51%clean 52rm -rf %{buildroot} 53