source: projects/specs/trunk/lib/liby/libyaml/libyaml-vl.spec @ 5901

Revision 5901, 1.8 KB checked in by kudoh, 12 years ago (diff)
Line 
1Summary:        YAML 1.1 parser and emitter written in C
2
3Name:           libyaml
4Version:        0.1.4
5Release:        1%{?_dist_release}
6
7Group:          Development/Libraries
8License:        MIT
9URL:            http://pyyaml.org/
10Source0:        http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13
14%description
15YAML is a data serialization format designed for human readability and
16interaction with scripting languages.  LibYAML is a YAML parser and
17emitter written in C.
18
19
20%package devel
21Summary:        Development libraries and headers for developing LibYAML applications
22Group:          Development/Libraries
23Requires:       libyaml = %{version}-%{release}
24
25
26%description devel
27Development libraries and headers for developing LibYAML applications.
28
29
30%prep
31%setup -q -n yaml-%{version}
32
33
34%build
35%configure
36make %{?_smp_mflags}
37
38
39%install
40rm -rf %{buildroot}
41make DESTDIR=%{buildroot} INSTALL="install -p" install
42rm -f %{buildroot}%{_libdir}/*.{la,a}
43
44%clean
45rm -rf %{buildroot}
46
47
48%post -p /sbin/ldconfig
49
50
51%postun -p /sbin/ldconfig
52
53
54%files
55%defattr(-,root,root,-)
56%doc README LICENSE
57%{_libdir}/%{name}*.so.*
58
59
60%files devel
61%defattr(-,root,root,-)
62%doc doc/html
63%{_libdir}/%{name}*.so
64%{_libdir}/pkgconfig/yaml-0.1.pc
65%{_includedir}/yaml.h
66
67
68%changelog
69* Mon Mar 12 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.4-1
70- new upstream release
71
72* Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1
73- initial build for Vine Linux
74
75* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
76- Remove static libraries
77
78* Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
79- Remove README and LICENSE from docs on -devel package
80- Remove -static package and merge contents into the -devel package
81
82* Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
83- Initial packaging for Fedora
Note: See TracBrowser for help on using the repository browser.