86 lines
2.9 KiB
RPMSpec
86 lines
2.9 KiB
RPMSpec
|
Name: snappy
|
||
|
Version: 1.1.2
|
||
|
Release: 1mamba
|
||
|
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
|
||
|
Source: https://snappy.googlecode.com/files/snappy-%{version}.tar.gz
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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
|
||
|
|
||
|
%build
|
||
|
%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
|
||
|
%{_datadir}/doc/snappy/ChangeLog
|
||
|
%{_datadir}/doc/snappy/INSTALL
|
||
|
%{_datadir}/doc/snappy/NEWS
|
||
|
%{_datadir}/doc/snappy/README
|
||
|
%{_datadir}/doc/snappy/format_description.txt
|
||
|
%{_datadir}/doc/snappy/framing_format.txt
|
||
|
|
||
|
%changelog
|
||
|
* 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
|