1 %include /usr/lib/rpm/macros.perl
2 Summary: FDMF - find duplicate music files
7 Group: Applications/Sound
8 URL: http://www.w140.com/audio/
9 Source0: http://www.w140.com/audio/%{name}-%{version}.tar.gz
10 # Source0-md5: 5aca21e61ef3bb1cd876828af9c54d32
11 BuildRequires: fftw3-devel
12 BuildRequires: gdbm-devel
13 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 dmf is portable perl/C software for finding pairs of music files in a
21 collection that are likely to contain the same music. It works on the
22 music itself, not on the filename, tags, or headers.
30 OPTFLAGS="%{rpmcflags}"
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35 install cleanup_dups fdmf fdmf_bench optparam sonic_reducer vector_pairs $RPM_BUILD_ROOT%{_bindir}
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %doc CHANGES COPYING INSTALL README
43 %attr(755,root,root) %{_bindir}/*