1 Summary: Yafc is yet another FTP and SFTP client
2 Summary(pl.UTF-8): Yafc to Jeszcze Jeden Klient FTP oraz SFTP
7 Group: Applications/Networking
8 Source0: http://dl.sourceforge.net/yafc/%{name}-%{version}.tar.bz2
9 # Source0-md5: 832d074183a36ee15b47553ed5962fce
10 Source1: %{name}.desktop
11 URL: http://yafc.sourceforge.net/
12 Patch0: %{name}-errno.patch
13 Patch1: %{name}-info.patch
14 Patch2: %{name}-tinfo.patch
15 Patch3: %{name}-home_etc.patch
16 Patch4: %{name}-gssapi.patch
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: heimdal-devel
20 BuildRequires: libtool
21 BuildRequires: ncurses-devel
22 BuildRequires: readline-devel
23 #BuildRequires: socks5-devel
24 BuildRequires: texinfo
25 Requires: openssh-clients
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define specflags_ia32 -fomit-frame-pointer
31 Yafc is yet another FTP client, similar to ftp(1). It is an
32 interactive interface to the FTP protocol and SFTP protocol.
33 #It has SOCKS5 protocol support.
35 %description -l pl.UTF-8
36 Yafc to Jeszcze Jeden Klient FTP, podobny do ftp(1). Ma interaktywny
37 interfejs do protokołu FTP oraz SFTP.
38 #Obsługuje protokół SOCKS5.
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_desktopdir}}
64 DESTDIR=$RPM_BUILD_ROOT
66 install yafcrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/yafcrc
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/postshell
73 -/usr/sbin/fix-info-dir -c %{_infodir}
75 %postun -p /sbin/postshell
76 -/usr/sbin/fix-info-dir -c %{_infodir}
79 %defattr(644,root,root,755)
80 %doc BUGS COPYRIGHT NEWS README THANKS TODO
81 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yafcrc
82 %attr(755,root,root) %{_bindir}/*
83 %{_desktopdir}/*.desktop
85 %{_infodir}/yafc.info*