]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
727d72593dd10bdb29f2613b1a34eaad7882d923
[packages/cftp.git] / cftp.spec
1 Summary:        Fullscreen ftp client
2 Summary(pl):    Pe³noekranowy klient ftp
3 Name:           cftp
4 Version:        0.11.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://ftp.giga.or.at/pub/nih/cftp/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-info.patch
10 Patch1:         %{name}-no_libnsl.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  readline-devel >= 4.2
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _sysconfdir     /etc
17
18 %description
19 CFTP is used to transfer files from one computer to another via the
20 FTP protocol. It's advantages over most standard ftp clients is its
21 fullscreen representation of the remote directory tree, providing a
22 compact overview of the remote server's contents.
23
24 %description -l pl
25 CFTP jest u¿ywany do przesy³ania plików z jednego komputera na inny
26 poprzez protokó³ FTP. Jego zalety ponad innymi klientami ftp to
27 pe³noekranowa reprezentacja drzewa katalogów zdalnego komputera,
28 wsparcie dla IPv6 i inne.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 rm -f missing
37 aclocal
38 autoconf
39 automake -a -c -f
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 gzip -9nf AUTHORS ChangeLog NEWS THANKS TODO
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
56
57 %postun
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.gz
63 %attr(755,root,root) %{_bindir}/*
64 %{_infodir}/*info*
This page took 0.037498 seconds and 2 git commands to generate.