From 436fb5c765ac71d95c6f8810c0caf40d8a9276f4b4b5a94234ccc767bd103bbc Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 18 Dec 2006 23:15:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/expat?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + expat-2.0.0.tar.bz2 | 3 + expat.changes | 123 +++++++++++++++++++++++++++++++++++++++ expat.spec | 139 ++++++++++++++++++++++++++++++++++++++++++++ expatfaq.html | 102 ++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 391 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 expat-2.0.0.tar.bz2 create mode 100644 expat.changes create mode 100644 expat.spec create mode 100644 expatfaq.html create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/expat-2.0.0.tar.bz2 b/expat-2.0.0.tar.bz2 new file mode 100644 index 0000000..a23fe40 --- /dev/null +++ b/expat-2.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c1aa83def8425743328bde840940de4576f5716e38e184e1ea61e45adc996e5 +size 345791 diff --git a/expat.changes b/expat.changes new file mode 100644 index 0000000..a2da485 --- /dev/null +++ b/expat.changes @@ -0,0 +1,123 @@ +------------------------------------------------------------------- +Thu Oct 19 12:37:07 CEST 2006 - dmueller@suse.de + +- strip .la file + +------------------------------------------------------------------- +Wed Jan 25 21:30:10 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Fri Jan 13 00:21:55 CET 2006 - ro@suse.de + +- fixed file list for debuginfo package (do not pack all of libdir) + +------------------------------------------------------------------- +Wed Jan 11 17:43:46 CET 2006 - mjancar@suse.cz + +- update to 2.0.0 + +------------------------------------------------------------------- +Mon Jan 9 13:25:07 CET 2006 - mjancar@suse.cz + +- update to 2.0 pre release + +------------------------------------------------------------------- +Wed Nov 10 11:54:21 CET 2004 - ro@suse.de + +- fixed filelist + +------------------------------------------------------------------- +Mon Aug 09 16:26:05 CEST 2004 - tcrhak@suse.cz + +- update to 1.95.8 + +------------------------------------------------------------------- +Thu Feb 5 18:28:34 CET 2004 - kukuk@suse.de + +- Build as user + +------------------------------------------------------------------- +Thu Feb 05 18:00:24 CET 2004 - tcrhak@suse.cz + +- update to version 1.95.7 + +------------------------------------------------------------------- +Tue Feb 18 15:36:28 CET 2003 - tcrhak@suse.cz + +- in expat.h, declare enum XML_Status before using it; + put into patch "...-header.diff" [bug #23742] + +------------------------------------------------------------------- +Mon Feb 17 18:05:52 CET 2003 - tcrhak@suse.cz + +- updated to version 1.95.6 + +------------------------------------------------------------------- +Sun Dec 22 18:21:13 CET 2002 - tcrhak@suse.cz + +- update to version 1.95.5 + +------------------------------------------------------------------- +Sat Jul 13 15:14:59 CEST 2002 - tcrhak@suse.cz + +- update to version 1.95.4 + +------------------------------------------------------------------- +Thu Mar 28 15:17:43 CET 2002 - tcrhak@suse.cz + +- added parameter --target to configure + +------------------------------------------------------------------- +Mon Jan 14 13:25:11 CET 2002 - rvasice@suse.cz + +- use %{_libdir} and %{_lib} + +------------------------------------------------------------------- +Tue Nov 20 18:41:35 CET 2001 - rvasice@suse.cz + +- fix URL in spec file + +------------------------------------------------------------------- +Wed Aug 15 19:54:16 CEST 2001 - rvasice@suse.cz + +- update to version 1.95.2 +- spec file cleanup +- added DESTDIR + +------------------------------------------------------------------- +Mon May 14 12:08:01 CEST 2001 - pblaha@suse.cz + +- fixed links for soname of libexpat.so* + +------------------------------------------------------------------- +Fri May 11 09:03:03 CEST 2001 - cihlar@suse.cz + +- fixed soname of libexpat.so.1.2 + +------------------------------------------------------------------- +Fri Jan 5 10:13:20 CET 2001 - pblaha@suse.cz + +- back on stable version 1.2 added build shared libexpat.so + +------------------------------------------------------------------- +Thu Jan 4 15:46:21 CET 2001 - pblaha@suse.cz + +- update on 1.95.1 on sourgeforge needed for midgard +- new description + +------------------------------------------------------------------- +Thu Mar 9 11:01:23 CET 2000 - ke@suse.de + +- Don't "install" symlinks; use "cp"; reported by bs; proposed fix + by ro. +- Cleanup the spec file: better Group tag; more accurate files list. + +------------------------------------------------------------------- +Tue Nov 23 14:59:17 CET 1999 - ke@suse.de + +- first SuSE package: version 1.1. +- apply Debian patch to build shared libs. +- build libexpat.a. + diff --git a/expat.spec b/expat.spec new file mode 100644 index 0000000..6b0a9fd --- /dev/null +++ b/expat.spec @@ -0,0 +1,139 @@ +# +# spec file for package expat (Version 2.0.0) +# +# Copyright (c) 2006 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: expat +Version: 2.0.0 +Release: 22 +Group: Development/Libraries/C and C++ +License: MOZILLA PUBLIC LICENSE (MPL/NPL) +URL: http://expat.sourceforge.net/ +Summary: XML Parser Toolkit +Source0: %{name}-%{version}.tar.bz2 +Source1: %{name}faq.html +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + +%description +Expat is an XML 1.0 parser written in C. It aims to be fully +conformant. It is currently not a validating XML processor. The current +production version of expat can be downloaded from +ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a +low-level library for tokenizing XML. The interface is documented in +xmltok/xmltok.h. The directory xmlparse contains an XML parser library +that is built on top of the xmltok library. The interface is documented +in xmlparse/xmlparse.h. The directory sample contains a simple example +program using this interface. The directory sample/build.bat is a batch +file to build the example using Visual C++. The directory xmlwf +contains the xmlwf application, which uses the xmlparse library. The +arguments to xmlwf are one or more files to check for well-formedness. +An option -d dir can be specified. For each well-formed input file, the +corresponding canonical XML is written to dir/f, where f is the +filename (without any path) of the input file. A -x option causes +references to external general entities to be processed. A -s option +makes documents that are not stand-alone cause an error (a document is +considered stand-alone if it is intrinsically stand-alone because it +has no external subset and no references to parameter entities in the +internal subset or it is declared as stand-alone in the XML +declaration). + + + +Authors: +-------- + James Clark + +%prep +%setup -q +cp %{S:1} . + +%build +CFLAGS="$RPM_OPT_FLAGS" \ + ./configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --sysconfdir=%{_sysconfdir} \ + --target=%{_target_cpu}-suse-linux-gnu +make + +%install +make DESTDIR=$RPM_BUILD_ROOT install +rm doc/xmlwf.1 +rm $RPM_BUILD_ROOT/%{_libdir}/libexpat.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc COPYING Changes README examples expatfaq.html doc/* +%doc %{_mandir}/man?/* +%{_bindir}/* +%{_libdir}/lib* +%{_includedir}/* + +%changelog -n expat +* Thu Oct 19 2006 - dmueller@suse.de +- strip .la file +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Fri Jan 13 2006 - ro@suse.de +- fixed file list for debuginfo package (do not pack all of libdir) +* Wed Jan 11 2006 - mjancar@suse.cz +- update to 2.0.0 +* Mon Jan 09 2006 - mjancar@suse.cz +- update to 2.0 pre release +* Wed Nov 10 2004 - ro@suse.de +- fixed filelist +* Mon Aug 09 2004 - tcrhak@suse.cz +- update to 1.95.8 +* Thu Feb 05 2004 - kukuk@suse.de +- Build as user +* Thu Feb 05 2004 - tcrhak@suse.cz +- update to version 1.95.7 +* Tue Feb 18 2003 - tcrhak@suse.cz +- in expat.h, declare enum XML_Status before using it; + put into patch "...-header.diff" [bug #23742] +* Mon Feb 17 2003 - tcrhak@suse.cz +- updated to version 1.95.6 +* Sun Dec 22 2002 - tcrhak@suse.cz +- update to version 1.95.5 +* Sat Jul 13 2002 - tcrhak@suse.cz +- update to version 1.95.4 +* Thu Mar 28 2002 - tcrhak@suse.cz +- added parameter --target to configure +* Mon Jan 14 2002 - rvasice@suse.cz +- use %%{_libdir} and %%{_lib} +* Tue Nov 20 2001 - rvasice@suse.cz +- fix URL in spec file +* Wed Aug 15 2001 - rvasice@suse.cz +- update to version 1.95.2 +- spec file cleanup +- added DESTDIR +* Mon May 14 2001 - pblaha@suse.cz +- fixed links for soname of libexpat.so* +* Fri May 11 2001 - cihlar@suse.cz +- fixed soname of libexpat.so.1.2 +* Fri Jan 05 2001 - pblaha@suse.cz +- back on stable version 1.2 added build shared libexpat.so +* Thu Jan 04 2001 - pblaha@suse.cz +- update on 1.95.1 on sourgeforge needed for midgard +- new description +* Thu Mar 09 2000 - ke@suse.de +- Don't "install" symlinks; use "cp"; reported by bs; proposed fix + by ro. +- Cleanup the spec file: better Group tag; more accurate files list. +* Tue Nov 23 1999 - ke@suse.de +- first SuSE package: version 1.1. +- apply Debian patch to build shared libs. +- build libexpat.a. diff --git a/expatfaq.html b/expatfaq.html new file mode 100644 index 0000000..2a701b0 --- /dev/null +++ b/expatfaq.html @@ -0,0 +1,102 @@ + + + + +expat FAQ + + + +

Frequently Asked Questions about Expat

+ +

Where can I get the latest version of expat?

+ +

The latest version of expat 1.X is available from ftp://ftp.jclark.com/pub/xml/expat.zip. New versions of expat +will be available from expat.sourceforge.net.

+ +

Where can I get help in using expat?

+ +

Try the xml-dev mailing list (subscribe by mailing to majordomo@xml.org +with the message subscribe xml-dev). Alternatively try +the mailing lists hosted by sourceforge.net.

+ +

Where is expat's API documented?

+ +

In xmlparse/xmlparse.h. There's also an advanced, +low-level API you can use which is documented in +xmltok/xmltok.h.

+ +

There's also an excellent article +about expat on XML.com by Clark Cooper.

+ +

Is there a simple example of using expat's API?

+ +

See sample/elements.c

+ +

How can I get expat to deal with non-ASCII characters?

+ +

By default, expat assumes that documents are encoded in UTF-8. In +UTF-8, ASCII characters are represented by a single byte as they would +be in ASCII, but non-ASCII characters are represented by a sequence of +two or more bytes all with the 8th bit set. The encoding most widely +used for European languages is ISO 8859-1 which is not compatible with +UTF-8. To use this encoding, expat must be told either by supplying +an argument of "iso-8859-1" to +XML_ParserCreate, or by starting the document with +<?xml version="1.0" encoding="iso-8859-1"?>.

+ +

What encodings does expat support?

+ +

expat has built in support for the following encodings:

+ + + +

Additional encodings can be supported by using +XML_SetUnknownEncodingHandler.

+ +

How can I get expat to validate my XML documents?

+ +

You can't. expat is not a validating parser.

+ +

How can I get expat to read my DTD?

+ +

Compile with -DXML_DTD and call +XML_SetParamEntityParsing.

+ +

How can I get expat to recover from errors?

+ +

You can't. All well-formedness errors stop processing. Note that +the XML Recommendation does not permit conforming XML processors to +continue normal processing after a fatal error.

+ +

How do I get at the characters between tags?

+ +

Use XML_SetCharacterDataHandler.

+ +

How can I minimize the size of expat?

+ +

Compile with -DXML_MIN_SIZE. With Visual C++, use the +Win32 MinSize configuration: this creates an +xmlparse.dll that does not require +xmltok.dll.

+ +
+ +James Clark + +
+ + + + diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4