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:   21-Mar-2003 22:06:06
  Branch: HEAD                             Handle: 2003032121060302

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

  Log:
    new package: vorbis-libs 1.0 (Ogg Vorbis Libraries)

  Summary:
    Revision    Changes     Path
    1.1         +19 -0      openpkg-re/vcheck/vc.vorbis-libs
    1.1         +146 -0     openpkg-src/vorbis-libs/vorbis-libs.spec
    1.3758      +1  -0      openpkg-web/news.txt
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/vcheck/vc.vorbis-libs
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vc.vorbis-libs
  --- /dev/null 2003-03-21 22:06:03.000000000 +0100
  +++ vc.vorbis-libs    2003-03-21 22:06:03.000000000 +0100
  @@ -0,0 +1,19 @@
  +config = {
  +}
  +
  +prog vorbis-libs:libao = {
  +  version   = 0.8.3
  +  url       = http://www.vorbis.com/download_unix.psp
  +  regex     = libao-(__VER__)\.tar\.gz
  +}
  +prog vorbis-libs:libogg = {
  +  version   = 1.0
  +  url       = http://www.vorbis.com/download_unix.psp
  +  regex     = libogg-(__VER__)\.tar\.gz
  +}
  +prog vorbis-libs:libvorbis = {
  +  version   = 1.0
  +  url       = http://www.vorbis.com/download_unix.psp
  +  regex     = libvorbis-(__VER__)\.tar\.gz
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/vorbis-libs/vorbis-libs.spec
  ============================================================================
  $ cvs diff -u -r0 -r1.1 vorbis-libs.spec
  --- /dev/null 2003-03-21 22:06:06.000000000 +0100
  +++ vorbis-libs.spec  2003-03-21 22:06:06.000000000 +0100
  @@ -0,0 +1,146 @@
  +##
  +##  vorbis-libs.spec -- OpenPKG RPM Specification
  +##  Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  +##  Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  +##  Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]>
  +##
  +##  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_whole     1.0
  +%define       V_libao     0.8.3
  +%define       V_libogg    1.0
  +%define       V_libvorbis 1.0
  +
  +#   package information
  +Name:         vorbis-libs
  +Summary:      Ogg Vorbis Libraries
  +URL:          http://www.vorbis.com/
  +Vendor:       The Ogg Vorbis Project
  +Packager:     The OpenPKG Project
  +Distribution: OpenPKG [EVAL]
  +Group:        Audio
  +License:      LGPL
  +Version:      %{V_whole}
  +Release:      20030321
  +
  +#   list of sources
  +Source0:      http://www.vorbis.com/files/%{V_whole}/unix/libao-%{V_libao}.tar.gz
  +Source1:      http://www.vorbis.com/files/%{V_whole}/unix/libogg-%{V_libogg}.tar.gz
  +Source2:      
http://www.vorbis.com/files/%{V_whole}/unix/libvorbis-%{V_libvorbis}.tar.gz
  +
  +#   build information
  +Prefix:       %{l_prefix}
  +BuildRoot:    %{l_buildroot}
  +BuildPreReq:  OpenPKG, openpkg >= 20030103
  +PreReq:       OpenPKG, openpkg >= 20030103
  +AutoReq:      no
  +AutoReqProv:  no
  +
  +%description
  +    These are the Ogg Vorbis core libraries.
  +
  +%prep
  +    %setup0 -q -c
  +    %setup1 -q -T -D -a 1
  +    %setup2 -q -T -D -a 2
  +
  +%build
  +    #   build libao
  +    ( cd libao-%{V_libao}
  +      %{l_shtool} subst \
  +          -e 's;^\(libao_la_LDFLAGS.*\) -ldl;\1;' \
  +          src/Makefile.in
  +      CC="%{l_cc}" \
  +      CFLAGS="%{l_cflags -O}" \
  +      CPPFLAGS="%{l_cppflags}" \
  +      LDFLAGS="%{l_ldflags}" \
  +      ./configure \
  +          --prefix=%{l_prefix} \
  +          --disable-esd \
  +          --enable-shared \
  +          --enable-static
  +      %{l_make} %{l_mflags -O}
  +    )
  +
  +    #   build libogg
  +    ( cd libogg-%{V_libogg}
  +      CC="%{l_cc}" \
  +      CFLAGS="%{l_cflags -O}" \
  +      CPPFLAGS="%{l_cppflags}" \
  +      LDFLAGS="%{l_ldflags}" \
  +      ./configure \
  +          --prefix=%{l_prefix} \
  +          --disable-shared
  +      %{l_make} %{l_mflags -O}
  +    )
  +
  +    #   build libvorbis
  +    ogg_libdir="`pwd`/libogg-%{V_libogg}/src"
  +    ogg_incdir="`pwd`/libogg-%{V_libogg}/include"
  +    ( cd libvorbis-%{V_libvorbis}
  +      CC="%{l_cc}" \
  +      CFLAGS="%{l_cflags -O}" \
  +      CPPFLAGS="%{l_cppflags}" \
  +      LDFLAGS="%{l_ldflags} -L$ogg_libdir/.libs" \
  +      ./configure \
  +          --prefix=%{l_prefix} \
  +          --with-ogg-libraries=$ogg_libdir \
  +          --with-ogg-includes=$ogg_incdir \
  +          --disable-shared
  +      %{l_shtool} subst \
  +          -e 's;^\(SUBDIRS.*\)examples\(.*\)$;\1 \2;' \
  +          Makefile
  +      %{l_make} %{l_mflags -O}
  +      %{l_shtool} subst \
  +          -e "s;-L$ogg_libdir/\\.libs/*;;" \
  +          -e "s;-L$ogg_libdir/*;;" \
  +          lib/*.la lib/.libs/*.la
  +    )
  +
  +%install
  +    rm -rf $RPM_BUILD_ROOT
  +
  +    #   install libraries
  +    ( cd libao-%{V_libao}
  +      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +      rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/*.so* >/dev/null 2>&1 || true
  +    )
  +    ( cd libogg-%{V_libogg}
  +      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    )
  +    ( cd libvorbis-%{V_libvorbis}
  +      %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
  +    )
  +
  +    #   strip installation
  +    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
  +    strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
  +
  +    #   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.3757 -r1.3758 news.txt
  --- openpkg-web/news.txt      21 Mar 2003 20:24:14 -0000      1.3757
  +++ openpkg-web/news.txt      21 Mar 2003 21:06:04 -0000      1.3758
  @@ -1,3 +1,4 @@
  +21-Mar-2003: New package: P<vorbis-libs-1.0-20030321>
   21-Mar-2003: Upgraded package: P<samhain-1.7.4-20030321>
   21-Mar-2003: Upgraded package: P<binutils-2.13.2.1-20030321>
   21-Mar-2003: Upgraded package: P<apache-1.3.27-20030321>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to