Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
xerces-c.35691
xerces-c.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xerces-c.spec of Package xerces-c.35691
# # spec file for package xerces-c # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: xerces-c BuildRequires: gcc-c++ BuildRequires: libicu-devel BuildRequires: pkgconfig Version: 3.1.1 Release: 0 Summary: A Validating XML Parser License: Apache-2.0 Group: Productivity/Publishing/XML URL: http://xerces.apache.org/xerces-c/ Source0: %{name}-%{version}.tar.gz Source1: baselibs.conf # PATCH-FIX-UPSTREAM bnc920810 xerces-c-CVE-2015-0252.patch pwieczorkiewicz@suse.com -- Fix for mishandling certain kinds of malformed input documents Patch1: %{name}-CVE-2015-0252.patch # PATCH-FIX-UPSTREAM bsc#966822 xerces-c-CVE-2016-0729.patch pwieczorkiewicz@suse.com -- Fix for XML Parser Crashes on Malformed Input Patch2: %{name}-CVE-2016-0729.patch # PATCH-FIX-UPSTREAM bsc#979208 Patch3: %{name}-CVE-2016-2099.patch # PATCH-FIX-UPSTREAM bnc#985860 CVE-2016-4463 Patch4: xerces-c-CVE-2016-4463-part1.patch Patch5: xerces-c-CVE-2016-4463-part2.patch Patch6: xerces-c-CVE-2017-12627.patch # PATCH-FIX-UPSTREAM bsc#1159552 danilo.spinella@suse.com -- the XML parser contains a use-after-free # triggered during the scanning of external DTDs potentially leading to DOS Patch7: xerces-c-CVE-2018-1311.patch # PATCH-FIX-SLE bsc#1216156 martin.schreiner@suse.com # fix integer overflow that could potentially lead to out-of-bounds memory accesses Patch8: xerces-c-CVE-2023-37536.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Xerces-C is a validating XML parser written in a portable subset of C++. Xerces-C makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. Xerces-C is faithful to the XML 1.0 recommendation and associated standards ( DOM 1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces). %package -n libxerces-c-3_1 Summary: Shared libraries for Xerces-c - a validating XML parser Group: Productivity/Publishing/XML Provides: Xerces-c = %{version} Obsoletes: Xerces-c <= %{version} %description -n libxerces-c-3_1 Xerces-C is a validating XML parser written in a portable subset of C++. Xerces-C makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. Xerces-C is faithful to the XML 1.0 recommendation and associated standards ( DOM 1.0, DOM 2.0. SAX 1.0, SAX 2.0, Namespaces). This package contains just the shared libraries. %package -n libxerces-c-devel Requires: libxerces-c-3_1 = %{version} Provides: Xerces-c-devel = %{version} Obsoletes: Xerces-c-devel <= %{version} Provides: libXerces-c-devel = %{version} Obsoletes: libXerces-c-devel <= %{version} Summary: A validating XML parser - Development Files Group: Development/Libraries/C and C++ %description -n libxerces-c-devel Xerces-C is a validating XML parser written in a portable subset of C++. Xerces-C makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. This package includes files needed for development with Xerces-c %prep %setup -q -n xerces-c-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p0 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %build %configure \ %ifnarch x86_64 --disable-sse2 \ %endif --enable-transcoder-gnuiconv \ --disable-static make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -n libxerces-c-3_1 -p /sbin/ldconfig %postun -n libxerces-c-3_1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc CREDITS KEYS LICENSE NOTICE README doc/* %{_bindir}/* %files -n libxerces-c-3_1 %defattr(-,root,root) %{_libdir}/libxerces-c-3.1.so %files -n libxerces-c-devel %defattr(-,root,root) %{_includedir}/xercesc %{_libdir}/libxerces-c.so %{_libdir}/pkgconfig/xerces-c.pc %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