1 # Note: the only package that requires yaml-cpp is OpenColorIO, and it requires
2 # the old API (as in yaml-cpp 0.3.0), so please don't STBR the new API until
3 # OpenColorIO is updated.
4 Summary: YAML parser and emitter for C++
5 Summary(pl.UTF-8): Biblioteka C++ analizująca i generująca YAML
11 #Source0Download: http://code.google.com/p/yaml-cpp/downloads/list
12 Source0: http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 0fa47a5ed8fedefab766592785c85ee7
14 URL: http://code.google.com/p/yaml-cpp/
15 BuildRequires: cmake >= 2.6
16 BuildRequires: libstdc++-devel
17 BuildRequires: rpmbuild(macros) >= 1.605
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 YAML parser and emitter for C++.
23 %description -l pl.UTF-8
24 Biblioteka C++ analizująca i generująca YAML.
27 Summary: Header files for yaml-cpp library
28 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yaml-cpp
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
31 Requires: libstdc++-devel
34 Header files for yaml-cpp library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki yaml-cpp.
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
55 %post -p /sbin/ldconfig
56 %postun -p /sbin/ldconfig
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_libdir}/libyaml-cpp.so.*.*.*
62 %attr(755,root,root) %ghost %{_libdir}/libyaml-cpp.so.0.5
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/libyaml-cpp.so
67 %{_includedir}/yaml-cpp
68 %{_pkgconfigdir}/yaml-cpp.pc