回退 'Pull Request !2 : 初始化兼容性需求包quilt'
This commit is contained in:
parent
c5928722a7
commit
3cdb098a21
Binary file not shown.
51
quilt.spec
51
quilt.spec
@ -1,51 +0,0 @@
|
|||||||
%{!?_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
|
|
||||||
Loading…
x
Reference in New Issue
Block a user