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-Jul-2003 10:48:49
Branch: HEAD Handle: 2003071609484503
Added files:
openpkg-re/vcheck vc.gpp
openpkg-src/gpp gpp.spec
Modified files:
openpkg-web news.txt
Log:
new package: gpp 2.1 (Generic Preprocessor)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.gpp
1.1 +85 -0 openpkg-src/gpp/gpp.spec
1.5588 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.gpp
============================================================================
$ cvs diff -u -r0 -r1.1 vc.gpp
--- /dev/null 2003-07-16 10:48:45.000000000 +0200
+++ vc.gpp 2003-07-16 10:48:46.000000000 +0200
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog gpp = {
+ version = 2.1
+ url = http://www.math.polytechnique.fr/cmat/auroux/prog/gpp.html
+ regex = gpp-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/gpp/gpp.spec
============================================================================
$ cvs diff -u -r0 -r1.1 gpp.spec
--- /dev/null 2003-07-16 10:48:48.000000000 +0200
+++ gpp.spec 2003-07-16 10:48:49.000000000 +0200
@@ -0,0 +1,85 @@
+##
+## gpp.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: gpp
+Summary: Generic Preprocessor
+URL: http://www.math.polytechnique.fr/cmat/auroux/prog/gpp.html
+Vendor: Denis Auroux
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: Text
+License: GPL
+Version: 2.1
+Release: 20030716
+
+# list of sources
+Source0:
http://www.math.polytechnique.fr/cmat/auroux/prog/gpp-%{version}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ gpp is a general-purpose preprocessor with customizable syntax,
+ suitable for a wide range of preprocessing tasks. Its independence
+ on any programming language makes it much more versatile than cpp,
+ while its syntax is lighter and more flexible than that of m4. gpp
+ is targeted at all common preprocessing tasks where cpp is not
+ suitable and where no very sophisticated features are needed. In
+ order to be able to process equally efficiently text files or source
+ code in a variety of languages, the syntax used by gpp is fully
+ customizable. The handling of comments and strings is especially
+ advanced.
+
+%prep
+ %setup -q
+
+%build
+ %{l_shtool} subst \
+ -e 's;gcc -O2 -Wall;%{l_cc} %{l_cppflags} %{l_cflags -O};' \
+ Makefile
+ %{l_make} %{l_mflags}
+
+%install
+ rm -rf $RPM_BUILD_ROOT
+ %{l_shtool} mkdir -f -p -m 755 \
+ $RPM_BUILD_ROOT%{l_prefix}/bin \
+ $RPM_BUILD_ROOT%{l_prefix}/man/man1
+ %{l_shtool} install -c -s -m 755 \
+ gpp $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 \
+ gpp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
+ %{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.5587 -r1.5588 news.txt
--- openpkg-web/news.txt 16 Jul 2003 08:35:48 -0000 1.5587
+++ openpkg-web/news.txt 16 Jul 2003 08:48:46 -0000 1.5588
@@ -1,3 +1,4 @@
+16-Jul-2003: New package: P<gpp-2.1-20030716>
16-Jul-2003: Upgraded package: P<openldap-2.1.22-20030716>
16-Jul-2003: Upgraded package: P<portfwd-0.26rc6-20030716>
16-Jul-2003: Upgraded package: P<pstoedit-3.33-20030716>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]