]>
Commit | Line | Data |
---|---|---|
7984a253 JR |
1 | # TODO: |
2 | # - package bash completions | |
3 | # | |
6134f65e | 4 | Summary: Yafc is yet another FTP and SFTP client |
aa9ae472 | 5 | Summary(pl.UTF-8): Yafc to Jeszcze Jeden Klient FTP oraz SFTP |
7864d757 | 6 | Name: yafc |
7984a253 JR |
7 | Version: 1.3.7 |
8 | Release: 1 | |
7864d757 RW |
9 | License: GPL |
10 | Group: Applications/Networking | |
7984a253 JR |
11 | Source0: http://www.yafc-ftp.com/downloads/%{name}-%{version}.tar.xz |
12 | # Source0-md5: 4b6e0d46ab7ab78956bbb106ae904820 | |
3c4476b7 | 13 | Source1: %{name}.desktop |
7984a253 | 14 | URL: http://www.yafc-ftp.com/ |
7cd5d45e | 15 | BuildRequires: heimdal-devel |
7984a253 | 16 | BuildRequires: libbsd-devel |
958b9232 | 17 | BuildRequires: ncurses-devel |
7864d757 | 18 | BuildRequires: readline-devel |
43f6a242 | 19 | #BuildRequires: socks5-devel |
f9b41f72 | 20 | BuildRequires: texinfo |
d92e51ca | 21 | Requires: openssh-clients |
7864d757 RW |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
eea22a04 | 24 | %define specflags_ia32 -fomit-frame-pointer |
8856380f | 25 | |
7864d757 | 26 | %description |
6134f65e | 27 | Yafc is yet another FTP client, similar to ftp(1). It is an |
958b9232 JB |
28 | interactive interface to the FTP protocol and SFTP protocol. |
29 | #It has SOCKS5 protocol support. | |
7864d757 | 30 | |
b57b5fe7 | 31 | %description -l pl.UTF-8 |
6134f65e | 32 | Yafc to Jeszcze Jeden Klient FTP, podobny do ftp(1). Ma interaktywny |
b57b5fe7 JR |
33 | interfejs do protokołu FTP oraz SFTP. |
34 | #Obsługuje protokół SOCKS5. | |
7864d757 RW |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
f95d9386 | 40 | %configure |
f9b41f72 | 41 | # --with-socks5 |
42 | %{__make} | |
7864d757 RW |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
3c4476b7 | 46 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_desktopdir}} |
f9b41f72 | 47 | |
09c80cea | 48 | %{__make} install \ |
7b63c821 | 49 | DESTDIR=$RPM_BUILD_ROOT |
f9b41f72 | 50 | |
7984a253 | 51 | install samples/yafcrc $RPM_BUILD_ROOT%{_sysconfdir}/yafcrc |
3c4476b7 | 52 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
7864d757 | 53 | |
7864d757 RW |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
398ac708 ER |
57 | %post -p /sbin/postshell |
58 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
7864d757 | 59 | |
398ac708 ER |
60 | %postun -p /sbin/postshell |
61 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
7864d757 RW |
62 | |
63 | %files | |
64 | %defattr(644,root,root,755) | |
7984a253 | 65 | %doc BUGS COPYRIGHT NEWS README.md THANKS TODO |
76198bb4 | 66 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yafcrc |
7864d757 | 67 | %attr(755,root,root) %{_bindir}/* |
4789866a | 68 | %{_desktopdir}/*.desktop |
7864d757 | 69 | %{_mandir}/man1/* |
7a33c844 | 70 | %{_infodir}/yafc.info* |