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

Revision 7396, 1.7 KB checked in by iwaim, 11 years ago (diff)

new: msgpack 0.5.7-1

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