Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hcostelha
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 # # norootforbuild Name: yaml-cpp Version: 0.2.5 Release: 1 # Group: Development/Libraries License: MIT # BuildRoot: %{_tmppath}/%{name}-%{version}-build # URL: http://code.google.com/p/yaml-cpp/ Source0: %{name}-%{version}.tar.gz # # BuildArch: noarch Summary: The yaml-cpp is a YAML parser BuildRequires: cmake gcc-c++ gcc BuildRequires: fdupes BuildRequires: pkg-config %description The yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec %define library_name libyaml-cpp0_2 %package -n libyaml-cpp0_2 Group: Development/Libraries License: MIT # Summary: The yaml-cpp is a YAML parser %description -n libyaml-cpp0_2 yaml-cpp is a YAML parser and emitter in C++ written around the YAML 1.2 spec %package devel Group: Development/Libraries License: MIT Summary: Development files for %{name} Requires: libyaml-cpp0_2 = %{version} %description devel Development files for %{name} %prep %setup -q %build cd .. mkdir temp cd temp cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DCMAKE_BUILD_TYPE:STRING="Release" ../%{name}-%{version}/ make VERBOSE=1 %{?_smp_mflags} %install cd ../temp make install DESTDIR=%{buildroot} #mv %{buildroot}/usr/lib/otb/*.cmake %{buildroot}%{_libdir}/ %if "%{_lib}" == "lib64" mkdir %{buildroot}/usr/lib64 mkdir %{buildroot}/usr/lib64/pkgconfig mv %{buildroot}/usr/lib/* %{buildroot}/usr/lib64/ #mv %{buildroot}/usr/lib/pkgconfig/yaml-cpp.pc %{buildroot}/usr/lib64/pkgconfig/yaml-cpp.pc %endif %fdupes %{buildroot} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -n libyaml-cpp0_2 %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