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

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   29-Aug-2005 15:16:37
  Branch: HEAD                             Handle: 2005082914163500

  Added files:
    openpkg-src/ase         ase.spec

  Log:
    new package: ase 0.1.8 (Affiliation Services Environment)

  Summary:
    Revision    Changes     Path
    1.1         +119 -0     openpkg-src/ase/ase.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ase/ase.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 ase.spec
  --- /dev/null 2005-08-29 15:16:36 +0200
  +++ ase.spec  2005-08-29 15:16:36 +0200
  @@ -0,0 +1,119 @@
  +##
  +##  ase.spec -- OpenPKG RPM Package Specification
  +##  Copyright (c) 2000-2005 OpenPKG Foundation e.V. <http://openpkg.net/>
  +##  Copyright (c) 2000-2005 Ralf S. Engelschall <http://engelschall.com/>
  +##
  +##  Permission to use, copy, modify, and distribute this software for
  +##  any purpose with or without fee is hereby granted, provided that
  +##  the above copyright notice and this permission notice appear in all
  +##  copies.
  +##
  +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  +##  SUCH DAMAGE.
  +##
  +
  +#   package information
  +Name:         ase
  +Summary:      Affiliation Services Environment
  +URL:          http://www.ase.org/
  +Vendor:       The OSSP Project
  +Packager:     OpenPKG
  +Distribution: OpenPKG
  +Class:        JUNK
  +Group:        Web
  +License:      GPL
  +Version:      0.1.8
  +Release:      20050829
  +
  +#   list of sources
  +Source0:      ftp://ftp.ossp.org/pkg/tool/ase/ase-%{version}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20040130, sqlite, make
  +PreReq:       OpenPKG, openpkg >= 20040130, apache, perl
  +PreReq:       perl-gd, perl-locale, perl-mail, perl-sys, perl-util, 
perl-www, perl-crypto, perl-db
  +PreReq:       perl-dbi, perl-dbi::with_dbd_sqlite = yes
  +PreReq:       uuid, uuid::with_perl = yes
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    OSSP ase is...
  +
  +%track
  +    prog ase = {
  +        version   = %{version}
  +        url       = ftp://ftp.ossp.org/pkg/tool/ase/
  +        regex     = ase-(__VER__)\.tar\.gz
  +    }
  +
  +%prep
  +    %setup -q
  +
  +%build
  +    %{l_make} ase.db
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +
  +    %{l_shtool} mkdir -p -m 755 \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin \
  +        $RPM_BUILD_ROOT%{l_prefix}/cgi \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/ase \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/ase \
  +        $RPM_BUILD_ROOT%{l_prefix}/libexec/ase
  +
  +    %{l_shtool} install -c -m 664 \
  +        ase.db ase.sdb \
  +        $RPM_BUILD_ROOT%{l_prefix}/var/ase/
  +
  +    %{l_shtool} install -c -m 755 \
  +        -e 's;/usr/bin/env perl;%{l_prefix}/bin/perl;' \
  +        -e 's;\(-path_libdir => .\).\(.,\);\1%{l_prefix}/libexec/ase\2;' \
  +        -e 's;\(-path_vardir => .\).\(.,\);\1%{l_prefix}/var/ase\2;' \
  +        -e 's;\(-path_datdir => .\).\(.,\);\1%{l_prefix}/share/ase\2;' \
  +        ase.pl \
  +        $RPM_BUILD_ROOT%{l_prefix}/bin/ase
  +
  +    %{l_shtool} install -c -m 755 \
  +        -e 's;/usr/bin/env perl;%{l_prefix}/bin/perl;' \
  +        -e 's;\(-path_libdir => .\).\(.,\);\1%{l_prefix}/libexec/ase\2;' \
  +        -e 's;\(-path_vardir => .\).\(.,\);\1%{l_prefix}/var/ase\2;' \
  +        -e 's;\(-path_datdir => .\).\(.,\);\1%{l_prefix}/share/ase\2;' \
  +        ase.cgi \
  +        $RPM_BUILD_ROOT%{l_prefix}/cgi/
  +
  +    %{l_shtool} install -c -m 755 \
  +        ase.*.pl \
  +        $RPM_BUILD_ROOT%{l_prefix}/libexec/ase/
  +
  +    %{l_shtool} install -c -m 755 \
  +        ase.sql \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/ase/
  +
  +    %{l_shtool} install -c -m 744 \
  +        ase.css ase.html ase.img.*.png \
  +        $RPM_BUILD_ROOT%{l_prefix}/share/ase/
  +
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  +        %{l_files_std} \
  +        '%dir %attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/ase' \
  +        '%attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/ase/*'
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to