inetutils/inetutils.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
     1.1 --- a/inetutils/inetutils.spec	Fri Mar 11 21:30:26 2011 +0100
     1.2 +++ b/inetutils/inetutils.spec	Fri Mar 11 21:36:51 2011 +0100
     1.3 @@ -2,9 +2,9 @@
     1.4  Name:          inetutils
     1.5  Summary:       GNU Internet Utilities
     1.6  URL:           http://www.gnu.org/software/inetutils/
     1.7 -Vendor:        Free Software Foundation
     1.8 +Vendor:        Europalab Software
     1.9  Packager:      Michael Schloh von Bennewitz
    1.10 -Distribution:  OpenPKG Community
    1.11 +Distribution:  MeeGo Thirdparty
    1.12  Group:         Network
    1.13  License:       GPL
    1.14  Version:       1.8
    1.15 @@ -15,14 +15,15 @@
    1.16  
    1.17  #   build information
    1.18  BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root
    1.19 -BuildRequires: ncurses, make
    1.20 -Requires(pre): ncurses
    1.21 +BuildRequires: make
    1.22 +#Requires(pre): ncurses
    1.23  
    1.24  %description
    1.25      The GNU Internet Utilities are a collection of common network
    1.26 -    programs. Please note that specific to this OpenPKG version only a
    1.27 -    subset of the original GNU Internet Utilities is provided. Mainly we
    1.28 -    provide networking clients only.
    1.29 +    programs. A subset of the GNU Internet Utilities is provided,
    1.30 +    namely only the client programs are installed. These clients
    1.31 +    all start with the letter 'g' to allow them to coexist with
    1.32 +    vendor neutral network programs like ftp(1) and telnet(1).
    1.33  
    1.34  %prep
    1.35  %setup -q
    1.36 @@ -33,10 +34,8 @@
    1.37          --prefix=%{_prefix} \
    1.38          --mandir=%{_mandir} \
    1.39          --infodir=%{_infodir} \
    1.40 +        --disable-servers \
    1.41          --program-prefix=g \
    1.42 -        --disable-servers \
    1.43 -        --disable-tftp \
    1.44 -        --disable-whois \
    1.45          --disable-libls \
    1.46          --disable-encryption \
    1.47          --disable-authentication \
    1.48 @@ -44,6 +43,7 @@
    1.49          --without-krb5 \
    1.50          --without-wrap \
    1.51          --without-pam
    1.52 +
    1.53      make %{?_smp_mflags}
    1.54  
    1.55  %install
    1.56 @@ -51,8 +51,8 @@
    1.57      make install DESTDIR=$RPM_BUILD_ROOT
    1.58      strip $RPM_BUILD_ROOT%{_bindir}/* >/dev/null 2>&1 || true
    1.59      rm -f $RPM_BUILD_ROOT%{_infodir}/dir
    1.60 -    for i in tftp syslog.conf ftpd inetd rexecd rlogind rshd syslogd talkd \
    1.61 -        telnetd tftpd; do
    1.62 +    for i in syslog.conf ftpd inetd rexecd \
    1.63 +        rlogind rshd syslogd talkd telnetd tftpd; do
    1.64          rm -f $RPM_BUILD_ROOT%{_mandir}/man?/g$i.?
    1.65      done
    1.66  
    1.67 @@ -61,5 +61,7 @@
    1.68  
    1.69  %files
    1.70  %defattr(-,root,root,-)
    1.71 -%{_bindir}/*
    1.72 +%attr(755,root,root) %{_bindir}/*
    1.73 +%{_mandir}/man1/*
    1.74 +%{_infodir}/*
    1.75  

mercurial