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: 16-Aug-2003 18:14:33
Branch: HEAD Handle: 2003081617143102
Added files:
openpkg-re/vcheck vc.mesa
openpkg-src/mesa mesa.spec
Modified files:
openpkg-web news.txt
Log:
new package: mesa 5.0.1 (OpenGL Toolkit)
Summary:
Revision Changes Path
1.1 +14 -0 openpkg-re/vcheck/vc.mesa
1.1 +91 -0 openpkg-src/mesa/mesa.spec
1.6191 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.mesa
============================================================================
$ cvs diff -u -r0 -r1.1 vc.mesa
--- /dev/null 2003-08-16 18:14:31.000000000 +0200
+++ vc.mesa 2003-08-16 18:14:31.000000000 +0200
@@ -0,0 +1,14 @@
+config = {
+}
+
+prog mesa:MesaDemos = {
+ version = 5.0.1
+ url = http://prdownloads.sourceforge.net/mesa3d/
+ regex = MesaDemos-(__VER__)\.tar\.bz2
+}
+prog mesa:MesaLib = {
+ version = 5.0.1
+ url = http://prdownloads.sourceforge.net/mesa3d/
+ regex = MesaLib-(__VER__)\.tar\.bz2
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mesa/mesa.spec
============================================================================
$ cvs diff -u -r0 -r1.1 mesa.spec
--- /dev/null 2003-08-16 18:14:33.000000000 +0200
+++ mesa.spec 2003-08-16 18:14:33.000000000 +0200
@@ -0,0 +1,91 @@
+##
+## mesa.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: mesa
+Summary: OpenGL Toolkit
+URL: http://www.mesa3d.org/
+Vendor: Brian Paul
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: XWindow
+License: LGPL
+Version: 5.0.1
+Release: 20030816
+
+# list of sources
+Source0:
http://osdn.dl.sourceforge.net/sourceforge/mesa3d/MesaLib-%{version}.tar.bz2
+Source1:
http://osdn.dl.sourceforge.net/sourceforge/mesa3d/MesaDemos-%{version}.tar.bz2
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103, X11, gcc, make
+PreReq: OpenPKG, openpkg >= 20030103, X11
+AutoReq: no
+AutoReqProv: no
+
+%description
+ Mesa is a 3-D graphics library with an API which is very similar to
+ that of OpenGL. To the extent that Mesa utilizes the OpenGL command
+ syntax or state machine, it is being used with authorization from
+ Silicon Graphics, Inc. (SGI).
+
+%prep
+ %setup0 -q -n Mesa-%{version}
+ %setup1 -q -n Mesa-%{version} -T -D -b 1
+
+%build
+ %{l_shtool} subst \
+ -e 's;-malign-;-falign-;g' \
+ configure
+ CC="%{l_cc}" \
+ CXX="%{l_cxx}" \
+ CFLAGS="%{l_cflags -O}" \
+ CXXFLAGS="%{l_cxxflags -O}" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --sysconfdir=%{l_prefix}/etc/mesa \
+ --with-pic \
+ --with-x \
+ --x-includes=`%{l_prefix}/etc/rc --query x11_incdir` \
+ --x-libraries=`%{l_prefix}/etc/rc --query x11_libdir` \
+ --disable-shared \
+ --enable-static
+ %{l_make} %{l_mflags}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
+ strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+ %{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.6190 -r1.6191 news.txt
--- openpkg-web/news.txt 15 Aug 2003 19:22:56 -0000 1.6190
+++ openpkg-web/news.txt 16 Aug 2003 16:14:32 -0000 1.6191
@@ -1,3 +1,4 @@
+16-Aug-2003: New package: P<mesa-5.0.1-20030816>
15-Aug-2003: Upgraded package: P<libart-2.3.14-20030815>
15-Aug-2003: Upgraded package: P<perl-gtk-20030815-20030815>
15-Aug-2003: Upgraded package: P<perl-xml-20030815-20030815>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]