|
|
7e5fe4 |
Name: snappy
|
|
|
7e5fe4 |
Version: 1.1.0
|
|
|
6a7ee9 |
Release: 3%{?dist}
|
|
|
7e5fe4 |
Summary: Fast compression and decompression library
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
Group: System Environment/Libraries
|
|
|
7e5fe4 |
License: BSD
|
|
|
7e5fe4 |
URL: http://code.google.com/p/snappy/
|
|
|
7e5fe4 |
Source0: http://snappy.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%description
|
|
|
7e5fe4 |
Snappy is a compression/decompression library. It does not aim for maximum
|
|
|
7e5fe4 |
compression, or compatibility with any other compression library; instead, it
|
|
|
7e5fe4 |
aims for very high speeds and reasonable compression. For instance, compared to
|
|
|
7e5fe4 |
the fastest mode of zlib, Snappy is an order of magnitude faster for most
|
|
|
7e5fe4 |
inputs, but the resulting compressed files are anywhere from 20% to 100%
|
|
|
7e5fe4 |
bigger.
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%package devel
|
|
|
7e5fe4 |
Summary: Development files for %{name}
|
|
|
7e5fe4 |
Group: Development/Libraries
|
|
|
7e5fe4 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%description devel
|
|
|
7e5fe4 |
The %{name}-devel package contains libraries and header files for
|
|
|
7e5fe4 |
developing applications that use %{name}.
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%prep
|
|
|
7e5fe4 |
%setup -q
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%build
|
|
|
7e5fe4 |
%configure CXXFLAGS="%{optflags} -DNDEBUG" --disable-static
|
|
|
7e5fe4 |
make %{?_smp_mflags}
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%install
|
|
|
7e5fe4 |
rm -rf %{buildroot}
|
|
|
7e5fe4 |
make install DESTDIR=%{buildroot}
|
|
|
7e5fe4 |
rm -rf %{buildroot}%{_datadir}/doc/snappy/
|
|
|
7e5fe4 |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%clean
|
|
|
7e5fe4 |
rm -rf %{buildroot}
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%check
|
|
|
7e5fe4 |
make check
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%post -p /sbin/ldconfig
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%postun -p /sbin/ldconfig
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%files
|
|
|
7e5fe4 |
%defattr(-,root,root,-)
|
|
|
7e5fe4 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
7e5fe4 |
%{_libdir}/libsnappy.so.*
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%files devel
|
|
|
7e5fe4 |
%defattr(-,root,root,-)
|
|
|
7e5fe4 |
%doc format_description.txt framing_format.txt
|
|
|
7e5fe4 |
%{_includedir}/snappy*.h
|
|
|
7e5fe4 |
%{_libdir}/libsnappy.so
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
%changelog
|
|
|
6a7ee9 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1.0-3
|
|
|
6a7ee9 |
- Mass rebuild 2014-01-24
|
|
|
6a7ee9 |
|
|
|
6a7ee9 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.0-2
|
|
|
6a7ee9 |
- Mass rebuild 2013-12-27
|
|
|
6a7ee9 |
|
|
|
7e5fe4 |
* Wed Jul 17 2013 Dave Anderson <anderson@redhat.com> 1.1.0-1.el7
|
|
|
7e5fe4 |
- Removed unnecessary gtest-devel BuildRequires
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Wed Feb 06 2013 Martin Gieseking <martin.gieseking@uos.de> 1.1.0-1
|
|
|
7e5fe4 |
- updated to new release
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
|
|
|
7e5fe4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Fri Feb 24 2012 Martin Gieseking <martin.gieseking@uos.de> 1.0.5-1
|
|
|
7e5fe4 |
- updated to release 1.0.5
|
|
|
7e5fe4 |
- made dependency of devel package on base package arch dependant
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Tue Jan 17 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.0.4-3
|
|
|
7e5fe4 |
- Add in buildroot stuff for EL5 build
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
|
|
|
7e5fe4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Fri Sep 16 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.4-1
|
|
|
7e5fe4 |
- updated to release 1.0.4
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Sat Jun 04 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.3-1
|
|
|
7e5fe4 |
- updated to release 1.0.3
|
|
|
7e5fe4 |
- added format description to devel package
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Fri Apr 29 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.2-1
|
|
|
7e5fe4 |
- updated to release 1.0.2
|
|
|
7e5fe4 |
- changed License to BSD
|
|
|
7e5fe4 |
- dropped the patch as it has been applied upstream
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-3
|
|
|
7e5fe4 |
- added file COPYING from the upstream repo
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-2
|
|
|
7e5fe4 |
- replaced $CXXFLAGS with %%{optflags} in %%build section
|
|
|
7e5fe4 |
- removed empty %%doc entry from %%files devel
|
|
|
7e5fe4 |
|
|
|
7e5fe4 |
* Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-1
|
|
|
7e5fe4 |
- initial package
|
|
|
7e5fe4 |
|