diff --git a/README.en.md b/README.en.md deleted file mode 100644 index bd9b2fc..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# inih - -#### Description -Simple INI file parser library - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 5fd9e79..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# inih - -#### 介绍 -Simple INI file parser library - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/inih.spec b/inih.spec new file mode 100644 index 0000000..56f99bc --- /dev/null +++ b/inih.spec @@ -0,0 +1,61 @@ +Name: inih +Version: 49 +Release: 1 +Summary: Simple INI file parser library + +License: BSD +URL: https://github.com/benhoyt/inih +Source0: https://github.com/benhoyt/inih/archive/refs/tags/r%{version}.tar.gz + +BuildRequires: gcc g++ +BuildRequires: meson + + +%description +The inih package provides simple INI file parser which is only a couple of +pages of code, and it was designed to be small and simple, so it's good for +embedded systems. + + +%package devel +Summary: Development package for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + + +%description devel +This package contains development files for %{name}. + +The inih package provides simple INI file parser which is only a couple of +pages of code, and it was designed to be small and simple, so it's good for +embedded systems. + + +%prep +%autosetup -n %{name}-r%{version} + + +%build +%meson -Ddefault_library=shared -Ddistro_install=true +%meson_build + + +%install +%meson_install + + +%files +%license LICENSE.txt +%doc README.md +%{_libdir}/lib%{name}.so.%{version} +%{_libdir}/lib%{name}.so.0 + + +%files devel +%{_includedir}/ini.h +%{_libdir}/pkgconfig/inih.pc +%{_libdir}/lib%{name}.so + + +%changelog +* Wed Dec 1 2021 yanglongkang - 49-1 +- Package init diff --git a/inih.yaml b/inih.yaml new file mode 100644 index 0000000..a98d281 --- /dev/null +++ b/inih.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: benhoyt/inih +tag_prefix: "^r" +separator: "." diff --git a/r49.tar.gz b/r49.tar.gz new file mode 100644 index 0000000..efd709f Binary files /dev/null and b/r49.tar.gz differ