72 lines
1.9 KiB
RPMSpec
72 lines
1.9 KiB
RPMSpec
Name: tomlplusplus
|
|
Version: 3.4.0
|
|
Release: 1mamba
|
|
Summary: TOML config file parser and serializer for C++17
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://marzer.github.io/tomlplusplus/
|
|
Source: https://github.com/marzer/tomlplusplus.git/v%{version}/tomlplusplus-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: meson
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
TOML config file parser and serializer for C++17.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: TOML config file parser and serializer for C++17
|
|
|
|
%description -n lib%{name}
|
|
TOML config file parser and serializer for C++17.
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libtomlplusplus.so.*
|
|
%doc LICENSE
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/toml++
|
|
%{_includedir}/toml++/*
|
|
%{_libdir}/libtomlplusplus.so
|
|
%{_libdir}/pkgconfig/tomlplusplus.pc
|
|
%dir %{_libdir}/cmake/tomlplusplus
|
|
%{_libdir}/cmake/tomlplusplus/tomlplusplus*.cmake
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Thu Nov 13 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.0-1mamba
|
|
- package created using the webbuild interface
|