123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- Name: snappy
- Version: 1.0.5
- Release: 2%{?_dist_release}
- Summary: Fast compression and decompression library
- Summary(ja): 高速な圧縮・展開ライブラリ
- Group: System Environment/Libraries
- License: BSD
- URL: http://code.google.com/p/snappy/
- Source0: http://snappy.googlecode.com/files/%{name}-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: gtest-devel
- BuildRequires: zlib-devel
- %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 devel
- Summary: Development files for %{name}
- Summary(ja): %{name} の開発ファイル
- Group: Development/Libraries
- Requires: %{name}%{?_isa} = %{version}-%{release}
- %description devel
- The %{name}-devel package contains libraries and header files for
- developing applications that use %{name}.
- %prep
- %setup -q
- %build
- %configure CXXFLAGS="%{optflags} -DNDEBUG" --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make install DESTDIR=%{buildroot}
- rm -rf %{buildroot}%{_datadir}/doc/snappy/
- find %{buildroot} -name '*.la' -exec rm -f {} ';'
- %clean
- rm -rf %{buildroot}
- %check
- make check
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog COPYING NEWS README
- %{_libdir}/libsnappy.so.*
- %files devel
- %defattr(-,root,root,-)
- %doc format_description.txt
- %{_includedir}/snappy*.h
- %{_libdir}/libsnappy.so
- %changelog
- * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 1.0.5-2
- - rebuild with gcc-5.4.0
- - add BuildRequires: zlib-devel
- * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
- - initial build for Vine Linux
- * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
- * Fri Feb 24 2012 Martin Gieseking <martin.gieseking@uos.de> 1.0.5-1
- - updated to release 1.0.5
- - made dependency of devel package on base package arch dependant
- * Tue Jan 17 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.0.4-3
- - Add in buildroot stuff for EL5 build
- * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- * Fri Sep 16 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.4-1
- - updated to release 1.0.4
- * Sat Jun 04 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.3-1
- - updated to release 1.0.3
- - added format description to devel package
- * Fri Apr 29 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.2-1
- - updated to release 1.0.2
- - changed License to BSD
- - dropped the patch as it has been applied upstream
- * Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-3
- - added file COPYING from the upstream repo
- * Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-2
- - replaced $CXXFLAGS with %%{optflags} in %%build section
- - removed empty %%doc entry from %%files devel
- * Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-1
- - initial package
|