]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
1eb2cd310e347c8cb70738df53184e0497df0ec7
[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:        2
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://ftp.giga.or.at/pub/nih/cftp/%{name}-%{version}.tar.gz
9 # Source0-md5:  e497c2cf060a6906f48ac99f55bedc8a
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-no_libnsl.patch
12 Patch2:         %{name}-AC_LIBOBJ.patch
13 Patch3:         %{name}-ac_better_tgetent_detection.patch
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  readline-devel >= 4.2
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 %patch2 -p1
36 %patch3 -p1
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
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 AUTHORS ChangeLog NEWS THANKS TODO
64 %attr(755,root,root) %{_bindir}/*
65 %{_infodir}/*.info*
This page took 0.021784 seconds and 2 git commands to generate.