4 Url: http://expat.sourceforge.net/
5 Summary: XML Parser Toolkit
7 Group: System/Libraries
8 Source0: %{name}-%{version}.tar.gz
10 Source1001: expat.manifest
11 BuildRequires: gcc-c++
12 BuildRequires: libtool
13 BuildRequires: pkg-config
16 Expat is an XML 1.0 parser written in C. It aims to be fully
17 conformant. It is currently not a validating XML processor. The current
18 production version of expat can be downloaded from
19 ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
20 low-level library for tokenizing XML. The interface is documented in
21 xmltok/xmltok.h. The directory xmlparse contains an XML parser library
22 that is built on top of the xmltok library. The interface is documented
23 in xmlparse/xmlparse.h. The directory sample contains a simple example
24 program using this interface. The file sample/build.bat is a batch
25 file to build the example using Visual C++. The directory xmlwf
26 contains the xmlwf application, which uses the xmlparse library. The
27 arguments to xmlwf are one or more files to check for well-formedness.
28 An option -d dir can be specified. For each well-formed input file, the
29 corresponding canonical XML is written to dir/f, where f is the
30 filename (without any path) of the input file. A -x option causes
31 references to external general entities to be processed. A -s option
32 makes documents that are not stand-alone cause an error (a document is
33 considered stand-alone if it is intrinsically stand-alone because it
34 has no external subset and no references to parameter entities in the
35 internal subset or it is declared as stand-alone in the XML
39 Summary: XML Parser Toolkit
40 Group: System/Libraries
42 %description -n libexpat
43 Expat is an XML 1.0 parser written in C. It aims to be fully
44 conformant. It is currently not a validating XML processor. The current
45 production version of expat can be downloaded from
46 ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
47 low-level library for tokenizing XML. The interface is documented in
48 xmltok/xmltok.h. The directory xmlparse contains an XML parser library
49 that is built on top of the xmltok library. The interface is documented
50 in xmlparse/xmlparse.h. The directory sample contains a simple example
51 program using this interface. The file sample/build.bat is a batch
52 file to build the example using Visual C++. The directory xmlwf
53 contains the xmlwf application, which uses the xmlparse library. The
54 arguments to xmlwf are one or more files to check for well-formedness.
55 An option -d dir can be specified. For each well-formed input file, the
56 corresponding canonical XML is written to dir/f, where f is the
57 filename (without any path) of the input file. A -x option causes
58 references to external general entities to be processed. A -s option
59 makes documents that are not stand-alone cause an error (a document is
60 considered stand-alone if it is intrinsically stand-alone because it
61 has no external subset and no references to parameter entities in the
62 internal subset or it is declared as stand-alone in the XML
65 %package -n libexpat-devel
66 Summary: XML Parser Toolkit
67 Group: Development/Libraries
69 Requires: libexpat = %{version}
72 %description -n libexpat-devel
73 Expat is an XML 1.0 parser written in C. It aims to be fully
74 conformant. It is currently not a validating XML processor. The current
75 production version of expat can be downloaded from
76 ftp://ftp.jclark.com/pub/xml/expat.zip. The directory xmltok contains a
77 low-level library for tokenizing XML. The interface is documented in
78 xmltok/xmltok.h. The directory xmlparse contains an XML parser library
79 that is built on top of the xmltok library. The interface is documented
80 in xmlparse/xmlparse.h. The directory sample contains a simple example
81 program using this interface. The file sample/build.bat is a batch
82 file to build the example using Visual C++. The directory xmlwf
83 contains the xmlwf application, which uses the xmlparse library. The
84 arguments to xmlwf are one or more files to check for well-formedness.
85 An option -d dir can be specified. For each well-formed input file, the
86 corresponding canonical XML is written to dir/f, where f is the
87 filename (without any path) of the input file. A -x option causes
88 references to external general entities to be processed. A -s option
89 makes documents that are not stand-alone cause an error (a document is
90 considered stand-alone if it is intrinsically stand-alone because it
91 has no external subset and no references to parameter entities in the
92 internal subset or it is declared as stand-alone in the XML
102 %configure --disable-static --with-pic
112 %post -n libexpat -p /sbin/ldconfig
114 %postun -n libexpat -p /sbin/ldconfig
117 %manifest %{name}.manifest
118 %defattr(-, root, root)
120 %doc %{_mandir}/man?/*
124 %manifest %{name}.manifest
125 %defattr(-, root, root)
126 %{_libdir}/libexpat.so.*
128 %files -n libexpat-devel
129 %manifest %{name}.manifest
130 %defattr(-, root, root)
132 %{_libdir}/libexpat.so
133 %{_libdir}/pkgconfig/expat.pc