]> git.pld-linux.org Git - packages/yaml.git/blob - yaml.spec
- updated to 0.2.5
[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.2.5
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 #Source0Download: https://github.com/yaml/libyaml/releases
9 Source0:        https://github.com/yaml/libyaml/releases/download/%{version}/yaml-%{version}.tar.gz
10 # Source0-md5:  bb15429d8fb787e7d3f1c83ae129a999
11 URL:            https://pyyaml.org/wiki/LibYAML
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  doxygen
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 YAML 1.1 parser and emitter written in C.
20
21 %description -l pl.UTF-8
22 Napisana w C biblioteka analizująca i wytwarzająca dane w formacie
23 YAML 1.1.
24
25 %package devel
26 Summary:        Header files for yaml library
27 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki yaml
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 Header files for yaml library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki yaml.
36
37 %package static
38 Summary:        Static yaml library
39 Summary(pl.UTF-8):      Statyczna biblioteka yaml
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static yaml library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka yaml.
48
49 %prep
50 %setup -q
51
52 %build
53 %{__libtoolize}
54 %{__aclocal} -I config
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 # obsoleted by pkg-config
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libyaml.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc Changes License ReadMe.md
79 %attr(755,root,root) %{_libdir}/libyaml-0.so.*.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libyaml-0.so.2
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libyaml.so
85 %{_includedir}/yaml.h
86 %{_pkgconfigdir}/yaml-0.1.pc
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libyaml.a
This page took 0.088971 seconds and 3 git commands to generate.