1 Star 0 Fork 9

dongjiao_joan/lzip

forked from src-openEuler/lzip 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
lzip.spec 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
konglidong 提交于 2021-12-14 14:18 . delete %dist
Name: lzip
Version: 1.20
Release: 2
Summary: LZMA compressor with integrity checking
License: GPLv3+
URL: http://www.nongnu.org/lzip/lzip.html
Source0: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz
BuildRequires: gcc-c++
%description
Lzip compresses data using LZMA (Lempel-Ziv-Markov chain-Algorithm). It
supports integrity checking using CRC (Cyclic Redundancy Check). To archive
multiple files, tar can be used with lzip. Please note, that the lzip file
format (.lz) is not compatible with the lzma file format (.lzma).
%prep
%setup -q
# file needs to be copied, because it is used in "make check"
cp -a COPYING{,.txt}
# convert CRLF to LF
sed -i 's/\r//' COPYING.txt
%build
%configure CXXFLAGS="%{build_cxxflags}" LDFLAGS="%{build_ldflags}"
make %{?_smp_mflags}
%install
make install install-man DESTDIR=$RPM_BUILD_ROOT
# if install-info is present, this is created by upstream's makefile
rm -Rf $RPM_BUILD_ROOT%{_infodir}/dir
%check
make check
%files
%license COPYING.txt
# TODO is currently empty
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/lzip
%{_infodir}/lzip.info*
%{_mandir}/man1/lzip.1*
%changelog
* Tue Dec 14 2021 konglidong <konglidong@uniontech.com> - 1.20-2
- delete %dist
* Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 1.20-1
- First release.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dongjiao-joan/lzip.git
git@gitee.com:dongjiao-joan/lzip.git
dongjiao-joan
lzip
lzip
master

搜索帮助