]>
Commit | Line | Data |
---|---|---|
deb177a9 | 1 | Summary: Program identifying or deleting duplicate files |
ea235850 | 2 | Summary(pl.UTF-8): Program identyfikujący lub usuwający duplikaty plików |
deb177a9 ER |
3 | Name: fdupes |
4 | Version: 1.40 | |
5 | Release: 0.1 | |
6 | License: MIT | |
7 | Group: Applications/File | |
8 | Source0: http://netdial.caribe.net/~adrian2/programs/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 11de9ab4466089b6acbb62816b30b189 | |
10 | Patch0: %{name}-make.patch | |
11 | URL: http://netdial.caribe.net/~adrian2/fdupes.html | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | fdupes is a program to scan directories for duplicate files, with | |
16 | options to list and delete them. It first compares file sizes and MD5 | |
17 | signatures, and then performs a byte-by-byte check for verification. | |
18 | ||
ea235850 JR |
19 | %description -l pl.UTF-8 |
20 | fdupes to program przeszukujący katalogi pod kątem duplikatów plików z | |
21 | możliwością wypisania lub usunięcia ich. Najpierw porównuje rozmiary | |
22 | plików i sygnatury MD5, a następnie przeprowadza sprawdzenie bajt po | |
ca2077ed JB |
23 | bajcie w celu weryfikacji. |
24 | ||
deb177a9 ER |
25 | %prep |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | ||
29 | %build | |
30 | %{__make} \ | |
31 | CC="%{__cc}" \ | |
32 | CFLAGS="%{rpmcflags}" | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | %{__make} install \ | |
37 | DESTDIR=$RPM_BUILD_ROOT | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc CHANGES CONTRIBUTORS README TODO | |
45 | %attr(755,root,root) %{_bindir}/fdupes | |
46 | %{_mandir}/man1/fdupes.1* |