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