michael@2: # package information michael@2: Name: telnet michael@2: Summary: GNU telnet michael@2: URL: http://www.gnu.org/software/inetutils/ michael@2: Vendor: Europalab Software michael@2: Packager: Michael Schloh von Bennewitz michael@2: Distribution: MeeGo Thirdparty michael@2: Group: Network michael@2: License: GPL michael@2: Version: 1.8 michael@2: Release: 20101201 michael@2: michael@2: # list of sources michael@2: Source0: ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz michael@2: michael@2: # build information michael@2: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@2: BuildRequires: make michael@2: #Requires(pre): ncurses michael@2: michael@2: %description michael@2: The classic telnet command is used for interactive communication michael@2: with another host using the telnet protocol. This particular michael@2: implementation is distributed in the GNU Internet Utilities. michael@2: michael@2: %prep michael@2: %setup -q -n inetutils-%{version} michael@2: michael@2: %build michael@2: CFLAGS="$RPM_OPT_FLAGS" \ michael@2: ./configure \ michael@2: --prefix=%{_prefix} \ michael@2: --mandir=%{_mandir} \ michael@2: --infodir=%{_infodir} \ michael@2: --disable-servers \ michael@2: --disable-ftp \ michael@2: --disable-hostname \ michael@2: --disable-ping \ michael@2: --disable-ping6 \ michael@2: --disable-rcp \ michael@2: --disable-rexec \ michael@2: --disable-rlogin \ michael@2: --disable-rsh \ michael@2: --disable-logger \ michael@2: --disable-talk \ michael@2: --disable-tftp \ michael@2: --disable-whois \ michael@2: --disable-ifconfig \ michael@2: --disable-traceroute \ michael@2: --disable-libls \ michael@2: --disable-encryption \ michael@2: --disable-authentication \ michael@2: --without-krb4 \ michael@2: --without-krb5 \ michael@2: --without-wrap \ michael@2: --without-pam michael@2: michael@2: make %{?_smp_mflags} michael@2: michael@2: %install michael@2: rm -rf $RPM_BUILD_ROOT michael@2: make install DESTDIR=$RPM_BUILD_ROOT michael@2: strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true michael@2: rm -rf $RPM_BUILD_ROOT%{_infodir} michael@2: michael@2: %clean michael@2: rm -rf $RPM_BUILD_ROOT michael@2: michael@2: %files michael@2: %defattr(-,root,root,-) michael@2: %{_bindir}/* michael@2: %{_mandir}/man1/* michael@2: