[packages/msgpack] new, version 1.4.1
glen
glen at pld-linux.org
Tue Sep 13 22:50:22 CEST 2016
commit bac79bbe9e9a31b8495bfe32a912acdb16362da7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Sep 13 23:49:47 2016 +0300
new, version 1.4.1
based on fedora package, f834eba
msgpack.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
---
diff --git a/msgpack.spec b/msgpack.spec
new file mode 100644
index 0000000..a3f239c
--- /dev/null
+++ b/msgpack.spec
@@ -0,0 +1,76 @@
+#
+# Conditional build:
+%bcond_without tests # build without tests
+
+Summary: Binary-based efficient object serialization library
+Name: msgpack
+Version: 1.4.1
+Release: 1
+License: Boost
+Group: Libraries
+Source0: https://github.com/msgpack/msgpack-c/releases/download/cpp-%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: fde8da1388d4f8daf21faee5536a53cf
+URL: http://msgpack.org/
+BuildRequires: libtool
+%if %{with tests}
+BuildRequires: gtest-devel
+BuildRequires: zlib-devel
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MessagePack is a binary-based efficient object serialization library.
+It enables to exchange structured objects between many languages like
+JSON. But unlike JSON, it is very fast and small.
+
+%package devel
+Summary: Libraries and header files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Libraries and header files for %{name}
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__libtoolize}
+%{__autoconf}
+%{__autoheader}
+%{__automake} --force-missing
+%configure \
+ --disable-static
+%{__make}
+
+%if %{with tests}
+%{__make} check
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmsgpackc.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NOTICE README README.md
+%attr(755,root,root) %{_libdir}/libmsgpackc.so.*.*.*
+%ghost %{_libdir}/libmsgpackc.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/msgpack.h
+%{_includedir}/msgpack.hpp
+%{_includedir}/msgpack
+%{_libdir}/libmsgpackc.so
+%{_pkgconfigdir}/msgpack.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/msgpack.git/commitdiff/bac79bbe9e9a31b8495bfe32a912acdb16362da7
More information about the pld-cvs-commit
mailing list