ftp/ftp.spec

changeset 3
d4b4127cd2bb
equal deleted inserted replaced
-1:000000000000 0:94c4ffc8f1f5
1 # package information
2 Name: ftp
3 Summary: GNU ftp
4 URL: http://www.gnu.org/software/inetutils/
5 Vendor: Europalab Software
6 Packager: Michael Schloh von Bennewitz
7 Distribution: MeeGo Thirdparty
8 Group: Network
9 License: GPL
10 Version: 1.8
11 Release: 20101201
12
13 # list of sources
14 Source0: ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz
15
16 # build information
17 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18 BuildRequires: make
19 #Requires(pre): ncurses
20
21 %description
22 The classic ftp command is used for interactive communication
23 with another host using the ftp protocol. This particular
24 implementation is distributed in the GNU Internet Utilities.
25
26 %prep
27 %setup -q -n inetutils-%{version}
28
29 %build
30 CFLAGS="$RPM_OPT_FLAGS" \
31 ./configure \
32 --prefix=%{_prefix} \
33 --mandir=%{_mandir} \
34 --infodir=%{_infodir} \
35 --disable-servers \
36 --disable-telnet \
37 --disable-hostname \
38 --disable-ping \
39 --disable-ping6 \
40 --disable-rcp \
41 --disable-rexec \
42 --disable-rlogin \
43 --disable-rsh \
44 --disable-logger \
45 --disable-talk \
46 --disable-tftp \
47 --disable-whois \
48 --disable-ifconfig \
49 --disable-traceroute \
50 --disable-libls \
51 --disable-encryption \
52 --disable-authentication \
53 --without-krb4 \
54 --without-krb5 \
55 --without-wrap \
56 --without-pam
57
58 make %{?_smp_mflags}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 make install DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT%{_infodir}
64 strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(-,root,root,-)
71 %{_bindir}/*
72 %{_mandir}/man1/*
73

mercurial