p7zip/p7zip.spec
myeuler 246f3b6e2a init p7zip package
refine the build section

add yaml
2021-01-27 10:09:15 +00:00

48 lines
846 B
RPMSpec

#%global debug_package %{nil}
Name: p7zip
Version: 16.02
Release: 1
Summary: 7z for Linux system
License: GPLv2
URL: https://sourceforge.net/projects/p7zip/
Source0: https://sourceforge.net/projects/p7zip/files/p7zip/%{version}/%{name}_%{version}_src_all.tar.bz2
BuildRequires: gcc
%description
7za for Linux system to archive file as 7z file format
%prep
%setup -q -n %{name}_%{version}/
%build
%make_build
%install
#
# do not install 7z which may include unrar license
#
install -d %{buildroot}/%{_bindir}/
install -d %{buildroot}/%{_mandir}/man1
install -m 0755 bin/7za %{buildroot}/%{_bindir}/
install -m 0644 man1/7za.1 %{buildroot}/%{_mandir}/man1
%pre
%preun
%post
%postun
%check
%files
%license DOC/License.txt
%doc README
%{_bindir}/*
%{_mandir}/*
%changelog
* Tue Jan 26 2021 Wei Xiong <myeuler@163.com>
- Package init