Install yaml cmake files, fixes RHBZ#1509421.
Boost is no longer needed since 0.5.3.
This commit is contained in:
parent
c47e3d49b1
commit
39910f2793
@ -1,13 +1,14 @@
|
||||
Name: yaml-cpp
|
||||
Version: 0.5.3
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: A YAML parser and emitter for C++
|
||||
Group: Development/Libraries
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/jbeder/yaml-cpp
|
||||
Source0: https://github.com/jbeder/yaml-cpp/archive/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake gcc-c++
|
||||
BuildRequires: boost-devel
|
||||
|
||||
%description
|
||||
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
|
||||
@ -19,7 +20,6 @@ Group: Development/Libraries
|
||||
License: MIT
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: boost-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
@ -39,6 +39,11 @@ make VERBOSE=1 %{?_smp_mflags}
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# Install cmake devel files
|
||||
mkdir -p %{buildroot}%{_libdir}/cmake/%{name}
|
||||
install -pm 0644 yaml-cpp-config{,-version}.cmake \
|
||||
%{buildroot}%{_libdir}/cmake/%{name}/
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
@ -54,9 +59,14 @@ make VERBOSE=1 %{?_smp_mflags}
|
||||
%{_includedir}/yaml-cpp/
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/cmake/%{name}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 31 2018 Richard Shaw <hobbes1069@gmail.com> - 0.5.3-9
|
||||
- Install yaml cmake files, fixes RHBZ#1509421.
|
||||
- Boost is no longer needed since 0.5.3.
|
||||
|
||||
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.5.3-8
|
||||
- Rebuilt for Boost 1.66
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user