]> git.pld-linux.org Git - packages/ftp.git/blob - ftp.spec
- finished updated to 0.17
[packages/ftp.git] / ftp.spec
1 Summary:        The standard UNIX FTP (file transfer protocol) client
2 Summary(de):    Standardmäßiger Unix-ftp-Client (file transfer protocol)
3 Summary(fr):    Client ftp (file transfer protocol) standard d'Unix
4 Summary(pl):    Standardowy klient ftp (file transfer protocol)
5 Summary(tr):    Standart UN*X ftp istemcisi
6 Name:           ftp
7 Version:        0.17
8 Release:        1
9 License:        BSD
10 Group:          Applications/Networking
11 Group(pl):      Aplikacje/Sieciowe
12 Source0:        ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz
13 Source1:        ftp.1.pl
14 Patch0:         netkit-ftp-macro-quit.patch
15 BuildRequires:  ncurses-devel >= 5.0
16 BuildRequires:  readline-devel >= 4.1
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Obsoletes:      lukemftp
19
20 %description
21 The ftp package provides the standard UNIX command-line FTP client.
22 FTP is the file transfer protocol, which is a widely used Internet
23 protocol for transferring files and for archiving files.
24
25 %description -l de
26 Dadurch wird der Standard-Unix-Befehlszeilen-FTP-Client
27 bereitgestellt. Ftp ist das Standard-Internet-Dateitransfer-Protokoll,
28 das sich sowohl für Dateiarchive als auch für Dateitransfers zwischen
29 Individuen großer Beliebtheit erfreut.
30
31 %description -l fr
32 Contient le client ftp en ligne de commande standard d'Unix. ftp est
33 le protocole standard de transfert de fichiers sur l'Internet. Il est
34 très utilisé pour les archives et les transferts de fichiers entre
35 individus.
36
37 %description -l pl
38 Pakiet ftp udostêpnia standardowego klienta FTP obs³ugiwanego z linii
39 poleceñ jaki jest obecny w ró¿nych systemach uniksowych. FTP jest
40 ptotoko³em do przesy³ania plików (File Transfer Protocol), bêd±cym
41 jednym z czê¶ciej u¿ywanych protoko³ów do przesy³ania i archiwizacji
42 plików miêdzy komputerami w Internecie.
43
44 %description -l tr
45 Bu pakette UN*X'in standart komut satýrý ftp istemcisi bulunmaktadýr.
46 Gerçi grafik arabirimlerin egemen olduðu bir çaðda biraz demode gibi
47 gözükebilir ancak anonim dosya arþivleri ve kiþiler arasý dosya
48 iletimi için hala yaygýn olarak kullanýlmaktadýr.
49
50 %prep
51 %setup -q -n netkit-ftp-%{version}
52 %patch0 -p1
53
54 %build
55 CFLAGS="$RPM_OPT_FLAGS" \
56 LDFLAGS="-s" \
57 ./configure --with-c-compiler=gcc
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/{man1,pl/man1}}
63
64 %{__make} install \
65         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
66         MANDIR=$RPM_BUILD_ROOT%{_mandir}
67
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/ftp.1
69
70 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
71 echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/man1/pftp.1
72
73 echo ".so ftp.1" > $RPM_BUILD_ROOT%{_mandir}/pl/man1/pftp.1
74
75 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/{man1/*,pl/man1/*}
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/ftp
83 %attr(755,root,root) %{_bindir}/pftp
84 %{_mandir}/man1/*
85 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.061289 seconds and 3 git commands to generate.