]> git.pld-linux.org Git - packages/yafc.git/blob - yafc.spec
92ffd71dbabaa1a072a619a45a4b2b0a5ab134c9
[packages/yafc.git] / yafc.spec
1 Summary:        Yafc is yet another FTP and SFTP client
2 Summary(pl.UTF-8):      Yafc to Jeszcze Jeden Klient FTP oraz SFTP
3 Name:           yafc
4 Version:        1.1.1
5 Release:        10
6 License:        GPL
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)
27
28 %define         specflags_ia32   -fomit-frame-pointer 
29
30 %description
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.
34
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.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44 %patch2 -p1
45 %patch3 -p1
46 %patch4 -p1
47
48 %build
49 rm -f missing
50 %{__libtoolize}
51 %{__aclocal} -I cf
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure
56 #       --with-socks5
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_desktopdir}}
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 install yafcrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/yafcrc
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p      /sbin/postshell
73 -/usr/sbin/fix-info-dir -c %{_infodir}
74
75 %postun -p      /sbin/postshell
76 -/usr/sbin/fix-info-dir -c %{_infodir}
77
78 %files
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
84 %{_mandir}/man1/*
85 %{_infodir}/yafc.info*
This page took 0.090295 seconds and 2 git commands to generate.