]>
Commit | Line | Data |
---|---|---|
42360a84 JB |
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 | |
e97e52b5 | 4 | Version: 0.5.1 |
42360a84 JB |
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 | |
e97e52b5 | 10 | # Source0-md5: 0fa47a5ed8fedefab766592785c85ee7 |
42360a84 JB |
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 | |
e241f418 | 37 | %setup -q |
42360a84 JB |
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.*.*.* | |
e241f418 | 59 | %attr(755,root,root) %ghost %{_libdir}/libyaml-cpp.so.0.5 |
42360a84 JB |
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 |