Name: yaml-cpp7 Version: 0.7.0 Release: 4mamba Summary: A YAML parser and emitter in C++ matching the YAML 1.2 spec Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/jbeder/yaml-cpp Source: https://github.com/jbeder/yaml-cpp.git/yaml-cpp-%{version}/yaml-cpp-%{version}.tar.bz2 Patch0: yaml-cpp-0.7.0-fix-cmake-export-files.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec. %package -n lib%{name} Group: System/Libraries Summary: A YAML parser and emitter in C++ matching the YAML 1.2 spec %description -n lib%{name} yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec. This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec. This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n yaml-cpp-%{version} %patch0 -p1 -b .fix-cmake-export-files %build %cmake -d build \ -DYAML_BUILD_SHARED_LIBS=ON \ -DYAML_CPP_BUILD_TESTS=OFF %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libyaml-cpp.so.* %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/yaml-cpp %{_includedir}/yaml-cpp/*.h %dir %{_includedir}/yaml-cpp/contrib %{_includedir}/yaml-cpp/contrib/*.h %dir %{_includedir}/yaml-cpp/node %{_includedir}/yaml-cpp/node/*.h %dir %{_includedir}/yaml-cpp/node/detail %{_includedir}/yaml-cpp/node/detail/*.h %{_libdir}/libyaml-cpp.so %{_datadir}/pkgconfig/yaml-cpp.pc %dir %{_datadir}/cmake/yaml-cpp/ %{_datadir}/cmake/yaml-cpp/yaml-cpp*.cmake %changelog * Tue Oct 10 2023 Silvan Calarco 0.7.0-4mamba - legacy package * Wed Aug 24 2022 Silvan Calarco 0.7.0-3mamba - apply another (upstream) patch to fix cmake exported files * Tue Aug 23 2022 Silvan Calarco 0.7.0-2mamba - added a patch to fix broken cmake targets * Sun Jul 18 2021 Automatic Build System 0.7.0-1mamba - automatic version update by autodist * Fri Oct 04 2019 Automatic Build System 0.6.3-1mamba - automatic version update by autodist * Sun Jun 30 2019 Silvan Calarco 0.6.2-1mamba - update to 0.6.2 * Thu Jan 14 2016 Automatic Build System 0.5.3-1mamba - automatic version update by autodist * Thu Dec 17 2015 Silvan Calarco 0.5.2-2mamba - rebuilt with gcc 5.2.0 * Sat Apr 04 2015 Silvan Calarco 0.5.2-1mamba - update to 0.5.2 * Tue Feb 03 2015 Silvan Calarco 0.5.1-1mamba - package created using the webbuild interface