]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
- BR: texinfo
[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 BuildRequires:  texinfo
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
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.038812 seconds and 3 git commands to generate.