1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/telnet/telnet.spec Fri Mar 11 21:39:41 2011 +0100 1.3 @@ -0,0 +1,73 @@ 1.4 +# package information 1.5 +Name: telnet 1.6 +Summary: GNU telnet 1.7 +URL: http://www.gnu.org/software/inetutils/ 1.8 +Vendor: Europalab Software 1.9 +Packager: Michael Schloh von Bennewitz 1.10 +Distribution: MeeGo Thirdparty 1.11 +Group: Network 1.12 +License: GPL 1.13 +Version: 1.8 1.14 +Release: 20101201 1.15 + 1.16 +# list of sources 1.17 +Source0: ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz 1.18 + 1.19 +# build information 1.20 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 1.21 +BuildRequires: make 1.22 +#Requires(pre): ncurses 1.23 + 1.24 +%description 1.25 + The classic telnet command is used for interactive communication 1.26 + with another host using the telnet protocol. This particular 1.27 + implementation is distributed in the GNU Internet Utilities. 1.28 + 1.29 +%prep 1.30 +%setup -q -n inetutils-%{version} 1.31 + 1.32 +%build 1.33 + CFLAGS="$RPM_OPT_FLAGS" \ 1.34 + ./configure \ 1.35 + --prefix=%{_prefix} \ 1.36 + --mandir=%{_mandir} \ 1.37 + --infodir=%{_infodir} \ 1.38 + --disable-servers \ 1.39 + --disable-ftp \ 1.40 + --disable-hostname \ 1.41 + --disable-ping \ 1.42 + --disable-ping6 \ 1.43 + --disable-rcp \ 1.44 + --disable-rexec \ 1.45 + --disable-rlogin \ 1.46 + --disable-rsh \ 1.47 + --disable-logger \ 1.48 + --disable-talk \ 1.49 + --disable-tftp \ 1.50 + --disable-whois \ 1.51 + --disable-ifconfig \ 1.52 + --disable-traceroute \ 1.53 + --disable-libls \ 1.54 + --disable-encryption \ 1.55 + --disable-authentication \ 1.56 + --without-krb4 \ 1.57 + --without-krb5 \ 1.58 + --without-wrap \ 1.59 + --without-pam 1.60 + 1.61 + make %{?_smp_mflags} 1.62 + 1.63 +%install 1.64 + rm -rf $RPM_BUILD_ROOT 1.65 + make install DESTDIR=$RPM_BUILD_ROOT 1.66 + strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true 1.67 + rm -rf $RPM_BUILD_ROOT%{_infodir} 1.68 + 1.69 +%clean 1.70 + rm -rf $RPM_BUILD_ROOT 1.71 + 1.72 +%files 1.73 +%defattr(-,root,root,-) 1.74 +%{_bindir}/* 1.75 +%{_mandir}/man1/* 1.76 +