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