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:   18-Aug-2003 20:21:34
  Branch: HEAD                             Handle: 2003081819213202

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

  Log:
    new package: kde-libs 3.1.3a (K Desktop Environment (Common
    Libraries))

  Summary:
    Revision    Changes     Path
    1.1         +11 -0      openpkg-re/vcheck/vc.kde-libs
    1.1         +157 -0     openpkg-src/kde-libs/kde-libs.spec
    1.6219      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.kde-libs
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.kde-libs
  --- /dev/null 2003-08-18 20:21:33.000000000 +0200
  +++ vc.kde-libs       2003-08-18 20:21:33.000000000 +0200
  @@ -0,0 +1,11 @@
  +config = {
  +}
  +
  +prog kde-libs = {
  +  version   = 3.1.3a
  +  url       = ftp://ftp.kde.org/pub/kde/stable/
  +  regex     = (\d+\.\d+\.\d+)
  +  url       = ftp://ftp.kde.org/pub/kde/stable/__NEWVER__/src/
  +  regex     = kdelibs-(__VER__)\.tar\.bz2
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/kde-libs/kde-libs.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 kde-libs.spec
  --- /dev/null 2003-08-18 20:21:34.000000000 +0200
  +++ kde-libs.spec     2003-08-18 20:21:34.000000000 +0200
  @@ -0,0 +1,157 @@
  +##
  +##  kde-libs.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_kde      3.1.3
  +%define       V_libs     3.1.3a
  +
  +#   package information
  +Name:         kde-libs
  +Summary:      K Desktop Environment (Common Libraries)
  +URL:          http://www.kde.org/
  +Vendor:       KDE Project
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        KDE
  +License:      GPL
  +Version:      %{V_libs}
  +Release:      20030818
  +
  +#   list of sources
  +Source0:      
ftp://ftp.kde.org/pub/kde/stable/%{V_kde}/src/kdelibs-%{V_libs}.tar.bz2
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103, gcc, make
  +PreReq:       OpenPKG, openpkg >= 20030103
  +BuildPreReq:  X11, kde-qt, kde-arts, pcre, openssl, libxml, libxslt, gettext
  +PreReq:       X11, kde-qt, kde-arts, pcre, openssl, libxml, libxslt, gettext
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    KDE is a powerful Open Source graphical desktop environment for Unix
  +    workstations. It combines ease of use, contemporary functionality,
  +    and outstanding graphical design with the technological superiority
  +    of the Unix operating system.
  +
  +    This part is the KDE Common Libraries.
  +
  +%prep
  +    %setup -q -n kdelibs-%{V_libs}
  +
  +    #   GCC 3.3 with -pedantic is too restrictive for most vendor system headers.
  +    %{l_shtool} subst \
  +        -e 's;-pedantic;;' \
  +        configure
  +
  +    #   redirect back datadir based locations
  +    %{l_shtool} subst -s \
  +        -e 's;${prefix}/share/;${datadir};' \
  +        `find . -name Makefile.in -type f -print`
  +
  +%build
  +    #   set standard KDE/Qt build environment
  +    export CC="%{l_cc}"
  +    export CXX="%{l_cxx}"
  +    export CFLAGS="`%{l_prefix}/bin/pkg-config --cflags-only-other kde-qt` 
%{l_cflags -O}"
  +    export CXXFLAGS="`%{l_prefix}/bin/pkg-config --cflags-only-other kde-qt` 
%{l_cxxflags -O}"
  +    export CPPFLAGS="`%{l_prefix}/bin/pkg-config --cflags-only-I kde-qt` 
%{l_cppflags}"
  +    export LDFLAGS="`%{l_prefix}/bin/pkg-config --libs-only-L kde-qt` %{l_ldflags}"
  +    export LIBS="`%{l_prefix}/bin/pkg-config --libs-only-l --libs-only-other 
kde-qt`"
  +    export PATH="%{l_prefix}/libexec/kde:`%{l_prefix}/etc/rc --query 
x11_bindir`:$PATH"
  +    export LD_LIBRARY_PATH="%{l_prefix}/lib/kde:${LD_LIBRARY_PATH-/usr/lib}"
  +    export MOC="%{l_prefix}/libexec/kde/moc"
  +    export UIC_PATH="%{l_prefix}/libexec/kde/uic"
  +    export HOME="`pwd`"
  +
  +    #   set KDE/Qt installation paths
  +    export KDEDIR="%{l_prefix}"
  +    export kde_htmldir='\${prefix}/share/kde/doc/HTML'
  +    export kde_appsdir='\${prefix}/share/kde/applnk'
  +    export kde_icondir='\${prefix}/share/kde/icons'
  +    export kde_sounddir='\${prefix}/share/kde/sounds'
  +    export kde_datadir='\${prefix}/share/kde/apps'
  +    export kde_locale='\${prefix}/share/kde/locale'
  +    export kde_confdir='\${prefix}/share/kde/config'
  +    export kde_mimedir='\${prefix}/share/kde/mimelnk'
  +    export kde_toolbardir='\${prefix}/share/kde/toolbar'
  +    export kde_wallpaperdir='\${prefix}/share/kde/wallpapers'
  +    export kde_templatesdir='\${prefix}/share/kde/templates'
  +    export kde_servicesdir='\${prefix}/share/kde/services'
  +    export kde_servicetypesdir='\${prefix}/share/kde/servicetypes'
  +    export kde_bindir='\${exec_prefix}/libexec/kde'
  +    export kde_cgidir='\${exec_prefix}/lib/kde/cgi'
  +    export kde_moduledir='\${prefix}/lib/kde/modules'
  +    export kde_styledir='\${prefix}/lib/kde/plugins/styles'
  +    export kde_widgetdir='\${prefix}/lib/kde/plugins/designer'
  +
  +    #   configure package
  +    ./configure \
  +        --prefix=%{l_prefix} \
  +        --bindir=%{l_prefix}/libexec/kde \
  +        --includedir=%{l_prefix}/include/kde \
  +        --libdir=%{l_prefix}/lib/kde \
  +        --datadir=%{l_prefix}/share/kde \
  +        --localstatedir=%{l_prefix}/var/kde \
  +        --with-x \
  +        --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
  +        --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
  +        --with-qt-dir=%{l_prefix} \
  +        --with-qt-includes=%{l_prefix}/include/kde/qt \
  +        --with-qt-libraries=%{l_prefix}/lib/kde \
  +        --with-extra-includes=%{l_prefix}/include \
  +        --with-extra-libs=%{l_prefix}/lib \
  +        --with-ssl-dir=%{l_prefix} \
  +        --disable-pcre \
  +        --disable-cups \
  +        --disable-debug \
  +        --disable-static \
  +        --enable-shared
  +
  +    #   build package
  +    %{l_make} %{l_mflags -O}
  +
  +%install
  +    #   install package
  +    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}/libexec/kde/* >/dev/null 2>&1 || true
  +
  +    #   post-adjust installation
  +    mv "$RPM_BUILD_ROOT%{l_prefix}/share/kde/config/colors/40 Colors" \
  +       "$RPM_BUILD_ROOT%{l_prefix}/share/kde/config/colors/40-Colors"
  +
  +    #   determine installation files
  +    %{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.6218 -r1.6219 news.txt
  --- openpkg-web/news.txt      18 Aug 2003 18:20:52 -0000      1.6218
  +++ openpkg-web/news.txt      18 Aug 2003 18:21:33 -0000      1.6219
  @@ -1,3 +1,4 @@
  +18-Aug-2003: New package: P<kde-libs-3.1.3a-20030818>
   18-Aug-2003: New package: P<kde-arts-1.1.3-20030818>
   18-Aug-2003: New package: P<kde-qt-3.1.2-20030818>
   18-Aug-2003: Upgraded package: P<imapd-2.1.15-20030818>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to