[packages/safeint] Initial

arekm arekm at pld-linux.org
Sun Sep 20 21:36:33 CEST 2026


commit 3e06dffea9f9cf636734fa913d8f5c5fad9bf04f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Sep 20 21:36:14 2026 +0200

    Initial

 safeint.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/safeint.spec b/safeint.spec
new file mode 100644
index 0000000..fdb583f
--- /dev/null
+++ b/safeint.spec
@@ -0,0 +1,48 @@
+Summary:	SafeInt - C++ class library for safe integer arithmetic
+Summary(pl.UTF-8):	SafeInt - biblioteka klas C++ do bezpiecznej arytmetyki całkowitoliczbowej
+Name:		safeint
+Version:	3.24
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+#Source0Download: https://github.com/dcleblanc/SafeInt/tags
+Source0:	https://github.com/dcleblanc/SafeInt/archive/%{version}/SafeInt-%{version}.tar.gz
+# Source0-md5:	2ea98ebb310e3e273602f49977fc5ae4
+URL:		https://github.com/dcleblanc/SafeInt
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+SafeInt is a single-header C++ library that detects integer overflow
+and other undefined behaviour in integer arithmetic.
+
+%description -l pl.UTF-8
+SafeInt to jednoplikowa (nagłówkowa) biblioteka C++ wykrywająca
+przepełnienia i inne niezdefiniowane zachowania w arytmetyce
+całkowitoliczbowej.
+
+%package devel
+Summary:	Header file for SafeInt library
+Summary(pl.UTF-8):	Plik nagłówkowy biblioteki SafeInt
+Group:		Development/Libraries
+
+%description devel
+Header file for SafeInt library.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy biblioteki SafeInt.
+
+%prep
+%setup -q -n SafeInt-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -Dp SafeInt.hpp $RPM_BUILD_ROOT%{_includedir}/SafeInt/SafeInt.hpp
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{_includedir}/SafeInt
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/safeint.git/commitdiff/3e06dffea9f9cf636734fa913d8f5c5fad9bf04f



More information about the pld-cvs-commit mailing list