mirror of https://gitee.com/openkylin/quilt.git
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
#
|
|
# spec file for quilt - patch management scripts
|
|
#
|
|
|
|
Name: quilt
|
|
Summary: Scripts for working with series of patches
|
|
License: GPL
|
|
Group: Productivity/Text/Utilities
|
|
Version: @VERSION@
|
|
Release: @RELEASE@
|
|
Requires: coreutils diffutils findutils patch gzip bzip2 perl mktemp gettext
|
|
Autoreqprov: off
|
|
Source: quilt-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The scripts allow 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://userweb.kernel.org/~akpm/stuff/patch-scripts.tar.gz.
|
|
|
|
Authors:
|
|
--------
|
|
Andrew Morton <akpm@digeo.com>
|
|
Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
./configure --prefix=/usr \
|
|
--mandir=%_mandir \
|
|
--docdir=%_docdir/%{name}-%{version}
|
|
make RELEASE=%release
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install prefix=/usr BUILD_ROOT=$RPM_BUILD_ROOT
|
|
%{find_lang} %{name}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-, root, root)
|
|
/usr/bin/guards
|
|
/usr/bin/quilt
|
|
/usr/share/quilt/
|
|
/usr/share/emacs/
|
|
/etc/bash_completion.d/quilt
|
|
%config(noreplace) /etc/quilt.quiltrc
|
|
%doc %{_mandir}/man1/guards.1*
|
|
%doc %{_mandir}/man1/quilt.1*
|
|
%doc %{_docdir}/%{name}-%{version}/README
|
|
%doc %{_docdir}/%{name}-%{version}/README.MAIL
|
|
%doc %{_docdir}/%{name}-%{version}/quilt.pdf
|
|
|
|
%changelog
|
|
@CHANGELOG@
|