1 | Summary: YAML 1.1 parser and emitter written in C |
---|
2 | |
---|
3 | Name: libyaml |
---|
4 | Version: 0.1.4 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | Group: Development/Libraries |
---|
8 | License: MIT |
---|
9 | URL: http://pyyaml.org/ |
---|
10 | Source0: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz |
---|
11 | Patch100: libyaml-string-overflow.patch |
---|
12 | Patch110: libyaml-node-id-hardening.patch |
---|
13 | Patch120: libyaml-indent-column-overflow-v2.patch |
---|
14 | Patch130: libyaml-0.1.4-CVE-2014-2525.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | |
---|
21 | %description |
---|
22 | YAML is a data serialization format designed for human readability and |
---|
23 | interaction with scripting languages. LibYAML is a YAML parser and |
---|
24 | emitter written in C. |
---|
25 | |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development libraries and headers for developing LibYAML applications |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: libyaml = %{version}-%{release} |
---|
31 | |
---|
32 | |
---|
33 | %description devel |
---|
34 | Development libraries and headers for developing LibYAML applications. |
---|
35 | |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q -n yaml-%{version} |
---|
39 | %patch100 -p1 |
---|
40 | %patch110 -p1 |
---|
41 | %patch120 -p1 |
---|
42 | %patch130 -p1 |
---|
43 | |
---|
44 | %build |
---|
45 | %configure |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf %{buildroot} |
---|
51 | make DESTDIR=%{buildroot} INSTALL="install -p" install |
---|
52 | rm -f %{buildroot}%{_libdir}/*.{la,a} |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf %{buildroot} |
---|
56 | |
---|
57 | |
---|
58 | %post -p /sbin/ldconfig |
---|
59 | |
---|
60 | |
---|
61 | %postun -p /sbin/ldconfig |
---|
62 | |
---|
63 | |
---|
64 | %files |
---|
65 | %defattr(-,root,root,-) |
---|
66 | %doc README LICENSE |
---|
67 | %{_libdir}/%{name}*.so.* |
---|
68 | |
---|
69 | |
---|
70 | %files devel |
---|
71 | %defattr(-,root,root,-) |
---|
72 | %doc doc/html |
---|
73 | %{_libdir}/%{name}*.so |
---|
74 | %{_includedir}/yaml.h |
---|
75 | |
---|
76 | |
---|
77 | %changelog |
---|
78 | * Thu Mar 27 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.1.4-2 |
---|
79 | - add patch130 for fix CVE-2014-2525 |
---|
80 | this patch is from debian wheezy, thanks |
---|
81 | |
---|
82 | * Sat Feb 1 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.1.4-1 |
---|
83 | - new upstream release |
---|
84 | - add pacth100-120 for fix CVE-2013-6393 (from debian) |
---|
85 | - add Vendor/Distri tags |
---|
86 | |
---|
87 | * Fri Jun 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.2-2 |
---|
88 | - rebuilt with Vine6 environment |
---|
89 | |
---|
90 | * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1 |
---|
91 | - initial build for Vine Linux |
---|
92 | |
---|
93 | * Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3 |
---|
94 | - Remove static libraries |
---|
95 | |
---|
96 | * Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2 |
---|
97 | - Remove README and LICENSE from docs on -devel package |
---|
98 | - Remove -static package and merge contents into the -devel package |
---|
99 | |
---|
100 | * Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1 |
---|
101 | - Initial packaging for Fedora |
---|