!2 初始化兼容性需求包quilt

From: @cherry530
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-09-15 11:05:36 +00:00 committed by Gitee
commit c5928722a7
2 changed files with 51 additions and 0 deletions

BIN
quilt-0.66.tar.gz Normal file

Binary file not shown.

51
quilt.spec Normal file
View File

@ -0,0 +1,51 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: quilt
Version: 0.66
Release: 1
Summary: Scripts for working with series of patches
License: GPLv2
URL: https://savannah.nongnu.org/projects/%{name}
Source: https://download-mirror.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: diffstat gettext gawk p7zip perl-generators perl-podlators util-linux-ng
BuildRequires: sendmail
Requires: bzip2 coreutils diffstat diffutils gawk gzip p7zip procmail rpm-build sed tar
Requires: util-linux-ng
BuildRequires: sendmail
%description
These scripts allow one to manage a series of patches by keeping track of the
changes each patch makes. Patches can be applied, un-applied, refreshed, etc.
The scripts are heavily based on Andrew Morton's patch scripts found at
http://www.zip.com.au/~akpm/linux/patches/
%prep
%autosetup -p1
%build
%configure \
--docdir=%{_pkgdocdir} \
--with-diffstat=%{_bindir}/diffstat \
--with-sendmail=%{_sbindir}/sendmail \
;
%make_build
%install
%make_install BUILD_ROOT=%{buildroot}
%{find_lang} %{name}
mv %{buildroot}%{_pkgdocdir}/* .
rm -rf %{buildroot}%{_pkgdocdir}
%files -f %{name}.lang
%doc README README.MAIL quilt.pdf TODO
%license AUTHORS COPYING
%{_bindir}/guards
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/emacs/site-lisp/%{name}.el
%{_sysconfdir}/bash_completion.d
%config %{_sysconfdir}/%{name}.%{name}rc
%{_mandir}/man1/*.1*
%changelog
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 0.66-1
- package init