!2 package init
From: @orange-snn Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
8f59d89e34
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# python-pycdlib
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
A pure python ISO9660 read and write 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/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# python-pycdlib
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
A pure python ISO9660 read and write 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. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
BIN
pycdlib-1.11.0.tar.gz
Normal file
BIN
pycdlib-1.11.0.tar.gz
Normal file
Binary file not shown.
62
python-pycdlib.spec
Normal file
62
python-pycdlib.spec
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
%global srcname pycdlib
|
||||||
|
|
||||||
|
Name: python-%{srcname}
|
||||||
|
Summary: A pure python ISO9660 read and write library
|
||||||
|
Version: 1.11.0
|
||||||
|
Release: 1
|
||||||
|
License: LGPLv2
|
||||||
|
URL: https://github.com/clalancette/%{srcname}
|
||||||
|
Source0: https://github.com/clalancette/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel genisoimage python3-pytest
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pycdlib is a pure python library for reading, writing, and otherwise\
|
||||||
|
manipulating ISO9660 files. It is focused on speed, correctness, and\
|
||||||
|
conformance to the various standards around ISO9660, including ISO9660 itself,\
|
||||||
|
the Joliet extensions, the Rock Ridge extensions, the El Torito boot\
|
||||||
|
extensions, and UDF.
|
||||||
|
|
||||||
|
%package -n python3-%{srcname}
|
||||||
|
Summary: python3 for %{srcname}
|
||||||
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
|
%description -n python3-%{srcname}
|
||||||
|
python3 for %{srcname}
|
||||||
|
|
||||||
|
%package -n %{srcname}-tools
|
||||||
|
Summary: Tools that rely on %{srcname}
|
||||||
|
Requires: python3-%{srcname} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{srcname}-tools
|
||||||
|
Some tools that use the %{srcname} library.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{srcname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
PYCDLIB_TRACK_WRITES=1 py.test-%{python3_version} -v tests
|
||||||
|
|
||||||
|
%files -n python3-%{srcname}
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md examples/
|
||||||
|
%{python3_sitelib}/%{srcname}
|
||||||
|
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
|
||||||
|
|
||||||
|
%files -n %{srcname}-tools
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/pycdlib-explorer
|
||||||
|
%{_bindir}/pycdlib-extract-files
|
||||||
|
%{_bindir}/pycdlib-genisoimage
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Apr 12 2021 orange-snn <songnannan2@huawei.com> - 1.11.0-1
|
||||||
|
- package init for lorax
|
||||||
Loading…
x
Reference in New Issue
Block a user