Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
yaml-cpp.23005
yaml-cpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yaml-cpp.spec of Package yaml-cpp.23005
# # spec file for package yaml-cpp # # Copyright (c) 2016 SUSE LINUX 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/ # %define library_name libyaml-cpp0_5 Name: yaml-cpp Version: 0.5.3 Release: 0 Summary: YAML parser and emitter in C++ License: MIT Group: Development/Libraries/C and C++ Url: https://github.com/jbeder/yaml-cpp/ Source: https://github.com/jbeder/yaml-cpp/archive/release-%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM bsc#1032144 CVE-2017-5950 Stack overflow in SingleDocParser::HandleNode() Patch0: yaml-cpp-0.5.3-CVE-2017-5950.patch # PATCH-FIX-UPSTREAM bsc#1121227 CVE-2018-20573 # PATCH-FIX-UPSTREAM bsc#1121230 CVE-2018-20574 # PATCH-FIX-UPSTREAM bsc#1122004 CVE-2019-6285 # PATCH-FIX-UPSTREAM bsc#1122021 CVE-2019-6292 Patch1: cve-2018-20574.patch BuildRequires: boost-devel BuildRequires: cmake # cve-2018-20547.patch requires g++-11 BuildRequires: gcc11 BuildRequires: gcc11-c++ BuildRequires: pkg-config BuildRequires: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A YAML parser and emitter in C++ matching the YAML 1.2 spec. %package -n %{library_name} Summary: YAML parser and emitter in C++ Group: Development/Libraries/C and C++ %description -n %{library_name} A YAML parser and emitter in C++ matching the YAML 1.2 spec. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{library_name} = %{version} Requires: boost-devel %description devel Development files for %{name} library. %prep %setup -q -n %{name}-release-%{version} %patch0 -p1 %patch1 -p1 %build %cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_C_COMPILER=/usr/bin/gcc-11 \ -DCMAKE_CXX_COMPILER=/usr/bin/g++-11 make %{?_smp_mflags} %install %cmake_install %post -n %{library_name} -p /sbin/ldconfig %postun -n %{library_name} -p /sbin/ldconfig %files -n %{library_name} %defattr(-,root,root,-) %doc LICENSE %{_libdir}/libyaml-cpp.so.* %files devel %defattr(-,root,root,-) %{_includedir}/yaml-cpp/ %{_libdir}/libyaml-cpp.so %{_libdir}/pkgconfig/yaml-cpp.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