telnet/telnet.spec

Fri, 11 Mar 2011 21:41:16 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 11 Mar 2011 21:41:16 +0100
changeset 3
d4b4127cd2bb
permissions
-rw-r--r--

Import unmodified vendor specs for introduction into repository.

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

mercurial