2 # - package bash completions
4 Summary: Yafc is yet another FTP and SFTP client
5 Summary(pl.UTF-8): Yafc to Jeszcze Jeden Klient FTP oraz SFTP
10 Group: Applications/Networking
11 Source0: http://www.yafc-ftp.com/downloads/%{name}-%{version}.tar.xz
12 # Source0-md5: 4b6e0d46ab7ab78956bbb106ae904820
13 Source1: %{name}.desktop
14 URL: http://www.yafc-ftp.com/
15 BuildRequires: heimdal-devel
16 BuildRequires: libbsd-devel
17 BuildRequires: ncurses-devel
18 BuildRequires: readline-devel
19 #BuildRequires: socks5-devel
20 BuildRequires: texinfo
21 Requires: openssh-clients
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define specflags_ia32 -fomit-frame-pointer
27 Yafc is yet another FTP client, similar to ftp(1). It is an
28 interactive interface to the FTP protocol and SFTP protocol.
29 #It has SOCKS5 protocol support.
31 %description -l pl.UTF-8
32 Yafc to Jeszcze Jeden Klient FTP, podobny do ftp(1). Ma interaktywny
33 interfejs do protokołu FTP oraz SFTP.
34 #Obsługuje protokół SOCKS5.
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_desktopdir}}
49 DESTDIR=$RPM_BUILD_ROOT
51 install samples/yafcrc $RPM_BUILD_ROOT%{_sysconfdir}/yafcrc
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55 rm -rf $RPM_BUILD_ROOT
57 %post -p /sbin/postshell
58 -/usr/sbin/fix-info-dir -c %{_infodir}
60 %postun -p /sbin/postshell
61 -/usr/sbin/fix-info-dir -c %{_infodir}
64 %defattr(644,root,root,755)
65 %doc BUGS COPYRIGHT NEWS README.md THANKS TODO
66 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yafcrc
67 %attr(755,root,root) %{_bindir}/*
68 %{_desktopdir}/*.desktop
70 %{_infodir}/yafc.info*