%define alphatag b4 Summary: Console FTP client Name: nftp Version: 1.72 Release: 0.n0i.5.%{alphatag}%{?dist} Group: Applications/Internet License: Commercial URL: http://www.ayukov.com/ Source: http://www.ayukov.com/ftp/pub/nftp/beta/%{name}-%{version}.%{alphatag}-i386-linuxlibc6.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: i386 ExclusiveArch: i386 %description NFTP is a multilanguage text-mode ftp client with a *Commander like interface . The biggest advantage (and one of the main design concepts) of NFTP is the speed and effectiveness of its text-mode keyboard user interface. Everything can be done without mouse! %package X11 Summary: X11 FTP client Group: Applications/Internet Requires: %{name} = %{version} %description X11 XNFTP is a multilanguage X11 ftp client with a *Commander like interface. The biggest advantage (and one of the main design concepts) of NFTP is the speed and effectiveness of its text-mode keyboard user interface. Everything can be done without mouse! %prep %setup -n %{name}-%{version}.%{alphatag} %install %{__rm} -rf $RPM_BUILD_ROOT %{__install} -d -m0755 $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/nftp/nls,%{_mandir}/man1} %{__install} -m0755 nftp xnftp $RPM_BUILD_ROOT%{_bindir}/ %{__install} -m0644 nftp.{i,xpm,bm} $RPM_BUILD_ROOT%{_libdir}/nftp/ %{__install} -m0644 *.{nls,mnu}* $RPM_BUILD_ROOT%{_libdir}/nftp/nls/ %{__install} -m0644 nftp.1 $RPM_BUILD_ROOT%{_mandir}/man1/ %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENSE *.txt *.html readme.1st %doc %{_mandir}/man*/* %{_bindir}/%{name} %{_libdir}/%{name} %files X11 %defattr(-,root,root) %{_bindir}/xnftp %changelog * Mon Aug 21 2006 Marius FERARU - 1.72-0.n0i.5.b4 - Dist macro * Thu Jul 28 2005 Marius FERARU - 1.72-0.n0i.4.b4 - rebuild * Sat Feb 14 2004 Marius FERARU - 1.72-0.n0i.3.b4 - version 1.72b4 - Fedora-ized spec * Sat Jun 14 2003 Marius FERARU - 1.72-0.n0i.2.b2 - rebuild on RHL9 * Sat Mar 29 2003 Marius FERARU - 1.72-0.n0i.1.b2 - initial rpm package for %{name} version 1.72.b2