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