1 | %define ver 0.5.8 |
---|
2 | %define rel 1 |
---|
3 | |
---|
4 | Name: msgpack |
---|
5 | Version: %{ver} |
---|
6 | Release: %{rel}%{?_dist_release} |
---|
7 | Summary: Binary-based efficient object serialization library |
---|
8 | Group: System Environment/Libraries |
---|
9 | |
---|
10 | License: ASL 2.0 |
---|
11 | URL: http://msgpack.org |
---|
12 | Source0: http://msgpack.org/releases/cpp/%{name}-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
15 | # for regenerating configure |
---|
16 | BuildRequires: libtool |
---|
17 | # for %%check |
---|
18 | BuildRequires: gtest-devel |
---|
19 | BuildRequires: zlib-devel |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: iwaim |
---|
24 | |
---|
25 | %description |
---|
26 | MessagePack is a binary-based efficient object serialization |
---|
27 | library. It enables to exchange structured objects between many |
---|
28 | languages like JSON. But unlike JSON, it is very fast and small. |
---|
29 | |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Libraries and header files for %{name} |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | |
---|
36 | %description devel |
---|
37 | Libraries and header files for %{name} |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | |
---|
44 | %build |
---|
45 | %configure --disable-static |
---|
46 | make %{?_smp_mflags} |
---|
47 | |
---|
48 | |
---|
49 | %check |
---|
50 | make check |
---|
51 | |
---|
52 | |
---|
53 | %install |
---|
54 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
55 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f '{}' ';' |
---|
56 | |
---|
57 | |
---|
58 | %post -p /sbin/ldconfig |
---|
59 | |
---|
60 | %postun -p /sbin/ldconfig |
---|
61 | |
---|
62 | |
---|
63 | %files |
---|
64 | %doc AUTHORS COPYING ChangeLog LICENSE NOTICE README README.md |
---|
65 | %{_libdir}/*.so.* |
---|
66 | |
---|
67 | %files devel |
---|
68 | %{_includedir}/* |
---|
69 | %{_libdir}/*.so |
---|
70 | %{_libdir}/pkgconfig/msgpack.pc |
---|
71 | |
---|
72 | |
---|
73 | %changelog |
---|
74 | * Tue Dec 31 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.8-1 |
---|
75 | - update to 0.5.8 |
---|
76 | - drop gtest patch: upstream fixed |
---|
77 | - add pkgconfig file in msgpack-devel package |
---|
78 | |
---|
79 | * Fri Feb 1 2013 IWAI, Masaharu <iwai@alib.jp> 0.5.7-1 |
---|
80 | - initial build for Vine Linux |
---|
81 | |
---|
82 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-2 |
---|
83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
84 | |
---|
85 | * Wed Feb 15 2012 Daiki Ueno <dueno@redhat.com> - 0.5.7-1 |
---|
86 | - initial packaging for Fedora |
---|
87 | |
---|