Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
libexpat0
libexpat0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libexpat0.spec of Package libexpat0
# # spec file for package libexpat0 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libexpat0 Version: 1.95.8 Release: 0 Url: http://expat.sourceforge.net/ Summary: XML Parser Toolkit License: MIT and Apache-2.0 Group: Development/Libraries/C and C++ Source0: expat-%{version}.tar.bz2 Source1: baselibs.conf Patch0: expat-%version.diff Patch1: expat-CVE-2009-2625.patch Patch2: expat-CVE-2009-3560.patch 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 <jjc@jclark.com> %prep %setup -q -n expat-%version %patch0 %patch1 %patch2 %build %configure --disable-static --with-pic make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install rm doc/xmlwf.1 rm -f $RPM_BUILD_ROOT{%_bindir/xmlwf,%_includedir/expat*,%_libdir/libexpat.{a,la},%_libdir/libexpat.so,%_mandir/man1/xmlwf.1} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %{_libdir}/libexpat.so.0 %{_libdir}/libexpat.so.0.5.0 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor