Name: snappy Version: 1.2.1 Release: 1mamba Summary: A fast compression/decompression library Group: Applications/Archiving Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://google.github.io/snappy/ Source: https://github.com/google/snappy.git/%{version}/snappy-%{version}.tar.bz2 Patch0: snappy-1.2.1-thirdparty.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: liblzo-devel Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger. %package -n lib%{name} Group: System/Libraries Summary: A fast compression/decompression library %description -n lib%{name} Snappy is a compression/decompression library. It does not aim for maximum compression, or compatibility with any other compression library; instead, it aims for very high speeds and reasonable compression. For instance, compared to the fastest mode of zlib, Snappy is an order of magnitude faster for most inputs, but the resulting compressed files are anywhere from 20% to 100% bigger. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{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 %patch 0 -p1 -b .thirdparty %build %cmake -d build \ \ -DCMAKE_CXX_STANDARD=14 \ %ifnarch x86_64 -DSNAPPY_BUILD_TESTS=off %endif %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 -n lib%{name} %defattr(-,root,root) %{_libdir}/libsnappy.so.* %doc AUTHORS %files -n lib%{name}-devel %defattr(-,root,root) %{_includedir}/snappy-c.h %{_includedir}/snappy-sinksource.h %{_includedir}/snappy-stubs-public.h %{_includedir}/snappy.h %{_libdir}/libsnappy.so %dir %{_libdir}/cmake/Snappy %{_libdir}/cmake/Snappy/Snappy*.cmake %changelog * Fri Jun 28 2024 Silvan Calarco 1.2.1-1mamba - update to 1.2.1 * Sat Sep 17 2022 Silvan Calarco 1.1.9-1mamba - update to 1.1.9 * Sun Aug 19 2018 Automatic Build System 1.1.7-1mamba - automatic version update by autodist * Mon Aug 14 2017 Automatic Build System 1.1.4-1mamba - automatic version update by autodist * Fri Feb 26 2016 Davide Madrisan 1.1.3-2mamba - Update the list of build requirements * Wed Sep 16 2015 Silvan Calarco 1.1.3-1mamba - update to 1.1.3 * Fri Sep 19 2014 Silvan Calarco 1.1.2-1mamba - update to 1.1.2 * Fri Sep 19 2014 Silvan Calarco 1.1.1-1mamba - package created using the webbuild interface