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

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web openpkg$ Date:   19-Oct-2003 14:41:56
  Branch: HEAD                             Handle: 2003101913415402

  Added files:
    openpkg-re/vcheck       vc.opera
    openpkg-src/opera       opera.spec
  Modified files:
    openpkg-web             news.txt

  Log:
    new package: opera 7.21 (Graphical Web Browser)

  Summary:
    Revision    Changes     Path
    1.1         +19 -0      openpkg-re/vcheck/vc.opera
    1.1         +90 -0      openpkg-src/opera/opera.spec
    1.7074      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.opera
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.opera
  --- /dev/null 2003-10-19 14:41:54.000000000 +0200
  +++ vc.opera  2003-10-19 14:41:54.000000000 +0200
  @@ -0,0 +1,19 @@
  +config = {
  +}
  +
  +prog opera:freebsd = {
  +  version   = 721
  +  url       = ftp://ftp.opera.com/pub/opera/unix/freebsd/
  +  regex     = (\d\d\d)
  +}
  +prog opera:linux = {
  +  version   = 721
  +  url       = ftp://ftp.opera.com/pub/opera/linux/
  +  regex     = (\d\d\d)
  +}
  +prog opera:solaris = {
  +  version   = 721
  +  url       = ftp://ftp.opera.com/pub/opera/unix/solaris/
  +  regex     = (\d\d\d)
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/opera/opera.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 opera.spec
  --- /dev/null 2003-10-19 14:41:56.000000000 +0200
  +++ opera.spec        2003-10-19 14:41:56.000000000 +0200
  @@ -0,0 +1,90 @@
  +##
  +##  opera.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##  Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.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 version
  +%define       V_real  7.21
  +%define       V_comp  721
  +%define       V_date  20031013.1
  +
  +#   package information
  +Name:         opera
  +Summary:      Graphical Web Browser
  +URL:          http://www.opera.com/
  +Vendor:       Opera Software
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        Web
  +License:      Commercial
  +Version:      %{V_real}
  +Release:      20031019
  +
  +#   list of sources
  +Source0:      
ftp://ftp.opera.com/pub/opera/unix/freebsd/%{V_comp}/final/en/static/opera-%{V_real}-%{V_date}-static-qt.i386.freebsd.tar.bz2
  +Source1:      
ftp://ftp.opera.com/pub/opera/unix/solaris/%{V_comp}/final/en/static/opera-%{V_real}-%{V_date}-static-qt-sol8-sparc-local.tar.bz2
  +Source2:      
ftp://ftp.opera.com/pub/opera/linux/%{V_comp}/final/en/i386/static/opera-%{V_real}-%{V_date}-static-qt.i386.tar.bz2
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103
  +PreReq:       OpenPKG, openpkg >= 20030103, X11
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    Opera is a very fast graphical web browser.
  +
  +%prep
  +    %setup -q -c -T
  +    case "%{l_platform -t}" in
  +        i?86-freebsd[45]* ) src="%{SOURCE0}" ;;
  +        sun4?-sunos5*     ) src="%{SOURCE1}" ;;
  +        i?86-linux2*      ) src="%{SOURCE2}" ;;
  +        * ) echo "Platform \"%{l_platform -t}\" not supported" 1>&2; exit 1 ;;
  +    esac
  +    %{l_bzip2} -d -c $src | %{l_tar} xf -
  +
  +%build
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +    ( cd opera-*
  +      ./install.sh \
  +          --DESTDIR=$RPM_BUILD_ROOT \
  +          --exec_prefix=%{l_prefix}/libexec/opera \
  +          --wrapperdir=%{l_prefix}/bin \
  +          --docdir=%{l_prefix}/doc/opera \
  +          --sharedir=%{l_prefix}/share/opera \
  +          --plugindir=%{l_prefix}/libexec/opera \
  +          --verbose
  +      rm -rf $RPM_BUILD_ROOT%{l_prefix}/doc >/dev/null 2>&1 || true
  +    ) || exit $?
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.7073 -r1.7074 news.txt
  --- openpkg-web/news.txt      19 Oct 2003 11:46:01 -0000      1.7073
  +++ openpkg-web/news.txt      19 Oct 2003 12:41:54 -0000      1.7074
  @@ -1,3 +1,4 @@
  +19-Oct-2003: New package: P<opera-7.21-20031019>
   19-Oct-2003: Upgraded package: P<bar-1.03-20031019>
   19-Oct-2003: Upgraded package: P<acroread-5.08-20031019>
   19-Oct-2003: Upgraded package: P<snort-2.0.2-20031019>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to