]> git.pld-linux.org Git - packages/yaml-cpp.git/blame - yaml-cpp.spec
- updated to 0.5.1
[packages/yaml-cpp.git] / yaml-cpp.spec
CommitLineData
42360a84
JB
1Summary: YAML parser and emitter for C++
2Summary(pl.UTF-8): Biblioteka C++ analizująca i generująca YAML
3Name: yaml-cpp
e97e52b5 4Version: 0.5.1
42360a84
JB
5Release: 1
6License: MIT
7Group: Libraries
8#Source0Download: http://code.google.com/p/yaml-cpp/downloads/list
9Source0: http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
e97e52b5 10# Source0-md5: 0fa47a5ed8fedefab766592785c85ee7
42360a84
JB
11URL: http://code.google.com/p/yaml-cpp/
12BuildRequires: cmake >= 2.6
13BuildRequires: libstdc++-devel
14BuildRequires: rpmbuild(macros) >= 1.605
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18YAML parser and emitter for C++.
19
20%description -l pl.UTF-8
21Biblioteka C++ analizująca i generująca YAML.
22
23%package devel
24Summary: Header files for yaml-cpp library
25Summary(pl.UTF-8): Pliki nagłówkowe biblioteki yaml-cpp
26Group: Development/Libraries
27Requires: %{name} = %{version}-%{release}
28Requires: libstdc++-devel
29
30%description devel
31Header files for yaml-cpp library.
32
33%description devel -l pl.UTF-8
34Pliki nagłówkowe biblioteki yaml-cpp.
35
36%prep
e241f418 37%setup -q
42360a84
JB
38
39%build
40%cmake .
41%{__make}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -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
This page took 0.089136 seconds and 4 git commands to generate.