2024-01-05 21:32:18 +01:00
|
|
|
Name: cpptoml
|
2024-02-07 23:51:54 +01:00
|
|
|
Epoch: 1
|
|
|
|
Version: 0.1.1
|
|
|
|
Release: 2mamba
|
2024-01-05 21:32:18 +01:00
|
|
|
Summary: A header-only library for parsing TOML
|
|
|
|
Group: Applications/Development
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-02-07 23:51:54 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:32:18 +01:00
|
|
|
URL: https://github.com/skystrife/cpptoml
|
2024-02-07 23:51:54 +01:00
|
|
|
Source: https://github.com/skystrife/cpptoml.git/v%{version}/cpptoml-%{version}.tar.bz2
|
|
|
|
Patch0: cpptoml-0.1.1-gcc-13.2.0.patch
|
2024-01-05 21:32:18 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-02-07 23:51:54 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-05 21:32:18 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-02-07 23:51:54 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 21:32:18 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-02-07 23:51:54 +01:00
|
|
|
%patch 0 -p1 -b .gcc-13.2.0
|
2024-01-05 21:32:18 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
#makeinstall -C build
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
install -m 0755 build/cpptoml-parser %{buildroot}%{_bindir}/
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_includedir}/
|
|
|
|
install -m 0644 include/cpptoml.h %{buildroot}%{_includedir}/
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/cpptoml-parser
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/cpptoml.h
|
2024-02-07 23:51:54 +01:00
|
|
|
%doc README.md
|
2024-01-05 21:32:18 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-02-07 23:51:54 +01:00
|
|
|
* Wed Feb 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-2mamba
|
|
|
|
- fix version; specfile fixes
|
|
|
|
|
|
|
|
* Wed Feb 07 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
|
|
- update to 0.1.1
|
|
|
|
|
2024-01-05 21:32:18 +01:00
|
|
|
* Sun Mar 22 2015 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
|
|
|
|
- package created by autospec
|