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