source: projects/specs/tags/6_0_REL/lib/liby/libyaml/libyaml-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        YAML 1.1 parser and emitter written in C
2
3Name:           libyaml
4Version:        0.1.2
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%{_includedir}/yaml.h
65
66
67%changelog
68* Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.1.2-1
69- initial build for Vine Linux
70
71* Tue Mar 3 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-3
72- Remove static libraries
73
74* Thu Feb 26 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-2
75- Remove README and LICENSE from docs on -devel package
76- Remove -static package and merge contents into the -devel package
77
78* Wed Feb 25 2009 John Eckersberg <jeckersb@redhat.com> - 0.1.2-1
79- Initial packaging for Fedora
Note: See TracBrowser for help on using the repository browser.