Add spec for tinytoml.rpm

This commit is contained in:
Edward 2023-09-20 12:17:24 +08:00
parent f9c078b816
commit 45c7edfafb
2 changed files with 42 additions and 0 deletions

BIN
tinytoml-0.4.tar.gz Normal file

Binary file not shown.

42
tinytoml.spec Normal file
View File

@ -0,0 +1,42 @@
#
# spec file for package tinytoml
#
%define debug_package %{nil}
Name: tinytoml
Version: 0.4
Release: 1
License: simplified BSD License.
Summary: A header only C++11 library for parsing TOML.
Url: https://github.com/mayah/tinytoml
Source: %{name}-%{version}.tar.gz
BuildArch: noarch
# Patch:
# BuildRequires:
%description
The tinytoml-devel package includes the header files of tinytoml.
%package devel
Summary: Headers for tinytoml devel
# Requires:
%description devel
%{summary}.
%prep
%autosetup -n tinytoml-%{version}
%build
ls -l ./include
cp -r ./include %{buildroot}
ls -l %{buildroot}
%files devel
/toml
%changelog
* Tue Sep 19 2023 Zhu Jiameng <zhujiameng@huawei.com> - 0.4-1
- update to 0.4-1