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