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