Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

13 commits

Author SHA1 Message Date
Richard Shaw
5595c23b07 Not required by any other package and has CVE's that will not get fixed. 2018-12-19 14:50:32 -06:00
Fedora Release Engineering
43e6505ee4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:40:26 +00:00
Richard Shaw
2c667c73df Update build requirements for gcc/gcc-c++ per https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires 2018-02-19 09:46:52 -06:00
Fedora Release Engineering
2c37e28a82 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 22:13:51 +00:00
Fedora Release Engineering
b0fbbf7436 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:32:29 +00:00
Jonathan Wakely
768dacfe2d Rebuilt for s390x binutils bug 2017-07-19 19:07:49 +01:00
Jonathan Wakely
765251d494 Rebuilt for Boost 1.64 2017-07-18 17:08:12 +01:00
Fedora Release Engineering
bd82a0cc40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:14:23 +00:00
Fedora Release Engineering
4ff5dec7c2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:55:46 +00:00
Dennis Gilmore
a07fa0c6bd - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:34:22 +00:00
Kalev Lember
4c9bec3c82 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 18:49:27 +02:00
e37a0e9ea9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 11:17:40 +00:00
Dennis Gilmore
018e54ba4b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 12:41:33 -05:00
5 changed files with 1 additions and 108 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/yaml-cpp-0.3.0.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Not required by any other package and has CVE's that will not get fixed.

View file

@ -1 +0,0 @@
9aa519205a543f9372bf4179071c8ac6 yaml-cpp-0.3.0.tar.gz

View file

@ -1,10 +0,0 @@
diff -Naur yaml-cpp.orig/yaml-cpp.pc.cmake yaml-cpp/yaml-cpp.pc.cmake
--- yaml-cpp.orig/yaml-cpp.pc.cmake 2012-01-21 02:52:48.000000000 -0600
+++ yaml-cpp/yaml-cpp.pc.cmake 2013-10-16 14:41:06.837360011 -0500
@@ -7,5 +7,5 @@
Description: A YAML parser and emitter for C++
Version: @YAML_CPP_VERSION@
Requires:
-Libs: -L${libdir} -lyaml-cpp
+Libs: -L${libdir} -lyaml-cpp03
Cflags: -I${includedir}

View file

@ -1,96 +0,0 @@
%global realname yaml-cpp
Name: yaml-cpp03
Version: 0.3.0
Release: 4%{?dist}
Summary: A YAML parser and emitter for C++
License: MIT
URL: http://code.google.com/p/yaml-cpp/
Source0: http://yaml-cpp.googlecode.com/files/%{realname}-%{version}.tar.gz
Patch0: yaml-cpp03-pkgconf.patch
BuildRequires: cmake
Provides: yaml-cpp = %{version}-%{release}
Obsoletes: yaml-cpp < 0.3.0-5
%description
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
This is a compatibility package for version 0.3.
%package devel
Summary: Development files for %{name}
License: MIT
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Requires: boost-devel
Provides: yaml-cpp-devel = %{version}-%{release}
Obsoletes: yaml-cpp-devel < 0.3.0-5
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
This is a compatibility package for version 3.
%prep
%setup -q -n %{realname}
%patch0 -p1 -b .pkgconf
# Fix eol
sed -i 's/\r//' license.txt
%build
# ask cmake to not strip binaries
%cmake . -DYAML_CPP_BUILD_TOOLS=0
make VERBOSE=1 %{?_smp_mflags}
%install
%make_install
#find %{buildroot} -name '*.la' -exec rm -f {} ';'
# Move things as to not conflict with the main package
mv %{buildroot}%{_includedir}/yaml-cpp %{buildroot}%{_includedir}/%{name}
mv %{buildroot}%{_libdir}/libyaml-cpp.so %{buildroot}%{_libdir}/lib%{name}.so
mv %{buildroot}%{_libdir}/pkgconfig/yaml-cpp.pc \
%{buildroot}%{_libdir}/pkgconfig/%{name}.pc
# Correct paths in yaml headers
for header in %{buildroot}%{_includedir}/%{name}/*.h; do
sed -i "s|#include \"yaml-cpp|#include \"%{name}|g" $header
done
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc license.txt
%{_libdir}/*.so.*
%files devel
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Wed Oct 30 2013 Richard Shaw <hobbes1069@gmail.com> - 0.3.0-4
- Change package name to yaml-cpp03 per reviewer input.
* Wed Sep 4 2013 Richard Shaw <hobbes1069@gmail.com> - 0.3.0-3
- Add obsoletes/provides for proper upgrade path.
- Fix internal header references to yaml-cpp3.
- Fix pkg-config file to reference yaml-cpp3.
* Mon Aug 26 2013 Richard Shaw <hobbes1069@gmail.com> - 0.3.0-1
- Initial packaging.