source: projects/specs/trunk/s/snappy/snappy-vl.spec @ 10771

Revision 10771, 3.4 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:           snappy
2Version:        1.0.5
3Release:        2%{?_dist_release}
4Summary:        Fast compression and decompression library
5Summary(ja):    高速な圧縮・展開ライブラリ
6
7Group:          System Environment/Libraries
8License:        BSD
9URL:            http://code.google.com/p/snappy/
10Source0:        http://snappy.googlecode.com/files/%{name}-%{version}.tar.gz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13
14BuildRequires:  gtest-devel
15BuildRequires:  zlib-devel
16
17%description
18Snappy is a compression/decompression library. It does not aim for maximum
19compression, or compatibility with any other compression library; instead, it
20aims for very high speeds and reasonable compression. For instance, compared to
21the fastest mode of zlib, Snappy is an order of magnitude faster for most
22inputs, but the resulting compressed files are anywhere from 20% to 100%
23bigger.
24
25
26%package        devel
27Summary:        Development files for %{name}
28Summary(ja):    %{name} の開発ファイル
29Group:          Development/Libraries
30Requires:       %{name}%{?_isa} = %{version}-%{release}
31
32%description    devel
33The %{name}-devel package contains libraries and header files for
34developing applications that use %{name}.
35
36
37%prep
38%setup -q
39
40
41%build
42%configure CXXFLAGS="%{optflags} -DNDEBUG" --disable-static
43make %{?_smp_mflags}
44
45
46%install
47rm -rf %{buildroot}
48make install DESTDIR=%{buildroot}
49rm -rf %{buildroot}%{_datadir}/doc/snappy/
50find %{buildroot} -name '*.la' -exec rm -f {} ';'
51
52%clean
53rm -rf %{buildroot}
54
55%check
56make 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
Note: See TracBrowser for help on using the repository browser.