2022-11-08 21:14:57 +00:00
|
|
|
%global sover 0.7
|
2018-02-18 12:48:44 +00:00
|
|
|
|
2009-10-19 16:12:14 +00:00
|
|
|
Name: yaml-cpp
|
2022-11-08 21:14:57 +00:00
|
|
|
Version: 0.7.0
|
|
|
|
Release: 1%{?dist}
|
2009-10-19 16:12:14 +00:00
|
|
|
Summary: A YAML parser and emitter for C++
|
|
|
|
License: MIT
|
2016-08-23 13:00:48 +00:00
|
|
|
URL: https://github.com/jbeder/yaml-cpp
|
|
|
|
Source0: https://github.com/jbeder/yaml-cpp/archive/%{name}-%{version}.tar.gz
|
2018-01-31 02:18:34 +00:00
|
|
|
|
2022-11-08 21:14:57 +00:00
|
|
|
# Install pkgconf and cmake files in LIBDIR instead of DATADIR
|
|
|
|
Patch0: yaml-cpp-cmake.patch
|
2018-02-11 18:04:55 +00:00
|
|
|
|
2018-02-18 12:48:44 +00:00
|
|
|
BuildRequires: cmake gcc gcc-c++
|
2022-11-08 21:14:57 +00:00
|
|
|
BuildRequires: make
|
2012-02-10 16:26:07 +00:00
|
|
|
|
2009-10-19 16:12:14 +00:00
|
|
|
%description
|
|
|
|
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
License: MIT
|
2013-10-31 14:03:58 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2009-10-19 16:12:14 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
2019-06-09 19:44:16 +00:00
|
|
|
The %{name}-devel package contains libraries and header files for
|
2009-10-19 16:12:14 +00:00
|
|
|
developing applications that use %{name}.
|
|
|
|
|
2018-02-11 18:04:55 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static library for %{name}
|
|
|
|
License: MIT
|
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description static
|
|
|
|
The %{name}-static package contains the static library for %{name}.
|
|
|
|
|
|
|
|
|
2009-10-19 16:12:14 +00:00
|
|
|
%prep
|
2018-02-11 18:04:55 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{name}-%{version}
|
2009-10-19 16:12:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2020-07-04 07:59:41 +00:00
|
|
|
%cmake -B build_shared \
|
|
|
|
-DYAML_CPP_BUILD_TOOLS=OFF \
|
2019-10-15 00:33:45 +00:00
|
|
|
-DYAML_BUILD_SHARED_LIBS=ON \
|
2018-02-11 18:04:55 +00:00
|
|
|
-DYAML_CPP_BUILD_TESTS=OFF \
|
2020-07-04 07:59:41 +00:00
|
|
|
%{nil}
|
|
|
|
%make_build -C build_shared
|
2018-04-09 12:16:06 +00:00
|
|
|
|
2020-07-04 07:59:41 +00:00
|
|
|
%cmake -B build_static \
|
|
|
|
-DYAML_CPP_BUILD_TOOLS=OFF \
|
2019-10-15 00:33:45 +00:00
|
|
|
-DYAML_BUILD_SHARED_LIBS=OFF \
|
2018-04-09 12:16:06 +00:00
|
|
|
-DYAML_CPP_BUILD_TESTS=OFF \
|
2020-07-04 07:59:41 +00:00
|
|
|
%{nil}
|
|
|
|
%make_build -C build_static
|
2009-10-19 16:12:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2020-07-04 07:59:41 +00:00
|
|
|
%make_install -C build_static yaml-cpp
|
2019-10-15 00:33:45 +00:00
|
|
|
|
|
|
|
# Move files so they don't get trampled
|
|
|
|
mv %{buildroot}%{_libdir}/cmake/%{name} \
|
|
|
|
%{buildroot}%{_libdir}/cmake/%{name}-static
|
|
|
|
mv %{buildroot}%{_libdir}/pkgconfig/%{name}.pc \
|
|
|
|
%{buildroot}%{_libdir}/pkgconfig/%{name}-static.pc
|
2009-10-19 16:12:14 +00:00
|
|
|
|
2020-07-04 07:59:41 +00:00
|
|
|
%make_install -C build_shared
|
2019-10-15 00:33:45 +00:00
|
|
|
|
2022-11-08 21:14:57 +00:00
|
|
|
|
2019-01-22 17:41:23 +00:00
|
|
|
%ldconfig_scriptlets
|
2009-10-19 16:12:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2016-08-23 13:00:48 +00:00
|
|
|
%doc CONTRIBUTING.md README.md
|
|
|
|
%license LICENSE
|
2018-02-18 12:48:44 +00:00
|
|
|
%{_libdir}/*.so.%{sover}*
|
2009-10-19 16:12:14 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/yaml-cpp/
|
|
|
|
%{_libdir}/*.so
|
2018-02-11 18:04:55 +00:00
|
|
|
%{_libdir}/cmake/%{name}
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%license LICENSE
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/cmake/%{name}-static
|
|
|
|
%{_libdir}/pkgconfig/%{name}-static.pc
|
2009-10-19 16:12:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-11-08 21:14:57 +00:00
|
|
|
* Tue Sep 06 2022 Richard Shaw <hobbes1069@gmail.com> - 0.7.0-1
|
|
|
|
- Update to 0.7.0.
|
|
|
|
|
2022-07-23 13:41:32 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-22 05:38:46 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 22:05:10 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-28 00:30:03 +00:00
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 15:11:16 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 05:03:35 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-15 00:33:45 +00:00
|
|
|
* Tue Oct 15 2019 Richard Shaw <hobbes1069@gmail.com> - 0.6.3-1
|
|
|
|
- Update to 0.6.3.
|
|
|
|
|
2019-07-27 04:45:52 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-09 19:44:16 +00:00
|
|
|
* Sun Jun 09 2019 Till Hofmann <thofmann@fedoraproject.org> - 0.6.2-2
|
|
|
|
- Remove unused boost dependency
|
|
|
|
|
2019-06-09 14:54:54 +00:00
|
|
|
* Sun Jun 09 2019 Till Hofmann <thofmann@fedoraproject.org> - 0.6.2-1
|
|
|
|
- Update to 0.6.2
|
|
|
|
|
2019-02-03 12:56:00 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-24 21:42:58 +00:00
|
|
|
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 0.6.1-5
|
|
|
|
- Rebuilt for Boost 1.69
|
|
|
|
|
2018-09-16 12:20:56 +00:00
|
|
|
* Sun Sep 16 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-4
|
|
|
|
- Add patch for CVE-2017-5950.
|
|
|
|
|
2018-07-14 09:40:20 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-09 12:16:06 +00:00
|
|
|
* Mon Apr 09 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-2
|
|
|
|
- Fixes improperly generated cmake config files, RHBZ#1558637.
|
|
|
|
|
2018-02-18 12:48:44 +00:00
|
|
|
* Sun Feb 18 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.1-1
|
|
|
|
- Update to 0.6.1.
|
|
|
|
|
2018-02-11 18:04:55 +00:00
|
|
|
* Sun Feb 11 2018 Richard Shaw <hobbes1069@gmail.com> - 0.6.0-1
|
|
|
|
- Update to 0.6.0.
|
|
|
|
- Add static library subpackage.
|
|
|
|
|
2018-02-09 22:13:43 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-31 02:18:34 +00:00
|
|
|
* Wed Jan 31 2018 Richard Shaw <hobbes1069@gmail.com> - 0.5.3-9
|
|
|
|
- Install yaml cmake files, fixes RHBZ#1509421.
|
|
|
|
|
2018-01-23 01:07:28 +00:00
|
|
|
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-8
|
|
|
|
- Rebuilt for Boost 1.66
|
|
|
|
|
2017-07-27 22:32:22 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-19 16:36:53 +00:00
|
|
|
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-6
|
|
|
|
- Rebuilt for s390x binutils bug
|
|
|
|
|
2017-07-04 13:28:15 +00:00
|
|
|
* Tue Jul 04 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-5
|
|
|
|
- Rebuilt for Boost 1.64
|
|
|
|
|
2017-02-11 18:14:17 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-27 16:47:12 +00:00
|
|
|
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-3
|
|
|
|
- Rebuilt for Boost 1.63
|
2018-02-11 18:04:55 +00:00
|
|
|
|
2017-01-27 09:35:03 +00:00
|
|
|
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-2
|
|
|
|
- Rebuilt for Boost 1.63
|
|
|
|
|
2016-08-23 13:00:48 +00:00
|
|
|
* Tue Aug 23 2016 Richard Shaw <hobbes1069@gmail.com> - 0.5.3-1
|
|
|
|
- Update to latest upstream release.
|
|
|
|
|
2016-02-05 03:55:39 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-16 04:46:33 +00:00
|
|
|
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-12
|
|
|
|
- Rebuilt for Boost 1.60
|
|
|
|
|
2015-08-27 15:42:10 +00:00
|
|
|
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.5.1-11
|
|
|
|
- Rebuilt for Boost 1.59
|
|
|
|
|
2015-07-29 18:38:19 +00:00
|
|
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
|
|
2015-07-22 20:40:01 +00:00
|
|
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.5.1-9
|
|
|
|
- rebuild for Boost 1.58
|
|
|
|
|
2015-06-19 04:34:13 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 16:49:41 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.5.1-7
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-02-26 02:16:45 +00:00
|
|
|
* Thu Feb 26 2015 Guido Grazioli <guido.grazioli@gmail.com> - 0.5.1-6
|
|
|
|
- Rebuild for gcc switching default to -std=gnu11
|
|
|
|
|
2015-01-27 00:41:25 +00:00
|
|
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.5.1-5
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2014-08-18 11:17:14 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 17:41:13 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-22 23:28:07 +00:00
|
|
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.5.1-2
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
|
2013-11-14 15:41:31 +00:00
|
|
|
* Thu Nov 14 2013 Richard Shaw <hobbes1069@gmail.com> - 0.5.1-1
|
2013-10-31 14:03:58 +00:00
|
|
|
- Update to latest upstream release.
|
|
|
|
|
2013-08-04 09:28:32 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-15 04:09:02 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-22 07:33:23 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-10 16:26:07 +00:00
|
|
|
* Fri Feb 10 2012 Richard Shaw <hobbes1069@gmail.com> - 0.3.0-1
|
|
|
|
- Update to latest release.
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
2012-01-14 09:24:47 +00:00
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-09-30 04:24:48 +00:00
|
|
|
* Fri Sep 30 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.7-1
|
|
|
|
- Update to 0.2.7
|
|
|
|
- Remove gcc 4.6 patch fixed upstream
|
|
|
|
|
2011-05-09 12:13:44 +00:00
|
|
|
* Mon May 09 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.6-1
|
|
|
|
- Upstream 0.2.6
|
|
|
|
|
2011-02-08 07:19:39 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-04-02 11:30:43 +00:00
|
|
|
* Fri Apr 02 2010 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.5-1
|
|
|
|
- Upstream 0.2.5
|
|
|
|
|
2010-01-18 10:07:56 +00:00
|
|
|
* Fri Jan 15 2010 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.4-1
|
|
|
|
- Upstream 0.2.4
|
|
|
|
|
2009-10-19 16:12:14 +00:00
|
|
|
* Sat Oct 17 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-2
|
|
|
|
- Remove duplicate file
|
|
|
|
|
|
|
|
* Wed Oct 14 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-1
|
|
|
|
- Initial packaging
|