Accepting request 22663 from home:thomas-schraitle
Copy from home:thomas-schraitle/xmlstarlet based on submit request 22663 from user thomas-schraitle OBS-URL: https://build.opensuse.org/request/show/22663 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlstarlet?expand=0&rev=6
This commit is contained in:
parent
ac739b056f
commit
394f915ef4
3
xmlstarlet-1.0.1.tar.bz2
Normal file
3
xmlstarlet-1.0.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f6a3f49180c3ade980a04474dce94a2f6de156e5fb329cc786cfccd220a2406f
|
||||||
|
size 286686
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:161c24cfbc54e141c230d2a12b91f21dfd552fde4c9f4b0cf975dd691580d698
|
|
||||||
size 320847
|
|
7
xmlstarlet-rpmlintrc
Normal file
7
xmlstarlet-rpmlintrc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
##
|
||||||
|
|
||||||
|
#
|
||||||
|
addFilter("files-duplicate .*/xmlstarlet/ChangeLog .*/xmlstarlet/NEWS")
|
||||||
|
|
||||||
|
# The package is pretty small, it doesn't pay off to split documentation
|
||||||
|
addFilter("package-with-huge-docs")
|
10
xmlstarlet-xml_depyx.c.diff
Normal file
10
xmlstarlet-xml_depyx.c.diff
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- src/xml_depyx.c.bak 2009-10-16 15:32:02.544001098 +0200
|
||||||
|
+++ src/xml_depyx.c 2009-10-16 15:32:13.344501368 +0200
|
||||||
|
@@ -214,6 +214,7 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+ fclose( in);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 21 06:23:12 UTC 2009 - toms@suse.de
|
||||||
|
|
||||||
|
- Downloaded .changes file from Factory
|
||||||
|
- Fixed bnc#545280: missing call to fclose
|
||||||
|
- Recompressed tar ball from gz to bz2
|
||||||
|
- Used RPM macros in SPEC file
|
||||||
|
- Fixed rpmlint warnings
|
||||||
|
- Added rpmlintrc file
|
||||||
|
- Fixed %patch command to work with openSUSE 11.2 (Factory)
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
||||||
|
|
||||||
@ -71,3 +83,4 @@ Thu Aug 28 14:57:43 CEST 2003 - toms@suse.de
|
|||||||
- New package: xmlstarlet 0.5.1
|
- New package: xmlstarlet 0.5.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -22,22 +22,23 @@ Name: xmlstarlet
|
|||||||
BuildRequires: libxslt-devel pkgconfig sgml-skel
|
BuildRequires: libxslt-devel pkgconfig sgml-skel
|
||||||
Summary: Command Line Tool to Process XML Documents
|
Summary: Command Line Tool to Process XML Documents
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 151
|
Release: 152
|
||||||
License: MIT License (or similar)
|
License: MIT License (or similar)
|
||||||
Group: Productivity/Publishing/XML
|
Group: Productivity/Publishing/XML
|
||||||
Source0: http://ftp1.sourceforge.net/xmlstar/xmlstarlet-%{version}.tar.gz
|
Source0: http://ftp1.sourceforge.net/xmlstar/xmlstarlet-%{version}.tar.bz2
|
||||||
|
Source1: %{name}-rpmlintrc
|
||||||
Patch0: %{name}-1.0.0-no_static_linking.diff
|
Patch0: %{name}-1.0.0-no_static_linking.diff
|
||||||
Patch1: %{name}-0.9.5-configure_fix.diff
|
Patch1: %{name}-0.9.5-configure_fix.diff
|
||||||
|
Patch2: %{name}-xml_depyx.c.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Url: http://sourceforge.net/projects/xmlstar/
|
Url: http://sourceforge.net/projects/xmlstar/
|
||||||
Prefix: %{_prefix}
|
|
||||||
DocDir: %{_docdir}
|
DocDir: %{_docdir}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XMLStarlet is a command line XML toolkit that can be used to transform,
|
XMLStarlet (xml) is a command line XML toolkit which can be used to
|
||||||
query, validate, and edit XML documents and files using a simple set of
|
transform, query, validate, and edit XML documents and files using
|
||||||
shell commands, which work similarly to 'grep', 'sed', 'awk', 'tr',
|
simple set of shell commands in similar way it is done for plain text
|
||||||
'diff', or 'patch' on plain text files.
|
files using 'grep', 'sed', 'awk', 'tr', 'diff', or 'patch'.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -49,33 +50,38 @@ Authors:
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p 1
|
%patch0 -p 1
|
||||||
%patch1
|
%patch1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -W -Wall"
|
export CFLAGS="$RPM_OPT_FLAGS -W -Wall"
|
||||||
./configure --prefix=%prefix \
|
./configure --prefix=%{_prefix} \
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--sysconfdir=%{_sysconfdir} \
|
||||||
--mandir=%{_mandir} \
|
--mandir=%{_mandir} \
|
||||||
--libdir=%{_libdir}
|
--libdir=%{_libdir}
|
||||||
make
|
make
|
||||||
|
%{__mkdir_p} html
|
||||||
|
%{__cp} -a doc/callouts html
|
||||||
|
%{__cp} doc/*{css,html} html
|
||||||
|
|
||||||
|
%check
|
||||||
make tests
|
make tests
|
||||||
mkdir -p html
|
|
||||||
cp -a doc/callouts html
|
|
||||||
cp doc/*{css,html} html
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -fr %{buildroot}
|
#[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] \
|
||||||
|
# && %{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
[ -e "%buildroot" -a -d "%buildroot" ] || %{__mkdir} %buildroot
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr %{buildroot}
|
%{__rm} -fr %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
||||||
%doc doc/xmlstarlet.txt doc/xmlstarlet.pdf
|
%doc doc/xmlstarlet.txt doc/xmlstarlet.pdf
|
||||||
%doc html
|
%doc html
|
||||||
%{prefix}/bin/xml
|
%{_prefix}/bin/xml
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user