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