Package init
This commit is contained in:
parent
07221a01ed
commit
2a27ee3e0a
@ -3,7 +3,7 @@ project (clibcni)
|
|||||||
|
|
||||||
option(VERSION "set clibcni version" ON)
|
option(VERSION "set clibcni version" ON)
|
||||||
if (VERSION STREQUAL "ON")
|
if (VERSION STREQUAL "ON")
|
||||||
set(CLIBCNI_VERSION "1.0.6")
|
set(CLIBCNI_VERSION "1.0.7")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(DEBUG "set clibcni gcc option" ON)
|
option(DEBUG "set clibcni gcc option" ON)
|
||||||
|
|||||||
@ -11,14 +11,6 @@ iSulad follows the kernel coding conventions. You can find a detailed introducti
|
|||||||
|
|
||||||
- https://www.kernel.org/doc/html/v4.10/process/coding-style.html
|
- https://www.kernel.org/doc/html/v4.10/process/coding-style.html
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
Without considering distribution specific details a simple
|
|
||||||
|
|
||||||
mkdir -p build && cd ./build && cmake .. && make && sudo make install
|
|
||||||
|
|
||||||
is usually sufficient.
|
|
||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
clibcni is licensed under the Mulan PSL v1.
|
clibcni is licensed under the Mulan PSL v1.
|
||||||
|
|||||||
@ -6,7 +6,7 @@ includedir=@CMAKE_INSTALL_PREFIX@/include
|
|||||||
Name: libclibcni
|
Name: libclibcni
|
||||||
Description: c library of cni
|
Description: c library of cni
|
||||||
Version: @CLIBCNI_VERSION@
|
Version: @CLIBCNI_VERSION@
|
||||||
URL: http://code-sh.rnd.huawei.com/containers/plugins/clibcni.git
|
URL: clibcni
|
||||||
Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lclibcni
|
Libs: -L@CMAKE_INSTALL_PREFIX@/lib -lclibcni
|
||||||
Cflags: -I@CMAKE_INSTALL_PREFIX@/include
|
Cflags: -I@CMAKE_INSTALL_PREFIX@/include
|
||||||
|
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
%global _version 1.0.6
|
%global _version 1.0.7
|
||||||
%global _release 20190919.235256.gitc4730268
|
%global _release 20191222.225602.gita3d7e9d4
|
||||||
Name: clibcni
|
Name: clibcni
|
||||||
Version: %{_version}
|
Version: %{_version}
|
||||||
Release: %{_release}
|
Release: %{_release}
|
||||||
Summary: CNI - the Container Network Interface
|
Summary: CNI - the Container Network Interface
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: Mulan PSL v1
|
License: Mulan PSL v1
|
||||||
URL: http://code.huawei.com/containers/plugins/clibcni
|
URL: clibcni
|
||||||
Source0: %{name}-1.0.tar.gz
|
Source0: %{name}-1.0.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user