]>
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 | |
fe571b34 | 5 | Release: 0.2 |
65d4e6e3 ER |
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 | |
fe571b34 ER |
16 | Requires: mpg123 |
17 | Requires: ogg123 | |
47e7d755 | 18 | Requires: openssl-tools |
fe571b34 | 19 | Requires: plotutils |
65d4e6e3 ER |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | dmf is portable perl/C software for finding pairs of music files in a | |
24 | collection that are likely to contain the same music. It works on the | |
25 | music itself, not on the filename, tags, or headers. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
32 | CC="%{__cc}" \ | |
33 | OPTFLAGS="%{rpmcflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{_bindir} | |
38 | install cleanup_dups fdmf fdmf_bench optparam sonic_reducer vector_pairs $RPM_BUILD_ROOT%{_bindir} | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
47e7d755 | 45 | %doc CHANGES INSTALL README |
65d4e6e3 | 46 | %attr(755,root,root) %{_bindir}/* |