]>
Commit | Line | Data |
---|---|---|
deb177a9 | 1 | Summary: Program identifying or deleting duplicate files |
c460e2ab | 2 | Summary(pl.UTF-8): Program identyfikujący lub usuwający duplikaty plików |
deb177a9 | 3 | Name: fdupes |
425d1ab8 ER |
4 | Version: 1.51 |
5 | Release: 1 | |
deb177a9 ER |
6 | License: MIT |
7 | Group: Applications/File | |
425d1ab8 ER |
8 | Source0: https://fdupes.googlecode.com/files/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 47d0410c90c9e51e450933ba35a32b62 | |
deb177a9 | 10 | Patch0: %{name}-make.patch |
425d1ab8 | 11 | URL: https://code.google.com/p/fdupes/ |
deb177a9 ER |
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}" \ | |
425d1ab8 | 32 | COMPILER_OPTIONS="%{rpmcflags}" |
deb177a9 ER |
33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | %{__make} install \ | |
425d1ab8 ER |
37 | PREFIX=%{_prefix} \ |
38 | INSTALL="install -p" \ | |
deb177a9 ER |
39 | DESTDIR=$RPM_BUILD_ROOT |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc CHANGES CONTRIBUTORS README TODO | |
47 | %attr(755,root,root) %{_bindir}/fdupes | |
48 | %{_mandir}/man1/fdupes.1* |