Name: libsurvive Version: 1.01 Release: %autorelease Summary: Open Source Lighthouse Tracking System License: MIT URL: https://github.com/cntools/libsurvive Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc %description Libsurvive is a set of tools and libraries that enable 6 dof tracking on lighthouse and vive based systems that is completely open source and can run on any device. It currently supports both SteamVR 1.0 and SteamVR 2.0 generation of devices and should support any tracked object commercially available. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build %configure --disable-static %make_build %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %{?ldconfig_scriptlets} %files %license add-license-file-here %doc add-main-docs-here %{_libdir}/*.so.* %files devel %doc add-devel-docs-here %{_includedir}/* %{_libdir}/*.so %changelog %autochangelog