]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
2c83a830f635f93ef4adb1109ab821ccee7dff6a
[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
27 poprzez protokó³ FTP. Jego zalety ponad innymi klientami ftp to
28 pe³noekranowa reprezentacja drzewa katalogów zdalnego komputera,
29 wsparcie dla IPv6 i inne.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 rm -f missing
38 aclocal
39 autoconf
40 automake -a -c
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install 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.055439 seconds and 2 git commands to generate.