]>
Commit | Line | Data |
---|---|---|
65d4e6e3 ER |
1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: FDMF - find duplicate music files | |
3 | Name: fdmf | |
4 | Version: 0.0.9j | |
5 | Release: 0.1 | |
6 | License: GPL | |
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 | |
14 | Requires: fftw3 | |
15 | Requires: gdbm | |
16 | Requires: mpg321 | |
47e7d755 | 17 | Requires: openssl-tools |
65d4e6e3 ER |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | dmf is portable perl/C software for finding pairs of music files in a | |
22 | collection that are likely to contain the same music. It works on the | |
23 | music itself, not on the filename, tags, or headers. | |
24 | ||
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | %{__make} \ | |
30 | CC="%{__cc}" \ | |
31 | OPTFLAGS="%{rpmcflags}" | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
36 | install cleanup_dups fdmf fdmf_bench optparam sonic_reducer vector_pairs $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
47e7d755 | 43 | %doc CHANGES INSTALL README |
65d4e6e3 | 44 | %attr(755,root,root) %{_bindir}/* |