1 %include /usr/lib/rpm/macros.perl
2 Summary: FDMF - find duplicate music files
3 Summary(pl.UTF-8): FDMF - szukanie duplikatów plików muzycznych
8 Group: Applications/Sound
9 Source0: http://www.w140.com/audio/%{name}-%{version}.tar.gz
10 # Source0-md5: 1d79911c83605a68573d0a2ea8a01d18
11 URL: http://www.w140.com/audio/
12 BuildRequires: fftw3-devel
13 BuildRequires: gdbm-devel
14 BuildRequires: rpm-perlprov >= 4.1-13
18 Suggests: vorbis-tools
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 dmf is portable Perl/C software for finding pairs of music files in a
23 collection that are likely to contain the same music. It works on the
24 music itself, not on the filename, tags, or headers.
26 %description -l pl.UTF-8
27 dmf to przenośny program w Perlu/C do znajdowania w swojej kolekcji
28 par plików muzycznych, które najprawdopodobniej zawierają tę samą
29 muzykę. Porównuje samą muzykę, a nie nazwę pliku, znaczniki czy
38 OPTFLAGS="%{rpmcflags}"
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43 install cleanup_dups fdmf fdmf_bench optparam sonic_reducer vector_pairs $RPM_BUILD_ROOT%{_bindir}
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc CHANGES INSTALL README
51 %attr(755,root,root) %{_bindir}/cleanup_dups
52 %attr(755,root,root) %{_bindir}/fdmf
53 %attr(755,root,root) %{_bindir}/fdmf_bench
54 %attr(755,root,root) %{_bindir}/optparam
55 %attr(755,root,root) %{_bindir}/sonic_reducer
56 %attr(755,root,root) %{_bindir}/vector_pairs