diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 24aaa32..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# liburing - -#### Description -liburing is the io_uring library, which provides helpers to setup and teardown io_uring instances, and also a simplified interface for applications that donnot need to deal with the full kernel side implementation. - -#### 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 e9b06a5..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# liburing - -#### 介绍 -liburing is the io_uring library, which provides helpers to setup and teardown io_uring instances, and also a simplified interface for applications that donnot need to deal with the full kernel side implementation. - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -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/liburing-0.7.tar.gz b/liburing-0.7.tar.gz new file mode 100644 index 0000000..0310877 Binary files /dev/null and b/liburing-0.7.tar.gz differ diff --git a/liburing.spec b/liburing.spec new file mode 100644 index 0000000..510a1ba --- /dev/null +++ b/liburing.spec @@ -0,0 +1,49 @@ +Name: liburing +Version: 0.7 +Release: 1 +Summary: Linux-native io_uring I/O access library +License: (GPLv2 with exceptions and LGPLv2+) or MIT +Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.gz +URL: https://git.kernel.dk/cgit/liburing/ +BuildRequires: gcc + +%description +Provides native async IO for the Linux kernel, in a fast and efficient +manner, for both buffered and O_DIRECT. + +%package devel +Summary: Development files for Linux-native io_uring I/O access library +Requires: %{name}%{_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package provides header files to include and libraries to link with +for the Linux-native io_uring. + +%prep +%autosetup -p1 + +%build +%set_build_flags +./configure --prefix=%{_prefix} --libdir=/%{_libdir} --libdevdir=/%{_libdir} --mandir=%{_mandir} --includedir=%{_includedir} + +%make_build + +%install +%make_install + +%files +%attr(0755,root,root) %{_libdir}/liburing.so.* +%license COPYING + +%files devel +%{_includedir}/liburing/ +%{_includedir}/liburing.h +%{_libdir}/liburing.so +%exclude %{_libdir}/liburing.a +%{_libdir}/pkgconfig/* +%{_mandir}/man2/* + +%changelog +* Mon Feb 22 2021 Zhiqiang Liu - 0.7-1 +- init liburing v0.7 diff --git a/liburing.yaml b/liburing.yaml new file mode 100644 index 0000000..3db281e --- /dev/null +++ b/liburing.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://git.kernel.dk/cgit/liburing +tag_prefix: "liburing-" +seperator: "."