]> git.pld-linux.org Git - packages/cftp.git/blob - cftp.spec
- added two patches: info (with texinfo fixes for correct info index entry
[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:        1
6 License:        GPL
7 Group:          Applications/Networking
8 Group(de):      Applikationen/Netzwerkwesen
9 Group(pl):      Aplikacje/Sieciowe
10 Source0:        http://ftp.giga.or.at/pub/nih/cftp/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-info.patch
12 Patch1:         %{name}-no_libnsl.patch
13 BuildRequires:  autoconf
14 BuildRequires:  ncurses-devel >= 5.0
15 BuildRequires:  readline-devel >= 4.1
16 BuildRequires:  gettext-devel
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 poprzez
29 protokó³ FTP. Jego zalety ponad innymi klientami ftp to pe³noekranowa
30 reprezentacja drzewa katalogów zdalnego komputera, wsparcie dla IPv6 i inne.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 autoconf
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 gzip -9nf AUTHORS ChangeLog NEWS THANKS TODO
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post
53 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
54
55 %postun
56 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.gz
61 %attr(755,root,root) %{_bindir}/*
62 %{_infodir}/*info*
This page took 0.058558 seconds and 3 git commands to generate.