[12281] | 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 |
---|
[7396] | 6 | |
---|
[12281] | 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
| 9 | Packager: iwaim |
---|
[7395] | 10 | |
---|
[12281] | 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 |
---|
[7395] | 14 | |
---|
[7396] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[12281] | 16 | BuildRequires: cmake >= 2.8.6 |
---|
| 17 | BuildRequires: zlib-devel |
---|
| 18 | BuildRequires: libboost-devel |
---|
| 19 | BuildRequires: libboost-timer |
---|
[7395] | 20 | # for %%check |
---|
[12281] | 21 | BuildRequires: gtest-devel |
---|
[7395] | 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 |
---|
[7396] | 32 | Requires: %{name} = %{version}-%{release} |
---|
[7395] | 33 | |
---|
| 34 | %description devel |
---|
| 35 | Libraries and header files for %{name} |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %build |
---|
[11090] | 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 | . |
---|
[7395] | 54 | make %{?_smp_mflags} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %check |
---|
[11090] | 58 | make test |
---|
[7395] | 59 | |
---|
| 60 | |
---|
| 61 | %install |
---|
[12281] | 62 | make install DESTDIR=%{buildroot} |
---|
| 63 | find %{buildroot} -name '*.la' -exec rm -f '{}' ';' |
---|
[7395] | 64 | |
---|
[12281] | 65 | rm -f %{buildroot}%{_libdir}/libmsgpackc.a |
---|
[7395] | 66 | |
---|
| 67 | %post -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | %postun -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %files |
---|
[12281] | 73 | %license COPYING LICENSE* |
---|
| 74 | %doc AUTHORS CHANGELOG.md NOTICE README.md |
---|
[7395] | 75 | %{_libdir}/*.so.* |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %{_includedir}/* |
---|
| 79 | %{_libdir}/*.so |
---|
[8090] | 80 | %{_libdir}/pkgconfig/msgpack.pc |
---|
[12281] | 81 | %{_libdir}/cmake/* |
---|
[7395] | 82 | |
---|
[12281] | 83 | %changelog |
---|
| 84 | * Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.2.0-1 |
---|
| 85 | - new upstream release. |
---|
[7395] | 86 | |
---|
[11090] | 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 | |
---|
[10766] | 94 | * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 0.5.8-2 |
---|
| 95 | - rebuild with gcc-5.4.0 |
---|
| 96 | |
---|
[8090] | 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 | |
---|
[7396] | 102 | * Fri Feb 1 2013 IWAI, Masaharu <iwai@alib.jp> 0.5.7-1 |
---|
| 103 | - initial build for Vine Linux |
---|
| 104 | |
---|
[7395] | 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 | |
---|