summaryrefslogtreecommitdiffstats
path: root/quilt.spec.in
blob: 360f724f2e24e295c6d7d27ed3356b2a88186d90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# spec file for quilt - patch management scripts
#

Name:		quilt
Summary:	Scripts for working with series of patches
License:	GPL
Group:		Productivity/Text/Utilities
Version:	0
Release:	0
Requires:	textutils diffutils patch gzip bzip2 perl mktemp
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://www.zip.com.au/~akpm/linux/patches/.

Authors:
--------
    Andrew Morton <akpm@digeo.com>
    Andreas Gruenbacher <agruen@suse.de>

%prep
if [ "${RPM_BUILD_ROOT%/}" != "" ]; then
	rm -rf $RPM_BUILD_ROOT
fi
%setup

%build
make prefix=/usr BUILD_ROOT=$RPM_BUILD_ROOT

%install
make install prefix=/usr BUILD_ROOT=$RPM_BUILD_ROOT

%files
%defattr(-, root, root)
/usr/bin/guards
/usr/bin/quilt

/usr/share/quilt/

%doc /usr/share/man/man1/guards.1.gz
%doc README

%changelog
# The changelog is filled in by "make spec".