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: 29-May-2003 10:52:30
Branch: HEAD Handle: 2003052909522703
Added files:
openpkg-re/vcheck vc.xmlstarlet
openpkg-src/xmlstarlet xmlstarlet.spec
Modified files:
openpkg-web news.txt
Log:
new package: xmlstarlet 0.3.0 (XML Command Line Toolkit)
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.xmlstarlet
1.1 +88 -0 openpkg-src/xmlstarlet/xmlstarlet.spec
1.4620 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-re/vcheck/vc.xmlstarlet
============================================================================
$ cvs diff -u -r0 -r1.1 vc.xmlstarlet
--- /dev/null 2003-05-29 10:52:27.000000000 +0200
+++ vc.xmlstarlet 2003-05-29 10:52:27.000000000 +0200
@@ -0,0 +1,9 @@
+config = {
+}
+
+prog xmlstarlet = {
+ version = 0.3.0
+ url = http://prdownloads.sourceforge.net/xmlstar/
+ regex = xmlstarlet-(__VER__)\.tar\.gz
+}
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/xmlstarlet/xmlstarlet.spec
============================================================================
$ cvs diff -u -r0 -r1.1 xmlstarlet.spec
--- /dev/null 2003-05-29 10:52:30.000000000 +0200
+++ xmlstarlet.spec 2003-05-29 10:52:30.000000000 +0200
@@ -0,0 +1,88 @@
+##
+## xmlstarlet.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 information
+Name: xmlstarlet
+Summary: XML Command Line Toolkit
+URL: http://xmlstar.sourceforge.net/
+Vendor: Mikhail Grushinskiy
+Packager: The OpenPKG Project
+Distribution: OpenPKG [EVAL]
+Group: SGML
+License: GPL
+Version: 0.3.0
+Release: 20030529
+
+# list of sources
+Source0:
http://unc.dl.sourceforge.net/sourceforge/xmlstar/xmlstarlet-%{version}.tar.gz
+
+# build information
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+BuildPreReq: OpenPKG, openpkg >= 20030103, libxml, libxslt, libiconv
+PreReq: OpenPKG, openpkg >= 20030103
+AutoReq: no
+AutoReqProv: no
+
+%description
+ XMLStarlet is a set of command line utilities which can be used
+ to transform, query, validate, and edit XML documents and files
+ using simple set of shell commands in similar way it is done for
+ plain text files using UNIX grep, sed, awk, diff, patch, join, etc
+ commands.
+
+%prep
+ %setup -q
+
+%build
+ CC="%{l_cc} %{l_cppflags}" \
+ CFLAGS="%{l_cflags -O} %{l_cppflags}" \
+ CPPFLAGS="%{l_cppflags}" \
+ LDFLAGS="%{l_ldflags}" \
+ LIBS="-liconv" \
+ ./configure \
+ --prefix=%{l_prefix} \
+ --with-libxml-prefix=%{l_prefix} \
+ --with-libxslt-prefix=%{l_prefix} \
+ --with-libiconv-dir=%{l_prefix}
+ %{l_shtool} subst -e 's;-lpthread;;g' src/Makefile
+ %{l_make} %{l_mflags -O}
+
+%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/cat1
+ %{l_shtool} install -c -s -m 755 \
+ src/xml $RPM_BUILD_ROOT%{l_prefix}/bin/
+ %{l_shtool} install -c -m 644 \
+ doc/xmlstarlet.txt $RPM_BUILD_ROOT%{l_prefix}/man/cat1/xml.1
+ %{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.4619 -r1.4620 news.txt
--- openpkg-web/news.txt 29 May 2003 08:30:29 -0000 1.4619
+++ openpkg-web/news.txt 29 May 2003 08:52:28 -0000 1.4620
@@ -1,3 +1,4 @@
+29-May-2003: New package: P<xmlstarlet-0.3.0-20030529>
29-May-2003: Upgraded package: P<findutils-4.1.20-20030529>
29-May-2003: Upgraded package: P<mkisofs-2.0.3-20030529>
29-May-2003: Upgraded package: P<uvscan-4.1.6.4267-20030529>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]