]> git.pld-linux.org Git - packages/yaml.git/blob - yaml.spec
731105bcb6cc8defc6e4e48981b703b67527339a
[packages/yaml.git] / yaml.spec
1 Summary:        A C library for parsing and emitting YAML
2 Summary(pl.UTF-8):      Biblioteka C do analizy i wytwarzania YAML-a
3 Name:           yaml
4 Version:        0.1.4
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        http://pyyaml.org/download/libyaml/%{name}-%{version}.tar.gz
9 # Source0-md5:  36c852831d02cf90508c29852361d01b
10 URL:            http://pyyaml.org/wiki/LibYAML
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 YAML 1.1 parser and emitter written in C.
15
16 %description -l pl.UTF-8
17 Napisana w C biblioteka analizująca i wytwarzająca danych w formacie
18 YAML 1.1.
19
20 %package devel
21 Summary:        Header files for yaml library
22 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki yaml
23 Group:          Development/Libraries
24 Requires:       %{name} = %{epoch}:%{version}-%{release}
25
26 %description devel
27 Header files for yaml library.
28
29 %description devel -l pl.UTF-8
30 Pliki nagłówkowe biblioteki yaml.
31
32 %package static
33 Summary:        Static yaml library
34 Summary(pl.UTF-8):      Statyczna biblioteka yaml
35 Group:          Development/Libraries
36 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
37
38 %description static
39 Static yaml library.
40
41 %description static -l pl.UTF-8
42 Statyczna biblioteka yaml.
43
44 %prep
45 %setup -q
46
47 %build
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post   -p /sbin/ldconfig
61 %postun -p /sbin/ldconfig
62
63 %files
64 %defattr(644,root,root,755)
65 %doc LICENSE README
66 %attr(755,root,root) %{_libdir}/libyaml-0.so.*.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libyaml-0.so.2
68
69 %files devel
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/libyaml.so
72 %{_libdir}/libyaml.la
73 %{_includedir}/yaml.h
74 %{_pkgconfigdir}/yaml-0.1.pc
75
76 %files static
77 %defattr(644,root,root,755)
78 %{_libdir}/libyaml.a
This page took 0.023189 seconds and 2 git commands to generate.