This commit is contained in:
commit
214c99976b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
21
xmlstarlet-0.9.5-configure_fix.diff
Normal file
21
xmlstarlet-0.9.5-configure_fix.diff
Normal file
@ -0,0 +1,21 @@
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -7,7 +7,8 @@
|
||||
AM_MAINTAINER_MODE
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
-CFLAGS="-Wall -g -pedantic"
|
||||
+test ! -z $CFLAGS && CFLAGS="-Wall -g -pedantic"
|
||||
+
|
||||
EXTRA_LIBS=
|
||||
|
||||
case "${host}" in
|
||||
@@ -48,7 +49,7 @@
|
||||
LIBXML_CFLAGS="-I$withval/include/libxml2 -I$withval/include/libxml -I$withval/include"
|
||||
)
|
||||
|
||||
-AC_DEFUN(VERSION_TO_NUMBER,
|
||||
+AC_DEFUN([VERSION_TO_NUMBER],
|
||||
[`$1 | sed -e 's/libxml //' -e 's/libxslt //' | awk 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 1000 + [$]2) * 1000 + [$]3;}'`])
|
||||
|
||||
LIBXML_REQUIRED_VERSION=2.6.12
|
56
xmlstarlet-1.0.0-no_static_linking.diff
Normal file
56
xmlstarlet-1.0.0-no_static_linking.diff
Normal file
@ -0,0 +1,56 @@
|
||||
--- xmlstarlet-1.0.0/configure.in.orig 2005-01-28 03:40:06.000000000 +0100
|
||||
+++ xmlstarlet-1.0.0/configure.in 2005-01-31 11:52:36.589340662 +0100
|
||||
@@ -228,7 +228,7 @@
|
||||
dnl
|
||||
if test "x$LIBXML_CFLAGS" = "x"
|
||||
then
|
||||
- LIBXML_CFLAGS="-I${LIBXML_PREFIX}/include/libxml2"
|
||||
+ LIBXML_CFLAGS="`${LIBXML_PREFIX}/bin/xml2-config --cflags`"
|
||||
fi
|
||||
|
||||
dnl
|
||||
@@ -236,7 +236,7 @@
|
||||
dnl
|
||||
if test "x$LIBXML_LIBS" = "x"
|
||||
then
|
||||
- LIBXML_LIBS="${LIBXML_PREFIX}/lib/libxml2.a -lz -lm -lpthread -ldl"
|
||||
+ LIBXML_LIBS="`${LIBXML_PREFIX}/bin/xml2-config --libs`"
|
||||
fi
|
||||
|
||||
dnl
|
||||
@@ -244,7 +244,7 @@
|
||||
dnl
|
||||
if test "x$LIBXSLT_CFLAGS" = "x"
|
||||
then
|
||||
- LIBXSLT_CFLAGS="-I${LIBXSLT_PREFIX}/include/libxslt -I${LIBXSLT_PREFIX}/include/libexslt"
|
||||
+ LIBXSLT_CFLAGS="`${LIBXSLT_PREFIX}/bin/xslt-config --cflags`"
|
||||
fi
|
||||
|
||||
dnl
|
||||
@@ -252,13 +252,13 @@
|
||||
dnl
|
||||
if test "x$LIBXSLT_LIBS" = "x"
|
||||
then
|
||||
- LIBXSLT_LIBS="${LIBXSLT_PREFIX}/lib/libxslt.a ${LIBXSLT_PREFIX}/lib/libexslt.a -lz -lm -lpthread"
|
||||
+ LIBXSLT_LIBS="`${LIBXSLT_PREFIX}/bin/pkg-config --libs libexslt`"
|
||||
fi
|
||||
|
||||
dnl
|
||||
dnl Set LIBICONV include path
|
||||
dnl
|
||||
-if test "x$LIBICONV_CFLAGS" = "x"
|
||||
+if test "x$LIBICONV_CFLAGS" = "x" && test "$LIBICONV_PREFIX" != "/usr"
|
||||
then
|
||||
LIBICONV_CFLAGS="-I${LIBICONV_PREFIX}/include"
|
||||
fi
|
||||
@@ -266,7 +266,7 @@
|
||||
dnl
|
||||
dnl Set LIBICONV libraries location
|
||||
dnl
|
||||
-if test "x$LIBICONV_LIBS" = "x"
|
||||
+if test "x$LIBICONV_LIBS" = "x" && test "$LIBXSLT_PREFIX" != "/usr"
|
||||
then
|
||||
LIBICONV_LIBS="-L${LIBXSLT_PREFIX}/lib"
|
||||
fi
|
||||
|
||||
Diff finished. Mon Jan 31 11:52:51 2005
|
3
xmlstarlet-1.0.1.tar.gz
Normal file
3
xmlstarlet-1.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:161c24cfbc54e141c230d2a12b91f21dfd552fde4c9f4b0cf975dd691580d698
|
||||
size 320847
|
68
xmlstarlet.changes
Normal file
68
xmlstarlet.changes
Normal file
@ -0,0 +1,68 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:43:15 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 14:24:07 CET 2005 - dmueller@suse.de
|
||||
|
||||
- don't build as root
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 09:41:47 CEST 2005 - ke@suse.de
|
||||
|
||||
- Update to version 1.0.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 31 12:05:26 CET 2005 - ke@suse.de
|
||||
|
||||
- Update to version 1.0.0:
|
||||
* Fix various segfaults.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 18:20:23 CET 2004 - pth@suse.de
|
||||
|
||||
- Use xml2-config and xslt-config instead of hard coded paths
|
||||
and libraries. This also gets rid of linking xmlstarlet statically.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 14 01:35:02 CEST 2004 - ro@suse.de
|
||||
|
||||
- add libgcrypt and libgpg-error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 15:34:46 CEST 2004 - ke@suse.de
|
||||
|
||||
- Update to version 0.9.5:
|
||||
* Bugfixes.
|
||||
* more examples and tests.
|
||||
* Install HTML documentation.
|
||||
- Drop obsolete configure patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 13:53:31 CEST 2004 - ke@suse.de
|
||||
|
||||
- Update to version 0.9.1:
|
||||
* Additional examples and tests.
|
||||
* Fix c14n canonicalization bug.
|
||||
* Update documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 16 16:35:22 CET 2004 - ke@suse.de
|
||||
|
||||
- Update to version 0.8.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 10:56:53 CEST 2003 - ke@suse.de
|
||||
|
||||
- Make it build on ppc64 and x86_64: use
|
||||
--with-libxml-libs-prefix=%_libdir,
|
||||
--with-libxslt-libs-prefix=%_libdir, and
|
||||
--with-libiconv-libs-prefix=%_libdir.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 14:57:43 CEST 2003 - toms@suse.de
|
||||
|
||||
- New package: xmlstarlet 0.5.1
|
||||
|
||||
-------------------------------------------------------------------
|
108
xmlstarlet.spec
Normal file
108
xmlstarlet.spec
Normal file
@ -0,0 +1,108 @@
|
||||
#
|
||||
# spec file for package xmlstarlet (Version 1.0.1)
|
||||
#
|
||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: xmlstarlet
|
||||
BuildRequires: libxslt-devel pkgconfig sgml-skel
|
||||
Summary: Command Line Tool to Process XML Documents
|
||||
Version: 1.0.1
|
||||
Release: 3
|
||||
License: X11/MIT
|
||||
Group: Productivity/Publishing/XML
|
||||
Source0: http://ftp1.sourceforge.net/xmlstar/xmlstarlet-%{version}.tar.gz
|
||||
Patch0: %{name}-1.0.0-no_static_linking.diff
|
||||
Patch1: %{name}-0.9.5-configure_fix.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
URL: http://sourceforge.net/projects/xmlstar/
|
||||
Prefix: %{_prefix}
|
||||
Docdir: %{_docdir}
|
||||
|
||||
%description
|
||||
XMLStarlet (xml) is a command line XML toolkit 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 'grep', 'sed', 'awk', 'tr', 'diff', or 'patch'.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Mikhail Grushinskiy <mgrouch@users.sourceforge.net>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p 1
|
||||
%patch1
|
||||
|
||||
%build
|
||||
autoreconf --force --install
|
||||
export CFLAGS="$RPM_OPT_FLAGS -W -Wall"
|
||||
./configure --prefix=%prefix \
|
||||
--sysconfdir=%{_sysconfdir} \
|
||||
--mandir=%{_mandir} \
|
||||
--libdir=%{_libdir}
|
||||
make
|
||||
make tests
|
||||
mkdir -p html
|
||||
cp -a doc/callouts html
|
||||
cp doc/*{css,html} html
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
rm -fr %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
||||
%doc doc/xmlstarlet.txt doc/xmlstarlet.pdf
|
||||
%doc html
|
||||
%{prefix}/bin/xml
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog -n xmlstarlet
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue Nov 08 2005 - dmueller@suse.de
|
||||
- don't build as root
|
||||
* Mon Apr 04 2005 - ke@suse.de
|
||||
- Update to version 1.0.1.
|
||||
* Mon Jan 31 2005 - ke@suse.de
|
||||
- Update to version 1.0.0:
|
||||
* Fix various segfaults.
|
||||
* Wed Dec 01 2004 - pth@suse.de
|
||||
- Use xml2-config and xslt-config instead of hard coded paths
|
||||
and libraries. This also gets rid of linking xmlstarlet statically.
|
||||
* Thu Oct 14 2004 - ro@suse.de
|
||||
- add libgcrypt and libgpg-error
|
||||
* Thu Oct 07 2004 - ke@suse.de
|
||||
- Update to version 0.9.5:
|
||||
* Bugfixes.
|
||||
* more examples and tests.
|
||||
* Install HTML documentation.
|
||||
- Drop obsolete configure patch.
|
||||
* Fri Jul 16 2004 - ke@suse.de
|
||||
- Update to version 0.9.1:
|
||||
* Additional examples and tests.
|
||||
* Fix c14n canonicalization bug.
|
||||
* Update documentation.
|
||||
* Mon Feb 16 2004 - ke@suse.de
|
||||
- Update to version 0.8.1.
|
||||
* Mon Sep 01 2003 - ke@suse.de
|
||||
- Make it build on ppc64 and x86_64: use
|
||||
--with-libxml-libs-prefix=%%_libdir,
|
||||
--with-libxslt-libs-prefix=%%_libdir, and
|
||||
--with-libiconv-libs-prefix=%%_libdir.
|
||||
* Thu Aug 28 2003 - toms@suse.de
|
||||
- New package: xmlstarlet 0.5.1
|
Loading…
x
Reference in New Issue
Block a user