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.

     1 #   package information
     2 Name:          telnet
     3 Summary:       GNU telnet
     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
    13 #   list of sources
    14 Source0:       ftp://ftp.gnu.org/gnu/inetutils/inetutils-%{version}.tar.gz
    16 #   build information
    17 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
    18 BuildRequires: make
    19 #Requires(pre): ncurses
    21 %description
    22     The classic telnet command is used for interactive communication
    23     with another host using the telnet protocol. This particular
    24     implementation is distributed in the GNU Internet Utilities.
    26 %prep
    27 %setup -q -n inetutils-%{version}
    29 %build
    30     CFLAGS="$RPM_OPT_FLAGS" \
    31     ./configure \
    32         --prefix=%{_prefix} \
    33         --mandir=%{_mandir} \
    34         --infodir=%{_infodir} \
    35         --disable-servers \
    36         --disable-ftp \
    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
    58     make %{?_smp_mflags}
    60 %install
    61     rm -rf $RPM_BUILD_ROOT
    62     make install DESTDIR=$RPM_BUILD_ROOT
    63     strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true
    64     rm -rf $RPM_BUILD_ROOT%{_infodir}
    66 %clean
    67     rm -rf $RPM_BUILD_ROOT
    69 %files
    70 %defattr(-,root,root,-)
    71 %{_bindir}/*
    72 %{_mandir}/man1/*

mercurial