]> git.pld-linux.org Git - packages/yaml-cpp.git/blob - yaml-cpp.spec
- updated to 0.5.0 (note: new soname)
[packages/yaml-cpp.git] / yaml-cpp.spec
1 Summary:        YAML parser and emitter for C++
2 Summary(pl.UTF-8):      Biblioteka C++ analizująca i generująca YAML
3 Name:           yaml-cpp
4 Version:        0.5.0
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 #Source0Download: http://code.google.com/p/yaml-cpp/downloads/list
9 Source0:        http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
10 # Source0-md5:  c6d96190434d5959d814c603f98512c6
11 URL:            http://code.google.com/p/yaml-cpp/
12 BuildRequires:  cmake >= 2.6
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  rpmbuild(macros) >= 1.605
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 YAML parser and emitter for C++.
19
20 %description -l pl.UTF-8
21 Biblioteka C++ analizująca i generująca YAML.
22
23 %package devel
24 Summary:        Header files for yaml-cpp library
25 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki yaml-cpp
26 Group:          Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28 Requires:       libstdc++-devel
29
30 %description devel
31 Header files for yaml-cpp library.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki yaml-cpp.
35
36 %prep
37 %setup -q
38
39 %build
40 %cmake .
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post   -p /sbin/ldconfig
53 %postun -p /sbin/ldconfig
54
55 %files
56 %defattr(644,root,root,755)
57 %doc license.txt
58 %attr(755,root,root) %{_libdir}/libyaml-cpp.so.*.*.*
59 %attr(755,root,root) %ghost %{_libdir}/libyaml-cpp.so.0.5
60
61 %files devel
62 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_libdir}/libyaml-cpp.so
64 %{_includedir}/yaml-cpp
65 %{_pkgconfigdir}/yaml-cpp.pc
This page took 0.06673 seconds and 3 git commands to generate.