source: projects/specs/trunk/m/msgpack/msgpack-vl.spec @ 12281

Revision 12281, 2.8 KB checked in by tomop, 5 years ago (diff)

updated 4 packages

hunspell-1.7.0-1

libtiff-4.0.10-2

msgpack-3.2.0-1

podofo-0.9.6-1

Line 
1Name:           msgpack
2Version:        3.2.0
3Release:        1%{?_dist_release}
4Summary:        Binary-based efficient object serialization library
5Group:          System Environment/Libraries
6
7Vendor:         Project Vine
8Distribution:   Vine Linux
9Packager:       iwaim
10
11License:        Boost Software License 1.0
12URL:            https://msgpack.org/
13Source0:        https://github.com/msgpack/msgpack-c/releases/download/cpp-3.2.0/msgpack-3.2.0.tar.gz#/%{name}-%{version}.tar.gz
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
16BuildRequires:  cmake >= 2.8.6
17BuildRequires:  zlib-devel
18BuildRequires:  libboost-devel
19BuildRequires:  libboost-timer
20# for %%check
21BuildRequires:  gtest-devel
22
23%description
24MessagePack is a binary-based efficient object serialization
25library. It enables to exchange structured objects between many
26languages like JSON. But unlike JSON, it is very fast and small.
27
28
29%package devel
30Summary:        Libraries and header files for %{name}
31Group:          Development/Libraries
32Requires:       %{name} = %{version}-%{release}
33
34%description devel
35Libraries 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.
54make %{?_smp_mflags}
55
56
57%check
58make test
59
60
61%install
62make install DESTDIR=%{buildroot}
63find %{buildroot} -name '*.la' -exec rm -f '{}' ';'
64
65rm -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
Note: See TracBrowser for help on using the repository browser.