[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-cvs
Subject:    [CVS] OpenPKG: openpkg-src/mutt mutt.spec
From:       "Ralf S. Engelschall" <rse () openpkg ! org>
Date:       2002-05-30 18:43:36
[Download RAW message or body]

  OpenPKG CVS Repository
  http://www.openpkg.org/cvsweb/cvsweb.cgi
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  rse@openpkg.org
  Module: openpkg-src                      Date:   30-May-2002 20:43:36
  Branch: HEAD                             Handle: 2002053019433600

  Modified files:
    openpkg-src/mutt        mutt.spec

  Log:
    cleanup packaging

  Summary:
    Revision    Changes     Path
    1.31        +31 -14     openpkg-src/mutt/mutt.spec
  ____________________________________________________________________________

  Index: openpkg-src/mutt/mutt.spec
  ============================================================
  $ cvs diff -u -r1.30 -r1.31 mutt.spec
  --- openpkg-src/mutt/mutt.spec	30 May 2002 08:41:26 -0000	1.30
  +++ openpkg-src/mutt/mutt.spec	30 May 2002 18:43:36 -0000	1.31
  @@ -63,8 +63,8 @@
   
   %description
       Mutt is a small but very powerful text based program for reading
  -    electronic mail under Unix operating systems, including support
  -    color terminals, MIME, and a threaded sorting mode
  +    electronic mail under Unix operating systems, including support for
  +    color terminals, MIME, and a threaded sorting mode.
   
   %prep
       %setup -q -n mutt-%{V_mutt}
  @@ -76,6 +76,7 @@
   %endif
   
   %build
  +    #   configure for particular platform
       options=''
       case "%{l_target}" in
           *-freebsd* ) options="--enable-flock --disable-fcntl" ;;
  @@ -91,34 +92,50 @@
           --with-ssl=%{l_prefix} \
           --enable-pop \
           --enable-imap \
  -        --without-iconv \
  -        --without-wc-funcs \
  -        --disable-nls \
   %if "%{with_comp}" == "yes"
           --enable-compressed \
   %endif
   %if "%{with_nntp}" == "yes"
           --enable-nntp \
   %endif
  +        --enable-buffy-size \
  +        --without-iconv \
  +        --without-wc-funcs \
  +        --disable-nls \
           $options
  +    
  +    #   perform standard build procedure
       %{l_make} %{l_mflags}
   
   %install
       rm -rf $RPM_BUILD_ROOT
  -    %{l_shtool} subst -e "s;chmod 2755;true;" -e "s;chgrp mail;true;" Makefile
  +
  +    #   perform standard installation procedure
  +    %{l_shtool} subst \
  +        -e "s;chmod 2755;true;" \
  +        -e "s;chgrp mail;true;" \
  +        Makefile
       %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
  -    rm -f $RPM_BUILD_ROOT%{l_prefix}/share/mutt/[A-Za-d]*
  +
  +    #   strip down installation tree
  +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/share/mutt/[A-Za-d]*
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/mutt/html
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/mutt/samples
  -    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/flea
  -    rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/flea.1
  -    rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/muttbug
  -    rm -f $RPM_BUILD_ROOT%{l_prefix}/man/man1/muttbug.1
  -    %{l_shtool} install -c -m 644 -e 's;@l_prefix@;%{l_prefix};g' \
  +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/flea
  +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/man/man1/flea.1
  +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/bin/muttbug
  +    rm -f  $RPM_BUILD_ROOT%{l_prefix}/man/man1/muttbug.1
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +
  +    #   install additional files
  +    %{l_shtool} install -c -m 644 \
  +        -e 's;@l_prefix@;%{l_prefix};g' \
           %{SOURCE muttrc} $RPM_BUILD_ROOT%{l_prefix}/etc/mutt/Muttrc
  -    %{l_shtool} install -c -m 644 -e 's;@l_prefix@;%{l_prefix};g' \
  +    %{l_shtool} install -c -m 644 \
  +        -e 's;@l_prefix@;%{l_prefix};g' \
           %{SOURCE mailcap} $RPM_BUILD_ROOT%{l_prefix}/etc/mutt/mailcap
  -    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +
  +    #   determine installation files
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic