[packages/toml11] - updated to 4.4.0
qboosh
qboosh at pld-linux.org
Sat Sep 26 07:13:54 CEST 2026
commit 68547c7296bad9d1e6a23aecf0c83f4db2bfb014
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 26 07:07:52 2026 +0200
- updated to 4.4.0
toml11.spec | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
---
diff --git a/toml11.spec b/toml11.spec
index 7f13ceb..fbc8526 100644
--- a/toml11.spec
+++ b/toml11.spec
@@ -1,24 +1,29 @@
#
# Conditional build:
-%bcond_with tests # Tests requires network access
+%bcond_with tests # unit tests (require git submodules)
#
# nothing to be placed to debuginfo package
%define _enable_debug_packages 0
Summary: TOML for Modern C++
Name: toml11
-Version: 4.3.0
+Version: 4.4.0
Release: 1
License: MIT
+Group: Development/Libraries
+#Source0Download: https://github.com/ToruNiina/toml11/releases
Source0: https://github.com/ToruNiina/toml11/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 0235d45af6aa3ef4e70f22d99598b92e
+# Source0-md5: b576218153c21742e54920c061ff33cb
URL: https://github.com/ToruNiina/toml11
-BuildRequires: cmake
-BuildRequires: libstdc++-devel
+BuildRequires: cmake >= 3.16
+BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: rpmbuild(macros) >= 2.047
%if %{with test}
BuildRequires: boost-devel
BuildRequires: git-core
%endif
+Requires: libstdc++-devel >= 6:4.7
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
toml11 is a C++11 (or later) header-only toml parser/encoder depending
@@ -42,12 +47,10 @@ only on C++ standard library.
%setup -q
%build
-mkdir -p build
-cd build
-%cmake ../ \
- %{__cmake_on_off tests toml11_BUILD_TEST}
+%cmake -B build \
+ -Dtoml11_BUILD_TEST=%{__ON_OFF tests}
-%{__make}
+%{__make} -C build
%install
rm -rf $RPM_BUILD_ROOT
@@ -60,7 +63,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.md
-%{_includedir}/*.hpp
-%{_includedir}/%{name}
-%{_libdir}/cmake/%{name}
+%doc LICENSE README.md
+%lang(ja) %doc README_ja.md
+%{_includedir}/toml.hpp
+%{_includedir}/toml11
+%{_libdir}/cmake/toml11
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/toml11.git/commitdiff/11fe4ff1770de2dd8843e75a46eed30e65d2a79d
More information about the pld-cvs-commit
mailing list