Name: telemetry Version: 1.0.0 Release: 20241006152738%{?dist} Summary: A versatile library for managing telemetry data. License: BSD Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} BuildRequires: gcc-c++ >= 8 BuildRequires: make BuildRequires: git BuildRequires: fuse3-devel >= 3.2.1 BuildRequires: cmake >= 3.12 Requires: fuse3 %description The package contains a telemetry library for managing telemetry data in your program. %prep %autosetup %build %cmake -DCMAKE_BUILD_TYPE=Release %cmake_build %install %cmake_install %post # Add a line to /etc/fuse.conf if it doesn't already exist if ! grep -q "^user_allow_other" /etc/fuse.conf; then echo "user_allow_other" >> /etc/fuse.conf fi %files %license LICENSE %{_libdir}/libtelemetry.so %{_includedir}/telemetry.hpp %{_includedir}/telemetry/*.hpp %{_libdir}/libappFs.so %{_includedir}/appFs.hpp %changelog