]> git.pld-linux.org Git - packages/patchutils.git/blob - patchutils.spec
-up to 0.2.13,STBR
[packages/patchutils.git] / patchutils.spec
1 Summary:        Patchutils is a small collection of programs that operate on patch files
2 Summary(pl):    Kolekcja ma³ych programów operuj±cych na plikach patch
3 Name:           patchutils
4 Version:        0.2.13
5 Release:        1
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://cyberelk.net/tim/data/patchutils/stable/%{name}-%{version}.tar.bz2
9 Patch1:         %{name}-fixcvsdiff.patch
10 URL:            http://cyberelk.net/tim/patchutils/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  diffutils
14 BuildRequires:  patch
15 Requires:       diffutils
16 Requires:       patch
17 Provides:       interdiff
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Obsoletes:      interdiff
20
21 %description
22 Interdiff generates an incremental patch from two patches against a
23 common source. For example, if you have applied a pre-patch to a
24 source tree, and wish to apply another pre-patch (which is against the
25 same original source tree), you can use interdiff to generate the
26 patch that you need to apply. You can also use this to review changes
27 between two pre-patches.
28
29 Combinediff generates a single patch from two incremental patches,
30 allowing you to merge patches together. The resulting patch file only
31 alters each file once.
32
33 Filterdiff will select the portions of a patch file that apply to
34 files matching (or, alternatively, not matching) a shell wildcard.
35
36 Fixcvsdiff is for correcting the output of 'cvs diff'.
37
38 Rediff corrects hand-edited patches, by comparing the original patch
39 with the modified one and adjusting the offsets and counts.
40
41 Lsdiff displays a short listing of affected files in a patch file,
42 along with (optionally) the line numbers of the start of each patch.
43
44 Splitdiff separates out patches from a patch file so that each new
45 patch file only alters any given file once. In this way, a file
46 containing several incremental patches can be split into individual
47 incremental patches.
48
49 Grepdiff displays a list of the files modified by a patch where the
50 patch contains a given regular expression.
51
52 %description -l pl
53 Interdiff generuje inkrementalne patche z dwóch patchy stworzonych w
54 stosunku do jednego ¼ród³a.
55
56 Combinediff generuje pojedyñczy patch z dwóch inkrementalnych patchy
57 pozwalaj±c na ich ³±czenie. Wygenerowany patch modyfikuje pliki
58 jedynie jednokrotnie.
59
60 Filterdiff wybierze fragmenty patcha modyfikuj±ce pliki pasuj±ce (lub
61 nie pasuj±ce) do wzorca shella.
62
63 Fixcvsdiff s³u¿y do poprawiania plików wygenerowanych przez `cvs
64 diff'.
65
66 Rediff poprawia rêcznie-edytowane patche poprzez porównanie
67 oryginalnego patcha ze zmodyfikowanym i poprawianie przesuniêæ i
68 zliczeñ.
69
70 Lsdiff wy¶wietla krótk± listê plików, które patch modyfikuje wraz z
71 (opcjonalnie) numerami linii ka¿dej zmiany.
72
73 Splitdiff dzieli patch na wiêcej patchy tak, ¿e poszczególne patche
74 modyfikuj± jedynie okre¶lony plik jednokrotnie. W ten sposób plik
75 zawieraj±cy kilka inkrementalnych zmian mo¿e byæ zamieniony w kilka
76 inkrementalnych ³at.
77
78 Grepdiff wy¶wietla listê plików modyfikowanych przez patch gdzie patch
79 zawiera okre¶lone wyra¿enie regularne.
80
81 %prep
82 %setup -q
83 %patch1 -p0
84
85 %build
86 rm -f missing
87 %configure
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install DESTDIR=$RPM_BUILD_ROOT
94
95 gzip -9nf NEWS README
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %files
101 %defattr(644,root,root,755)
102 %doc *.gz
103 %attr(755,root,root) %{_bindir}/*
104 %{_mandir}/man?/*
This page took 0.048487 seconds and 4 git commands to generate.