]>
Commit | Line | Data |
---|---|---|
0eaf95b7 | 1 | Summary: Binary diff/patch utilities |
06c6d2d1 | 2 | Summary(pl.UTF-8): Narzędzia diff/patch dla plików binarnych |
2ca81f8a AG |
3 | Name: bsdiff |
4 | Version: 4.3 | |
6afe6aaf | 5 | Release: 1 |
2ca81f8a AG |
6 | License: BSD |
7 | Group: Development/Tools | |
8 | Source0: http://www.daemonology.net/bsdiff/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: e6d812394f0e0ecc8d5df255aa1db22a | |
10 | URL: http://www.daemonology.net/bsdiff/ | |
11 | BuildRequires: bzip2-devel | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | bsdiff and bspatch are tools for building and applying patches to | |
16 | binary files. By using suffix sorting (specifically, Larsson and | |
17 | Sadakane's qsufsort) and taking advantage of how executable files | |
18 | change, bsdiff routinely produces binary patches 50-80% smaller than | |
19 | those produced by Xdelta, and 15% smaller than those produced by | |
20 | .RTPatch. | |
21 | ||
6583836b JR |
22 | %description -l pl.UTF-8 |
23 | bsdiff i bspatch to narzędzia do tworzenia i aplikowania łat dla | |
24 | plików binarnych. Dzięki użyciu sortowania przyrostkowego (w | |
25 | szczególności qsufsort Larssona i Sadakane'a) i uwzględnieniu sposobu, | |
26 | w jaki zmieniają się pliki wykonywalne, bsdiff zwykle tworzy łaty | |
27 | binarne 50-80%% mniejsze niż tworzone przez program Xdelta i 15%% | |
28 | mniejsze niż tworzone przez .RTPatch. | |
0eaf95b7 | 29 | |
2ca81f8a AG |
30 | %prep |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | %{__cc} bsdiff.c -o bsdiff %{rpmcflags} -lbz2 | |
35 | %{__cc} bspatch.c -o bspatch %{rpmcflags} -lbz2 | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
6afe6aaf ER |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
40 | install bsdiff bspatch $RPM_BUILD_ROOT%{_bindir} | |
41 | install bsdiff.1 bspatch.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
2ca81f8a AG |
42 | |
43 | %clean | |
0eaf95b7 | 44 | rm -rf $RPM_BUILD_ROOT |
2ca81f8a AG |
45 | |
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %attr(755,root,root) %{_bindir}/* | |
49 | %{_mandir}/man1/* |