[packages/libcerf] Up to 3.9

arekm arekm at pld-linux.org
Thu Nov 26 08:44:10 CET 2026


commit f52e69cdc1c070c6b2cc3038a78c767f40500fb5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 26 01:33:09 2026 +0100

    Up to 3.9

 libcerf.spec | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/libcerf.spec b/libcerf.spec
index d685d7b..40e23be 100644
--- a/libcerf.spec
+++ b/libcerf.spec
@@ -1,17 +1,21 @@
+# Conditional build:
+%bcond_without	tests	# unit tests
+
 Summary:	Complex error function library
 Summary(pl.UTF-8):	Biblioteka zespolonej funkcji błędu
 Name:		libcerf
-Version:	3.3
-Release:	3
+Version:	3.9
+Release:	1
 License:	MIT
 Group:		Libraries
 #Source0Download: https://jugit.fz-juelich.de/mlz/libcerf/-/tags
 Source0:	https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v%{version}/%{name}-v%{version}.tar.gz
-# Source0-md5:	dcf920570c424955ab78bcbc1c0dc5b4
+# Source0-md5:	9c8470d249754b34880ff02781f8ed98
 URL:		https://jugit.fz-juelich.de/mlz/libcerf
-BuildRequires:	cmake >= 3.20
+BuildRequires:	cmake >= 3.23
 BuildRequires:	gcc >= 6:4.7
-BuildRequires:	libstdc++-devel >= 6:7
+BuildRequires:	gcc-c++ >= 6:11
+BuildRequires:	libstdc++-devel >= 6:11
 BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,13 +38,17 @@ Header files for libcerf library.
 Pliki nagłówkowe biblioteki libcerf.
 
 %prep
-%setup -q -n %{name}-v%{version}
+%setup -q -n cerf-v%{version}-78082a7801dae8175d95157cfd212b4f8fa327b0
 
 %build
 %cmake -B build
 
 %{__make} -C build
 
+%if %{with tests}
+ctest --test-dir build --output-on-failure
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcerf.git/commitdiff/f52e69cdc1c070c6b2cc3038a78c767f40500fb5



More information about the pld-cvs-commit mailing list