]> git.pld-linux.org Git - packages/yafc.git/blob - yafc.spec
rebuild with openssl 3.0.0
[packages/yafc.git] / yafc.spec
1 # TODO:
2 #       - package bash completions
3 #
4 Summary:        Yafc is yet another FTP and SFTP client
5 Summary(pl.UTF-8):      Yafc to Jeszcze Jeden Klient FTP oraz SFTP
6 Name:           yafc
7 Version:        1.3.7
8 Release:        4
9 License:        GPL
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)
23
24 %define         specflags_ia32   -fomit-frame-pointer 
25
26 %description
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.
30
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.
35
36 %prep
37 %setup -q
38
39 %build
40 %configure
41 #       --with-socks5
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_desktopdir}}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install samples/yafcrc $RPM_BUILD_ROOT%{_sysconfdir}/yafcrc
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p      /sbin/postshell
58 -/usr/sbin/fix-info-dir -c %{_infodir}
59
60 %postun -p      /sbin/postshell
61 -/usr/sbin/fix-info-dir -c %{_infodir}
62
63 %files
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
69 %{_mandir}/man1/*
70 %{_infodir}/yafc.info*
This page took 0.093966 seconds and 4 git commands to generate.