Name: flatbuffers Version: 2.0.5 Release: 1mamba Summary: A cross platform serialization library architected for maximum memory efficiency Group: Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://google.github.io/flatbuffers/ Source: https://github.com/google/flatbuffers.git/v%{version}/flatbuffers-%{version}.tar.bz2 License: Apache License 2.0 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q sed -i 's/-Werror=/-W/g;s/-Werror//g' CMakeLists.txt %build %cmake -d build \ -DFLATBUFFERS_BUILD_FLATLIB=OFF \ -DFLATBUFFERS_BUILD_SHAREDLIB=ON %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/flatc %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libflatbuffers.so.* %doc LICENSE.txt %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/flatbuffers %{_includedir}/flatbuffers/*.h %dir %{_includedir}/flatbuffers/pch %{_includedir}/flatbuffers/pch/*.h %{_libdir}/libflatbuffers.so %dir %{_libdir}/cmake/flatbuffers %{_libdir}/cmake/flatbuffers/Flatbuffers*.cmake %{_libdir}/cmake/flatbuffers/FlatcTargets*.cmake %{_libdir}/pkgconfig/flatbuffers.pc %changelog * Fri Dec 10 2021 Automatic Build System 2.0.5-1mamba - automatic version update by autodist * Thu May 13 2021 Automatic Build System 2.0.0-1mamba - automatic version update by autodist * Mon May 10 2021 Automatic Build System 1.12.1-1mamba - automatic version update by autodist * Sun Sep 06 2020 Silvan Calarco 1.12.0-1mamba - package created using the webbuild interface