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

  Server: cvs.openpkg.org                  Name:   Christoph Schug
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-Jan-2003 16:02:06
  Branch: HEAD                             Handle: 2003010315020500

  Modified files:
    openpkg-src/boxes       boxes.spec

  Log:
    boxes does not work without config file

  Summary:
    Revision    Changes     Path
    1.24        +12 -3      openpkg-src/boxes/boxes.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/boxes/boxes.spec
  ============================================================================
  $ cvs diff -u -r1.23 -r1.24 boxes.spec
  --- openpkg-src/boxes/boxes.spec      3 Jan 2003 10:51:17 -0000       1.23
  +++ openpkg-src/boxes/boxes.spec      3 Jan 2003 15:02:05 -0000       1.24
  @@ -33,7 +33,7 @@
   Group:        Text
   License:      GPL
   Version:      1.0.1
  -Release:      20020416
  +Release:      20030103
   
   #   list of sources
   Source0:      http://boxes.thomasjensen.com/download/boxes-%{version}.src.tar.gz
  @@ -56,7 +56,12 @@
   
   %prep
       %setup -q
  -    %{l_shtool} subst -e 's;-traditional;;' src/regexp/Makefile
  +    %{l_shtool} subst \
  +        -e 's;^\(GLOBALCONF =\).*$;\1 %{l_prefix}/etc/boxes/boxes.conf;' \
  +        Makefile
  +    %{l_shtool} subst \
  +        -e 's;-traditional;;' \
  +        src/regexp/Makefile
   
   %build
       %{l_make} %{l_mflags}
  @@ -65,12 +70,16 @@
       rm -rf $RPM_BUILD_ROOT
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/etc/boxes \
           $RPM_BUILD_ROOT%{l_prefix}/man/man1
       %{l_shtool} install -c -s -m 755 \
           src/boxes $RPM_BUILD_ROOT%{l_prefix}/bin/
       %{l_shtool} install -c -m 644 \
  +        boxes-config $RPM_BUILD_ROOT%{l_prefix}/etc/boxes/boxes.conf
  +    %{l_shtool} install -c -m 644 \
           doc/boxes.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
  -    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} \
  +        '%config %{l_prefix}/etc/boxes/*'
   
   %files -f files
   
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to