]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
- massive attack: adding Source-md5
[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 # 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
15 BuildRequires:  automake
16 BuildRequires:  readline-devel >= 4.2
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
29 poprzez protokó³ FTP. Jego zalety ponad innymi klientami ftp to
30 pe³noekranowa reprezentacja drzewa katalogów zdalnego komputera,
31 wsparcie dla IPv6 i inne.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38 %patch3 -p1
39
40 %build
41 rm -f missing
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
59
60 %postun
61 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS THANKS TODO
66 %attr(755,root,root) %{_bindir}/*
67 %{_infodir}/*info*
This page took 0.042384 seconds and 3 git commands to generate.