1 | Name: msgpack |
---|
2 | Version: 3.2.0 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Binary-based efficient object serialization library |
---|
5 | Group: System Environment/Libraries |
---|
6 | |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | Packager: iwaim |
---|
10 | |
---|
11 | License: Boost Software License 1.0 |
---|
12 | URL: https://msgpack.org/ |
---|
13 | Source0: https://github.com/msgpack/msgpack-c/releases/download/cpp-3.2.0/msgpack-3.2.0.tar.gz#/%{name}-%{version}.tar.gz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
16 | BuildRequires: cmake >= 2.8.6 |
---|
17 | BuildRequires: zlib-devel |
---|
18 | BuildRequires: libboost-devel |
---|
19 | BuildRequires: libboost-timer |
---|
20 | # for %%check |
---|
21 | BuildRequires: gtest-devel |
---|
22 | |
---|
23 | %description |
---|
24 | MessagePack is a binary-based efficient object serialization |
---|
25 | library. It enables to exchange structured objects between many |
---|
26 | languages like JSON. But unlike JSON, it is very fast and small. |
---|
27 | |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Libraries and header files for %{name} |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | |
---|
34 | %description devel |
---|
35 | Libraries and header files for %{name} |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | |
---|
42 | %build |
---|
43 | %__cmake \ |
---|
44 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
---|
45 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
46 | -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \ |
---|
47 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir} \ |
---|
48 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
49 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
50 | -DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \ |
---|
51 | -DMSGPACK_BOOST=ON \ |
---|
52 | -DBoost_USE_STATIC_LIBS=OFF \ |
---|
53 | . |
---|
54 | make %{?_smp_mflags} |
---|
55 | |
---|
56 | |
---|
57 | %check |
---|
58 | make test |
---|
59 | |
---|
60 | |
---|
61 | %install |
---|
62 | make install DESTDIR=%{buildroot} |
---|
63 | find %{buildroot} -name '*.la' -exec rm -f '{}' ';' |
---|
64 | |
---|
65 | rm -f %{buildroot}%{_libdir}/libmsgpackc.a |
---|
66 | |
---|
67 | %post -p /sbin/ldconfig |
---|
68 | |
---|
69 | %postun -p /sbin/ldconfig |
---|
70 | |
---|
71 | |
---|
72 | %files |
---|
73 | %license COPYING LICENSE* |
---|
74 | %doc AUTHORS CHANGELOG.md NOTICE README.md |
---|
75 | %{_libdir}/*.so.* |
---|
76 | |
---|
77 | %files devel |
---|
78 | %{_includedir}/* |
---|
79 | %{_libdir}/*.so |
---|
80 | %{_libdir}/pkgconfig/msgpack.pc |
---|
81 | %{_libdir}/cmake/* |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.0-1 |
---|
85 | - new upstream release. |
---|
86 | |
---|
87 | * Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.1-1 |
---|
88 | - update to 2.2.1 |
---|
89 | - update License tag |
---|
90 | - update BuildRequires |
---|
91 | - using cmake |
---|
92 | - using libboost |
---|
93 | |
---|
94 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 0.5.8-2 |
---|
95 | - rebuild with gcc-5.4.0 |
---|
96 | |
---|
97 | * Tue Dec 31 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.8-1 |
---|
98 | - update to 0.5.8 |
---|
99 | - drop gtest patch: upstream fixed |
---|
100 | - add pkgconfig file in msgpack-devel package |
---|
101 | |
---|
102 | * Fri Feb 1 2013 IWAI, Masaharu <iwai@alib.jp> 0.5.7-1 |
---|
103 | - initial build for Vine Linux |
---|
104 | |
---|
105 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.7-2 |
---|
106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
107 | |
---|
108 | * Wed Feb 15 2012 Daiki Ueno <dueno@redhat.com> - 0.5.7-1 |
---|
109 | - initial packaging for Fedora |
---|
110 | |
---|