Name: tinyobjloader Version: 1.0.6 Release: 3%{?dist} Summary: Tiny wavefront obj loader License: MIT URL: https://github.com/syoyo/tinyobjloader Source0: https://github.com/syoyo/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake %description Tiny but powerful single file wavefront obj loader written in C++. No dependency except for C++ STL. It can parse over 10M polygons with moderate memory and time. %package devel Summary: Development files and libraries for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %summary %prep %autosetup -n %{name}-%{version} %build %cmake . \ -DTINYOBJLOADER_COMPILATION_SHARED=ON %make_build %install %make_install rm -rf %{buildroot}/%{_docdir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license LICENSE %doc README.md %{_libdir}/*.so.* %files devel %{_includedir}/tiny_obj_loader.h %{_libdir}/*.so %{_libdir}/%{name} %{_libdir}/pkgconfig/*.pc %changelog * Mon Dec 04 2017 Rich Mattes - 1.0.6-3 - Fix ISA macro * Wed Nov 29 2017 Rich Mattes - 1.0.6-2 - Don't remove buildroot in install * Wed Nov 29 2017 Rich Mattes - 1.0.6-1 - Initial package