]> git.pld-linux.org Git - packages/cftp.git/blame - cftp.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/cftp.git] / cftp.spec
CommitLineData
cf3ff69c 1Summary: Fullscreen FTP client
ce1e4882 2Summary(pl.UTF-8): Pełnoekranowy klient FTP
7debfc5f 3Name: cftp
5c381bac 4Version: 0.12
aec0bdd8 5Release: 2
7debfc5f
AM
6License: GPL
7Group: Applications/Networking
7debfc5f 8Source0: http://ftp.giga.or.at/pub/nih/cftp/%{name}-%{version}.tar.gz
8416818f 9# Source0-md5: e497c2cf060a6906f48ac99f55bedc8a
9dbeb02d 10Patch0: %{name}-info.patch
11Patch1: %{name}-no_libnsl.patch
5c381bac 12Patch2: %{name}-AC_LIBOBJ.patch
13Patch3: %{name}-ac_better_tgetent_detection.patch
bd69cdef 14BuildRequires: autoconf >= 2.53
ea79db0b 15BuildRequires: automake
6881cb27 16BuildRequires: readline-devel >= 4.2
cf212ac6 17BuildRequires: texinfo
7debfc5f
AM
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
7debfc5f
AM
20%description
21CFTP is used to transfer files from one computer to another via the
cf3ff69c 22FTP protocol. It's advantages over most standard FTP clients is its
7debfc5f
AM
23fullscreen representation of the remote directory tree, providing a
24compact overview of the remote server's contents.
25
3ad9757b
JR
26%description -l pl.UTF-8
27CFTP jest używany do przesyłania plików z jednego komputera na inny
28poprzez protokół FTP. Jego zalety ponad innymi klientami FTP to
29pełnoekranowa reprezentacja drzewa katalogów zdalnego komputera,
21776df6 30wsparcie dla IPv6 i inne.
7debfc5f
AM
31
32%prep
33%setup -q
9dbeb02d 34%patch0 -p1
35%patch1 -p1
5c381bac 36%patch2 -p1
37%patch3 -p1
7debfc5f
AM
38
39%build
5c381bac 40%{__aclocal}
4d8b1701 41%{__autoconf}
bd69cdef 42%{__autoheader}
4d8b1701 43%{__automake}
7debfc5f
AM
44%configure
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
6881cb27 50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
7debfc5f 52
7debfc5f
AM
53%clean
54rm -rf $RPM_BUILD_ROOT
55
9b42e750
ER
56%post -p /sbin/postshell
57-/usr/sbin/fix-info-dir -c %{_infodir}
7debfc5f 58
9b42e750
ER
59%postun -p /sbin/postshell
60-/usr/sbin/fix-info-dir -c %{_infodir}
7debfc5f
AM
61
62%files
63%defattr(644,root,root,755)
5c381bac 64%doc AUTHORS ChangeLog NEWS THANKS TODO
7debfc5f 65%attr(755,root,root) %{_bindir}/*
bd69cdef 66%{_infodir}/*.info*
This page took 0.131949 seconds and 4 git commands to generate.