]>
Commit | Line | Data |
---|---|---|
0d7aa5ee | 1 | Summary: diffutils for binary files |
f081bf5d | 2 | Summary(pl.UTF-8): diffutils dla plików binarnych |
378dec44 | 3 | Name: bdiff |
0cc5d8b7 | 4 | Version: 1.0.5 |
0c8c8514 | 5 | Release: 1 |
893a57bf | 6 | License: GPL |
378dec44 AG |
7 | Group: Applications/Console |
8 | Source0: http://xoomer.virgilio.it/g_pochini/%{name}-%{version}.tgz | |
0cc5d8b7 | 9 | # Source0-md5: 55e52c93565db80f18d9aa2d39a0ed58 |
378dec44 | 10 | Patch0: %{name}-Makefile.patch |
3a7751ef | 11 | URL: http://www.webalice.it/g_pochini/bdiff/ |
378dec44 AG |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
0d7aa5ee JB |
15 | bdiff is a simple and small program to do what the very common |
16 | utilities "diff" and "patch" do with text files, but also works with | |
17 | binary files. | |
378dec44 | 18 | |
9180ad4e JR |
19 | %description -l pl.UTF-8 |
20 | bdiff jest prostym i niewielkim programem służącym do tego, do czego | |
21 | używane są popularne narzędzia "diff" oraz "patch" - z tą różnicą, że | |
22 | działa nie tylko na plikach tekstowych, a także binarnych. | |
378dec44 AG |
23 | |
24 | %prep | |
25 | %setup -q | |
26 | %patch0 -p1 | |
27 | ||
28 | %build | |
7474e79a | 29 | %{__make} \ |
7e5f6510 | 30 | CFLAGS="%{rpmcflags} %{rpmcppflags} %{rpmldflags}" \ |
7474e79a | 31 | CC="%{__cc}" |
378dec44 AG |
32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
378dec44 AG |
35 | install -d $RPM_BUILD_ROOT%{_bindir} |
36 | ||
37 | install bdiff $RPM_BUILD_ROOT%{_bindir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc Fileformat.txt README magic.txt | |
45 | %attr(755,root,root) %{_bindir}/* |