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:   25-Jul-2003 21:53:15
  Branch: HEAD                             Handle: 2003072520531203

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

  Log:
    new package: wxwindows 2.4.1 (Cross-Platform GUI Library)

  Summary:
    Revision    Changes     Path
    1.1         +9  -0      openpkg-re/vcheck/vc.wxwindows
    1.1         +103 -0     openpkg-src/wxwindows/wxwindows.spec
    1.5818      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.wxwindows
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.wxwindows
  --- /dev/null 2003-07-25 21:53:13.000000000 +0200
  +++ vc.wxwindows      2003-07-25 21:53:13.000000000 +0200
  @@ -0,0 +1,9 @@
  +config = {
  +}
  +
  +prog wxwindows = {
  +  version   = 2.4.1
  +  url       = http://prdownloads.sourceforge.net/wxwindows/
  +  regex     = wxGTK-(__VER__)\.tar\.bz2
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/wxwindows/wxwindows.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 wxwindows.spec
  --- /dev/null 2003-07-25 21:53:15.000000000 +0200
  +++ wxwindows.spec    2003-07-25 21:53:15.000000000 +0200
  @@ -0,0 +1,103 @@
  +##
  +##  wxwindows.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 information
  +Name:         wxwindows
  +Summary:      Cross-Platform GUI Library
  +URL:          http://www.wxwindows.org/
  +Vendor:       wxWindows Team
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        XWindow
  +License:      LGPL
  +Version:      2.4.1
  +Release:      20030725
  +
  +#   list of sources
  +Source0:      
http://osdn.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-%{version}.tar.bz2
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, X11, gtk, zlib, png, tiff, jpeg, 
libiconv, gcc, make
  +PreReq:       OpenPKG, openpkg >= 20030103, X11, gtk, zlib, png, tiff, jpeg, 
libiconv
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    wxWindows is a cross-platform graphical user interface (GUI) library
  +    which gives a single, easy-to-use API for writing GUI applications
  +    on multiple platforms. This package is wxGTK, the Unix/X11/Gtk+
  +    based version of wxWindows.
  +
  +%prep
  +    %setup -q -n wxGTK-%{version}
  +
  +%build
  +    #   configure package
  +    CC="%{l_cc}" \
  +    CXX="%{l_cxx}" \
  +    CFLAGS="%{l_cflags -O}" \
  +    CXXFLAGS="%{l_cxxflags -O}" \
  +    CPPFLAGS="%{l_cppflags}" \
  +    LDFLAGS="%{l_ldflags}" \
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --with-x \
  +        --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
  +        --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
  +        --with-gtk \
  +        --with-gtk-prefix=%{l_prefix} \
  +        --with-gtk-exec-prefix=%{l_prefix} \
  +        --with-libiconv-prefix=%{l_prefix} \
  +        --with-libpng \
  +        --with-libjpeg \
  +        --with-libtiff \
  +        --with-zlib \
  +        --disable-shared
  +
  +    #   build package
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    #   install package
  +    rm -rf $RPM_BUILD_ROOT
  +    %{l_make} %{l_mflags} install \
  +        prefix=$RPM_BUILD_ROOT%{l_prefix} \
  +        exec_prefix=$RPM_BUILD_ROOT%{l_prefix}
  +
  +    #   strip down installation
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale
  +
  +    #   determine installation files
  +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
  +        %{l_files_std} \
  +        '%not %dir %{l_prefix}/share/aclocal'
  +
  +%files -f files
  +
  +%clean
  +    rm -rf $RPM_BUILD_ROOT
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  ============================================================================
  $ cvs diff -u -r1.5817 -r1.5818 news.txt
  --- openpkg-web/news.txt      25 Jul 2003 19:48:30 -0000      1.5817
  +++ openpkg-web/news.txt      25 Jul 2003 19:53:13 -0000      1.5818
  @@ -1,3 +1,4 @@
  +25-Jul-2003: New package: P<wxwindows-2.4.1-20030725>
   25-Jul-2003: Upgraded package: P<uucp-1.07-20030725>
   25-Jul-2003: Upgraded package: P<postgresql-7.3.4-20030725>
   25-Jul-2003: Upgraded package: P<iozone-3.194-20030725>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to