## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: libE57Format Version: 3.3.0 Release: %autorelease Summary: Library for reading & writing the E57 file format License: BSL-1.0 URL: https://asmaloney.github.io/libE57Format-docs/ Source0: https://github.com/asmaloney/libE57Format/archive/v%{version}/libE57Format-v%{version}.tar.gz Patch: system-crcpp.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: cmake(crcpp) BuildRequires: cmake(XercesC) %description libE57Format is a C++ library which provides read & write support for the ASTM-standard E57 file format on Linux, macOS, and Windows. E57 files store 3D point cloud data (produced by 3D imaging systems such as laser scanners), attributes associated with 3D point data (color & intensity), and 2D images (photos taken using a 3D imaging system). %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 -p1 #mv extern/CRCpp/LICENSE extern/CRCpp/LICENSE_CRCpp %build %cmake -DE57_BUILD_TEST=OFF \ -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ -DSYSTEM_CRCpp=ON %cmake_build %install %cmake_install %files %license LICENSE.md #license extern/CRCpp/LICENSE_CRCpp %doc README.md %doc CHANGELOG.md %{_libdir}/libE57Format.so.3 %{_libdir}/libE57Format.so.3.* %files devel %{_includedir}/E57Format/ %{_libdir}/libE57Format.so %{_libdir}/cmake/E57Format/ %changelog ## START: Generated by rpmautospec * Mon Jun 01 2026 John Doe - 3.3.0-1 - Uncommitted changes ## END: Generated by rpmautospec