]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
23f239ef7911f6034d4a13f30cecc569d9a43f59
[packages/cftp.git] / cftp.spec
1 Summary:        Fullscreen ftp client
2 Summary(pl):    Pe³noekranowy klient ftp
3 Name:           cftp
4 Version:        0.10
5 Release:        2
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:  ncurses-devel >= 5.0
14 BuildRequires:  readline-devel >= 4.1
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _sysconfdir     /etc
18
19 %description
20 CFTP is used to transfer files from one computer to another via the
21 FTP protocol.  It's advantages over most standard ftp clients is its
22 fullscreen representation of the remote directory tree, providing a
23 compact overview of the remote server's contents.
24
25 %description -l pl
26 CFTP jest u¿ywany do przesy³ania plików z jednego komputera na inny poprzez
27 protokó³ FTP. Jego zalety ponad innymi klientami ftp to pe³noekranowa
28 reprezentacja drzewa katalogów zdalnego komputera, 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
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install DESTDIR=$RPM_BUILD_ROOT
47
48 gzip -9nf AUTHORS ChangeLog NEWS THANKS TODO
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
55
56 %postun
57 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
58
59 %files
60 %defattr(644,root,root,755)
61 %doc *.gz
62 %attr(755,root,root) %{_bindir}/*
63 %{_infodir}/*info*
This page took 0.039342 seconds and 2 git commands to generate.