!3 [feature]:Add spec to build rpm

From: @plt42 
Reviewed-by: @cf-zhao 
Signed-off-by: @cf-zhao
This commit is contained in:
openeuler-ci-bot 2023-09-20 07:04:47 +00:00 committed by Gitee
commit 60de0ff66a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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