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