source: projects/specs/branches/6/lib/liby/libyaml/libyaml-vl.spec @ 8320

Revision 8320, 2.4 KB checked in by iwamoto, 10 years ago (diff)

libyaml: add security patch

Line 
1Summary:        YAML 1.1 parser and emitter written in C
2
3Name:           libyaml
4Version:        0.1.4
5Release:        2%{?_dist_release}
6
7Group:          Development/Libraries
8License:        MIT
9URL:            http://pyyaml.org/
10Source0:        http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
11Patch100:       libyaml-string-overflow.patch
12Patch110:       libyaml-node-id-hardening.patch
13Patch120:       libyaml-indent-column-overflow-v2.patch
14Patch130:       libyaml-0.1.4-CVE-2014-2525.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17
18Vendor:         Project Vine
19Distribution:   Vine Linux
20
21%description
22YAML is a data serialization format designed for human readability and
23interaction with scripting languages.  LibYAML is a YAML parser and
24emitter written in C.
25
26
27%package devel
28Summary:        Development libraries and headers for developing LibYAML applications
29Group:          Development/Libraries
30Requires:       libyaml = %{version}-%{release}
31
32
33%description devel
34Development 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
46make %{?_smp_mflags}
47
48
49%install
50rm -rf %{buildroot}
51make DESTDIR=%{buildroot} INSTALL="install -p" install
52rm -f %{buildroot}%{_libdir}/*.{la,a}
53
54%clean
55rm -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
Note: See TracBrowser for help on using the repository browser.