2024-01-05 19:59:51 +01:00
|
|
|
Name: yaml-cpp
|
2024-01-05 19:59:51 +01:00
|
|
|
Version: 0.6.3
|
2024-01-05 19:59:51 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 19:59:51 +01:00
|
|
|
Summary: A YAML parser and emitter in C++ matching the YAML 1.2 spec
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://code.google.com/p/yaml-cpp/
|
2024-01-05 19:59:51 +01:00
|
|
|
Source: https://github.com/jbeder/yaml-cpp.git/yaml-cpp-%{version}/yaml-cpp-%{version}.tar.bz2
|
2024-01-05 19:59:51 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%build
|
2024-01-05 19:59:51 +01:00
|
|
|
%cmake -d build \
|
2024-01-05 19:59:51 +01:00
|
|
|
-DYAML_BUILD_SHARED_LIBS=ON \
|
2024-01-05 19:59:51 +01:00
|
|
|
-DYAML_CPP_BUILD_TESTS=OFF
|
|
|
|
|
2024-01-05 19:59:51 +01:00
|
|
|
%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
|
|
|
|
%{_libdir}/pkgconfig/yaml-cpp.pc
|
2024-01-05 19:59:51 +01:00
|
|
|
%dir %{_libdir}/cmake/yaml-cpp
|
|
|
|
%{_libdir}/cmake/yaml-cpp/yaml-cpp-*cmake
|
2024-01-05 19:59:51 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 19:59:51 +01:00
|
|
|
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 0.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:59:51 +01:00
|
|
|
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-1mamba
|
|
|
|
- update to 0.6.2
|
|
|
|
|
2024-01-05 19:59:51 +01:00
|
|
|
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:59:51 +01:00
|
|
|
* Thu Dec 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-2mamba
|
|
|
|
- rebuilt with gcc 5.2.0
|
|
|
|
|
2024-01-05 19:59:51 +01:00
|
|
|
* Sat Apr 04 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-1mamba
|
|
|
|
- update to 0.5.2
|
|
|
|
|
2024-01-05 19:59:51 +01:00
|
|
|
* Tue Feb 03 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- package created using the webbuild interface
|