7d90220
Name:           yaml-cpp
2b235e8
Version:        0.3.0
2b235e8
Release:        1%{?dist}
7d90220
Summary:        A YAML parser and emitter for C++
7d90220
Group:          Development/Libraries
7d90220
License:        MIT 
7d90220
URL:            http://code.google.com/p/yaml-cpp/
7d90220
Source0:        http://yaml-cpp.googlecode.com/files/%{name}-%{version}.tar.gz
2b235e8
7d90220
BuildRequires:  cmake
7d90220
2b235e8
7d90220
%description
7d90220
yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec.
7d90220
7d90220
7d90220
%package        devel
7d90220
Summary:        Development files for %{name}
7d90220
Group:          Development/Libraries
7d90220
License:        MIT
7d90220
Requires:       %{name} = %{version}-%{release}
7d90220
Requires:       pkgconfig
7d90220
7d90220
%description    devel
7d90220
The %{name}-devel package contains libraries and header files for
7d90220
developing applications that use %{name}.
7d90220
7d90220
7d90220
%prep
2b235e8
%setup -q  -n %{name}
7d90220
# Fix eol 
7d90220
sed -i 's/\r//' license.txt
7d90220
7d90220
7d90220
%build
7d90220
# ask cmake to not strip binaries
5eefe9c
%cmake . -DYAML_CPP_BUILD_TOOLS=0
7d90220
make VERBOSE=1 %{?_smp_mflags}
7d90220
7d90220
7d90220
%install
7d90220
make install DESTDIR=%{buildroot}
7d90220
find %{buildroot} -name '*.la' -exec rm -f {} ';'
7d90220
7d90220
7d90220
%post -p /sbin/ldconfig
7d90220
7d90220
%postun -p /sbin/ldconfig
7d90220
7d90220
7d90220
%files
7d90220
%doc license.txt
7d90220
%{_libdir}/*.so.*
7d90220
7d90220
%files devel
7d90220
%{_includedir}/yaml-cpp/
7d90220
%{_libdir}/*.so
7d90220
%{_libdir}/pkgconfig/*.pc
7d90220
7d90220
7d90220
%changelog
2b235e8
* Fri Feb 10 2012 Richard Shaw <hobbes1069@gmail.com> - 0.3.0-1
2b235e8
- Update to latest release.
2b235e8
2b235e8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
5934acb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5934acb
8901c52
* Fri Sep 30 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.7-1
8901c52
- Update to 0.2.7
8901c52
- Remove gcc 4.6 patch fixed upstream
8901c52
5eefe9c
* Mon May 09 2011 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.6-1
5eefe9c
- Upstream 0.2.6
5eefe9c
d3cc924
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
d3cc924
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d3cc924
989e0cb
* Fri Apr 02 2010 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.5-1
989e0cb
- Upstream 0.2.5
989e0cb
afed607
* Fri Jan 15 2010 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.4-1
afed607
- Upstream 0.2.4
afed607
7d90220
* Sat Oct 17 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-2
7d90220
- Remove duplicate file
7d90220
7d90220
* Wed Oct 14 2009 Guido Grazioli <guido.grazioli@gmail.com> - 0.2.2-1
7d90220
- Initial packaging