[6990] | 1 | Name: snappy |
---|
| 2 | Version: 1.0.5 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Fast compression and decompression library |
---|
| 5 | Summary(ja): 高速な圧縮・展開ライブラリ |
---|
| 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: BSD |
---|
| 9 | URL: http://code.google.com/p/snappy/ |
---|
| 10 | Source0: http://snappy.googlecode.com/files/%{name}-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: gtest-devel |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Snappy is a compression/decompression library. It does not aim for maximum |
---|
| 18 | compression, or compatibility with any other compression library; instead, it |
---|
| 19 | aims for very high speeds and reasonable compression. For instance, compared to |
---|
| 20 | the fastest mode of zlib, Snappy is an order of magnitude faster for most |
---|
| 21 | inputs, but the resulting compressed files are anywhere from 20% to 100% |
---|
| 22 | bigger. |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
| 27 | Summary(ja): %{name} の開発ファイル |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | The %{name}-devel package contains libraries and header files for |
---|
| 33 | developing applications that use %{name}. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | %configure CXXFLAGS="%{optflags} -DNDEBUG" --disable-static |
---|
| 42 | make %{?_smp_mflags} |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf %{buildroot} |
---|
| 47 | make install DESTDIR=%{buildroot} |
---|
| 48 | rm -rf %{buildroot}%{_datadir}/doc/snappy/ |
---|
| 49 | find %{buildroot} -name '*.la' -exec rm -f {} ';' |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf %{buildroot} |
---|
| 53 | |
---|
| 54 | %check |
---|
| 55 | make check |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %post -p /sbin/ldconfig |
---|
| 59 | |
---|
| 60 | %postun -p /sbin/ldconfig |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root,-) |
---|
| 65 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
| 66 | %{_libdir}/libsnappy.so.* |
---|
| 67 | |
---|
| 68 | %files devel |
---|
| 69 | %defattr(-,root,root,-) |
---|
| 70 | %doc format_description.txt |
---|
| 71 | %{_includedir}/snappy*.h |
---|
| 72 | %{_libdir}/libsnappy.so |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | %changelog |
---|
| 76 | * Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1 |
---|
| 77 | - initial build for Vine Linux |
---|
| 78 | |
---|
| 79 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2 |
---|
| 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 81 | |
---|
| 82 | * Fri Feb 24 2012 Martin Gieseking <martin.gieseking@uos.de> 1.0.5-1 |
---|
| 83 | - updated to release 1.0.5 |
---|
| 84 | - made dependency of devel package on base package arch dependant |
---|
| 85 | |
---|
| 86 | * Tue Jan 17 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.0.4-3 |
---|
| 87 | - Add in buildroot stuff for EL5 build |
---|
| 88 | |
---|
| 89 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2 |
---|
| 90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 91 | |
---|
| 92 | * Fri Sep 16 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.4-1 |
---|
| 93 | - updated to release 1.0.4 |
---|
| 94 | |
---|
| 95 | * Sat Jun 04 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.3-1 |
---|
| 96 | - updated to release 1.0.3 |
---|
| 97 | - added format description to devel package |
---|
| 98 | |
---|
| 99 | * Fri Apr 29 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.2-1 |
---|
| 100 | - updated to release 1.0.2 |
---|
| 101 | - changed License to BSD |
---|
| 102 | - dropped the patch as it has been applied upstream |
---|
| 103 | |
---|
| 104 | * Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-3 |
---|
| 105 | - added file COPYING from the upstream repo |
---|
| 106 | |
---|
| 107 | * Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-2 |
---|
| 108 | - replaced $CXXFLAGS with %%{optflags} in %%build section |
---|
| 109 | - removed empty %%doc entry from %%files devel |
---|
| 110 | |
---|
| 111 | * Thu Mar 24 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.0-1 |
---|
| 112 | - initial package |
---|
| 113 | |
---|