Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
yaml-cpp
yaml-cpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yaml-cpp.spec of Package yaml-cpp
# # spec file for package yaml-cpp # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: yaml-cpp Version: 0.3.0 Release: 0 License: MIT Summary: YAML parser and emitter in C++ Url: http://code.google.com/p/yaml-cpp/ Group: Development/Libraries/C and C++ Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A YAML parser and emitter in C++ matching the YAML 1.2 spec. %define library_name libyaml-cpp0_3 %package -n %{library_name} Summary: YAML parser and emitter in C++ Group: Development/Libraries/C and C++ %description -n %{library_name} A YAML parser and emitter in C++ matching the YAML 1.2 spec. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{library_name} = %{version} %description devel Development files for %{name} library %prep %setup -q -n %{name} sed -i -e 's:INCLUDE_INSTALL_ROOT_DIR:INCLUDE_INSTALL_DIR:g' yaml-cpp.pc.cmake mkdir build %build cd build cmake \ -DCMAKE_C_FLAGS:STRING="%{optflags}" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DBUILD_SHARED_LIBS=ON \ %if %{_lib} == lib64 -DLIB_SUFFIX=64 \ %endif %{_builddir}/%{name} make VERBOSE=1 %{?_smp_mflags} %install cd build %makeinstall %post -n %{library_name} -p /sbin/ldconfig %postun -n %{library_name} -p /sbin/ldconfig %files -n %{library_name} %defattr(-,root,root,-) %{_libdir}/lib*.so.* %files devel %defattr(-,root,root,-) %{_includedir}/yaml-cpp/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor