[packages/msgpack] - pl, fixed missing dir; release 2
qboosh
qboosh at pld-linux.org
Sat Jul 25 21:54:36 CEST 2020
commit adf53b37da36b85e2a311fea4d71cbf183575de6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 25 21:56:22 2020 +0200
- pl, fixed missing dir; release 2
msgpack.spec | 42 +++++++++++++++++++++++++++---------------
1 file changed, 27 insertions(+), 15 deletions(-)
---
diff --git a/msgpack.spec b/msgpack.spec
index 5617c78..214a7e1 100644
--- a/msgpack.spec
+++ b/msgpack.spec
@@ -1,19 +1,20 @@
-# TODO
-# - should c and c++ have separate -devel packages?
-
+#
# Conditional build:
%bcond_with tests # build without tests
Summary: Binary-based efficient object serialization library
+Summary(pl.UTF-8): Biblioteka do wydajnej, binarnej serializacji obiektów
Name: msgpack
Version: 3.3.0
-Release: 1
-License: Boost
+Release: 2
+License: Boost v1.0
Group: Libraries
+#Source0Download: https://github.com/msgpack/msgpack-c/releases
Source0: https://github.com/msgpack/msgpack-c/releases/download/cpp-%{version}/%{name}-%{version}.tar.gz
# Source0-md5: e676575d52caae974e579c3d5f0ba6a2
URL: https://msgpack.org/
-BuildRequires: cmake >= 2.8.0
+BuildRequires: cmake >= 2.8.12
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: pkgconfig
%if %{with tests}
BuildRequires: gtest-devel
@@ -26,13 +27,23 @@ 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.
+%description -l pl.UTF-8
+MessagePack to biblioteka do wydajnej, binarnej serializacji obiektów.
+Pozwala wymieniać ustrukturyzowane obiekty między wieloma językami,
+podobnie jak przy użyciu formatu JSON. Ale w przeciwieństwie do
+JSON-a, ten format jest bardzo szybki i mały.
+
%package devel
-Summary: Libraries and header files for %{name}
+Summary: Header files for MessagePack library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki MessagePack
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
-Libraries and header files for %{name}
+Header files for MessagePack library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki MessagePack.
%prep
%setup -q
@@ -40,9 +51,9 @@ Libraries and header files for %{name}
%build
install -d build
cd build
-%cmake \
- -DMSGPACK_CXX11=ON \
- ..
+%cmake .. \
+ -DMSGPACK_CXX11=ON
+
%{__make}
%if %{with tests}
@@ -51,6 +62,7 @@ cd build
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
@@ -62,15 +74,15 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NOTICE README README.md
+%doc COPYING ChangeLog LICENSE_1_0.txt NOTICE README.md
%attr(755,root,root) %{_libdir}/libmsgpackc.so.*.*.*
-%ghost %{_libdir}/libmsgpackc.so.2
+%attr(755,root,root) %ghost %{_libdir}/libmsgpackc.so.2
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmsgpackc.so
%{_includedir}/msgpack.h
%{_includedir}/msgpack.hpp
%{_includedir}/msgpack
-%{_libdir}/libmsgpackc.so
%{_pkgconfigdir}/msgpack.pc
-%{_libdir}/cmake/msgpack/msgpack*.cmake
+%{_libdir}/cmake/msgpack
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/msgpack.git/commitdiff/adf53b37da36b85e2a311fea4d71cbf183575de6
More information about the pld-cvs-commit
mailing list