LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File msgpack.spec of Package msgpack (Project home:darix:pw2015)

#
# spec file for package msgpack
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           msgpack
Version:        0.5.8
Release:        0
License:        Apache-2.0
Summary:        msgpack-c
Url:            https://github.com/msgpack/
Group:          Development/Libraries/C and C++
Source:         https://github.com/msgpack/msgpack-c/releases/download/cpp-0.5.8/msgpack-0.5.8.tar.xz
BuildRequires:  gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%description
msgpack-c

%prep
%setup -q

%build
%configure --disable-static
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}
rm %{buildroot}%{_libdir}/libmsgpack*.la

%post

%postun

%files
%defattr(-,root,root)
%{_includedir}/msgpack.h
%{_includedir}/msgpack.hpp
%{_includedir}/msgpack/
%{_libdir}/libmsgpack.so
%{_libdir}/libmsgpack.so.3
%{_libdir}/libmsgpack.so.3.0.0
%{_libdir}/libmsgpackc.so
%{_libdir}/libmsgpackc.so.2
%{_libdir}/libmsgpackc.so.2.0.0
%{_libdir}/pkgconfig/msgpack.pc