OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  r...@openpkg.org
  Module: openpkg-src                      Date:   01-Mar-2009 11:45:48
  Branch: HEAD                             Handle: 2009030110454800

  Modified files:
    openpkg-src/icecast     icecast.spec

  Log:
    more comments

  Summary:
    Revision    Changes     Path
    1.2         +11 -0      openpkg-src/icecast/icecast.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/icecast/icecast.spec
  ============================================================================
  $ cvs diff -u -r1.1 -r1.2 icecast.spec
  --- openpkg-src/icecast/icecast.spec  1 Mar 2009 10:41:09 -0000       1.1
  +++ openpkg-src/icecast/icecast.spec  1 Mar 2009 10:45:48 -0000       1.2
  @@ -84,19 +84,30 @@
       %{l_make} %{l_mflags -O}
   
   %install
  +    #   install program
       rm -rf $RPM_BUILD_ROOT
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +
  +    #   strip down installation
       strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc >/dev/null 2>&1 || true
       rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/icecast/doc >/dev/null 2>&1 || 
true
  +
  +    #   install default configuration
       %{l_shtool} install -c -m 644 %{l_value -s -a} \
           %{SOURCE icecast.xml} $RPM_BUILD_ROOT%{l_prefix}/etc/icecast/
  +
  +    #   install run-command script
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
       %{l_shtool} install -c -m 644 %{l_value -s -a} \
           %{SOURCE rc.icecast} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
  +
  +    #   create run-time directory
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/var/icecast
  +
  +    #   determine installation files
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
           %{l_files_std} \
           '%config %{l_prefix}/etc/icecast/*' \
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to