2024-01-05 17:56:39 +01:00
|
|
|
Name: snappy
|
2024-01-05 17:56:39 +01:00
|
|
|
Version: 1.1.4
|
|
|
|
Release: 1mamba
|
2024-01-05 17:56:39 +01:00
|
|
|
Summary: A fast compression/decompression library
|
|
|
|
Group: Applications/Archiving
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://code.google.com/p/snappy
|
2024-01-05 17:56:39 +01:00
|
|
|
Source: https://github.com/google/snappy.git/%{version}/snappy-%{version}.tar.bz2
|
2024-01-05 17:56:39 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 17:56:39 +01:00
|
|
|
BuildRequires: liblzo-devel
|
2024-01-05 17:56:39 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
2024-01-05 17:56:39 +01:00
|
|
|
# checking for lzf_compress in -llzf... no
|
|
|
|
# checking for fastlz_compress in -lfastlz... no
|
|
|
|
# checking for qlz_compress in -lquicklz... no
|
|
|
|
|
2024-01-05 17:56:39 +01:00
|
|
|
%description
|
2024-01-05 17:56:39 +01:00
|
|
|
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.
|
2024-01-05 17:56:39 +01:00
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: A fast compression/decompression library
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
2024-01-05 17:56:39 +01:00
|
|
|
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.
|
|
|
|
|
2024-01-05 17:56:39 +01:00
|
|
|
%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
|
|
|
|
|
|
|
|
%build
|
2024-01-05 17:56:39 +01:00
|
|
|
./autogen.sh
|
2024-01-05 17:56:39 +01:00
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%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.*
|
|
|
|
%dir %{_datadir}/doc/snappy
|
|
|
|
%{_datadir}/doc/snappy/COPYING
|
|
|
|
%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.a
|
|
|
|
%{_libdir}/libsnappy.la
|
|
|
|
%{_libdir}/libsnappy.so
|
2024-01-05 17:56:39 +01:00
|
|
|
%{_libdir}/pkgconfig/snappy.pc
|
|
|
|
%dir %{_datadir}/doc/snappy
|
|
|
|
%{_datadir}/doc/snappy/*
|
2024-01-05 17:56:39 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:56:39 +01:00
|
|
|
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:56:39 +01:00
|
|
|
* Fri Feb 26 2016 Davide Madrisan <davide.madrisan@gmail.com> 1.1.3-2mamba
|
|
|
|
- Update the list of build requirements
|
|
|
|
|
2024-01-05 17:56:39 +01:00
|
|
|
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.3-1mamba
|
|
|
|
- update to 1.1.3
|
|
|
|
|
2024-01-05 17:56:39 +01:00
|
|
|
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- update to 1.1.2
|
|
|
|
|
|
|
|
* Fri Sep 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
|
|
|
- package created using the webbuild interface
|