commit
259b4bc5a0
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# pbzip2
|
||||
|
||||
#### Description
|
||||
Parallel implementation of bzip2
|
||||
|
||||
#### 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 @@
|
||||
# pbzip2
|
||||
|
||||
#### 介绍
|
||||
Parallel implementation of bzip2
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
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/)
|
||||
26
pbzip2-1.1.12-buildflags.patch
Normal file
26
pbzip2-1.1.12-buildflags.patch
Normal file
@ -0,0 +1,26 @@
|
||||
diff -up pbzip2-1.1.12/Makefile.flags pbzip2-1.1.12/Makefile
|
||||
--- pbzip2-1.1.12/Makefile.flags 2015-09-09 16:10:11.389730644 +0200
|
||||
+++ pbzip2-1.1.12/Makefile 2015-09-09 16:10:43.823872798 +0200
|
||||
@@ -17,7 +17,7 @@ LDLIBS_PTHREAD = -lpthread
|
||||
|
||||
|
||||
# Optimization flags
|
||||
-CXXFLAGS = -O2
|
||||
+CXXFLAGS ?= -O2
|
||||
|
||||
#CXXFLAGS += -g -Wall
|
||||
#CXXFLAGS += -ansi
|
||||
@@ -50,11 +50,11 @@ CXXFLAGS += $(CXXFLAGS_PTHREAD)
|
||||
|
||||
|
||||
# Linker flags
|
||||
-LDFLAGS =
|
||||
+# LDFLAGS =
|
||||
|
||||
|
||||
# External libraries
|
||||
-LDLIBS = -lbz2
|
||||
+LDLIBS += -lbz2
|
||||
LDLIBS += $(LDLIBS_PTHREAD)
|
||||
|
||||
|
||||
BIN
pbzip2-1.1.12.tar.gz
Normal file
BIN
pbzip2-1.1.12.tar.gz
Normal file
Binary file not shown.
50
pbzip2.spec
Normal file
50
pbzip2.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: pbzip2
|
||||
Version: 1.1.12
|
||||
Release: 10
|
||||
Summary: Parallel implementation of the bzip2 block-sorting file compressor
|
||||
License: BSD
|
||||
URL: http://www.compression.ca/pbzip2/
|
||||
|
||||
Source0: http://www.compression.ca/pbzip2/pbzip2-%{version}.tar.gz
|
||||
Patch0: pbzip2-1.1.12-buildflags.patch
|
||||
|
||||
BuildRequires: gcc-c++ bzip2-devel
|
||||
|
||||
%description
|
||||
PBZIP2 is a parallel implementation of the bzip2 block-sorting file compressor.
|
||||
The output of this version should be fully compatible with bzip2 v1.0.2 or newer
|
||||
(ie: anything compressed with pbzip2 can be decompressed with bzip2).
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n pbzip2-%{version} -p1
|
||||
f=AUTHORS; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 && mv $f.utf8 $f
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
pushd %{buildroot}
|
||||
install -D -m755 %{_builddir}/pbzip2-%{version}/pbzip2 .%{_bindir}/pbzip2
|
||||
install -D -m644 %{_builddir}/pbzip2-%{version}/pbzip2.1 .%{_mandir}/man1/pbzip2.1
|
||||
ln -sf %{_builddir}/pbzip2-%{version}/pbzip2 .%{_bindir}/pbunzip2
|
||||
ln -sf %{_builddir}/pbzip2-%{version}/pbzip2 .%{_bindir}/pbzcat
|
||||
popd
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS README
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.1.12-10
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user