[packages/cereal] - pl, cleanup

qboosh qboosh at pld-linux.org
Sat Mar 9 17:28:22 CET 2024


commit 9c3379dcfccbfc3fbf224260bd2d1064a67b608a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 9 16:34:56 2024 +0100

    - pl, cleanup

 cereal.spec | 37 +++++++++++++++++++++++++++----------
 1 file changed, 27 insertions(+), 10 deletions(-)
---
diff --git a/cereal.spec b/cereal.spec
index cc06a5f..7218425 100644
--- a/cereal.spec
+++ b/cereal.spec
@@ -1,18 +1,22 @@
-%bcond_without	tests
+#
+# Conditional build
+%bcond_without	tests	# unit tests
+
 Summary:	A header-only C++11 serialization library
+Summary(pl.UTF-8):	Składająca się z samych nagłówków biblioteka C++11 do serializacji
 Name:		cereal
 Version:	1.3.0
 Release:	1
 License:	BSD
 Group:		Libraries
-URL:		http://uscilab.github.io/cereal/
 Source0:	https://github.com/USCiLab/cereal/archive/v%{version}.tar.gz
 # Source0-md5:	4342e811f245403646c4175258f413f1
+URL:		http://uscilab.github.io/cereal/
 BuildRequires:	boost-devel
 BuildRequires:	cmake >= 3.0
-BuildRequires:	libstdc++-devel
-
-%define		_enable_debug_packages	0
+BuildRequires:	libstdc++-devel >= 6:4.7
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 cereal is a header-only C++11 serialization library. cereal takes
@@ -22,10 +26,18 @@ cereal was designed to be fast, light-weight, and easy to extend - it
 has no external dependencies and can be easily bundled with other code
 or used standalone.
 
+%description -l pl.UTF-8
+cereal to składająca się z samych nagłówków biblioteka C++11 do
+serializacji. Przyjmuje dowolne typy danych i odwracalnie zamienia je
+na różne reprezentacje, takie jak zwięzłe kodowania binarne, XML czy
+JSON. careal jest zaprojektowana jako szybka, lekka i łatwa do
+rozszerzania - nie ma zewnętrznych zależności i może być łatwo
+dołączona do innego kodu lub używana samodzielnie.
+
 %package devel
-Summary:	Development headers and libraries for %{name}
+Summary:	A header-only C++11 serialization library
+Summary(pl.UTF-8):	Składająca się z samych nagłówków biblioteka C++11 do serializacji
 Group:		Development/Libraries
-BuildArch:	noarch
 
 %description devel
 cereal is a header-only C++11 serialization library. cereal takes
@@ -35,8 +47,13 @@ cereal was designed to be fast, light-weight, and easy to extend - it
 has no external dependencies and can be easily bundled with other code
 or used standalone.
 
-This package contains development headers and libraries for the cereal
-library.
+%description devel -l pl.UTF-8
+cereal to składająca się z samych nagłówków biblioteka C++11 do
+serializacji. Przyjmuje dowolne typy danych i odwracalnie zamienia je
+na różne reprezentacje, takie jak zwięzłe kodowania binarne, XML czy
+JSON. careal jest zaprojektowana jako szybka, lekka i łatwa do
+rozszerzania - nie ma zewnętrznych zależności i może być łatwo
+dołączona do innego kodu lub używana samodzielnie.
 
 %prep
 %setup -q
@@ -44,7 +61,7 @@ library.
 %build
 install -d build
 cd build
-%{cmake} \
+%cmake \
 	-DSKIP_PORTABILITY_TEST=ON \
 	-DWITH_WERROR=OFF \
 	..
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cereal.git/commitdiff/e931569b19d27e854fb389acdbb70a87ded98e1c



More information about the pld-cvs-commit mailing list