]>
Commit | Line | Data |
---|---|---|
f4114890 JB |
1 | Summary: Small collection of programs that use libsndfile and other libraries |
2 | Summary(pl.UTF-8): Mały zestaw programów wykorzystujących libsndfile i inne biblioteki | |
3 | Name: sndfile-tools | |
597a2691 | 4 | Version: 1.5 |
f4114890 JB |
5 | Release: 1 |
6 | License: GPL v2 or GPL v3 | |
7 | Group: Applications/Sound | |
597a2691 JB |
8 | #Source0Download: https://github.com/libsndfile/sndfile-tools/releases |
9 | Source0: https://github.com/libsndfile/sndfile-tools/releases/download/%{version}/%{name}-%{version}.tar.bz2 | |
10 | # Source0-md5: 26dc615302b65aee3ace917be192d30a | |
f4114890 JB |
11 | URL: http://www.mega-nerd.com/libsndfile/tools/ |
12 | BuildRequires: cairo-devel >= 1.4.0 | |
13 | BuildRequires: fftw3-devel >= 0.15.0 | |
03e3d67b | 14 | BuildRequires: gcc >= 5:3.2 |
f4114890 JB |
15 | BuildRequires: gcc-fortran |
16 | BuildRequires: jack-audio-connection-kit-devel >= 0.100 | |
03e3d67b | 17 | BuildRequires: libsamplerate-devel >= 0.1.5 |
f4114890 JB |
18 | BuildRequires: libsndfile-devel >= 1.0.19 |
19 | BuildRequires: pkgconfig | |
03e3d67b JB |
20 | Requires: cairo >= 1.4.0 |
21 | Requires: fftw3 >= 0.15.0 | |
22 | Requires: jack-audio-connection-kit-libs >= 0.100 | |
23 | Requires: libsamplerate >= 0.1.5 | |
24 | Requires: libsndfile >= 1.0.19 | |
597a2691 JB |
25 | Provides: libsamplerate-tools |
26 | Obsoletes: libsamplerate-tools < 0.2 | |
f4114890 JB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Small collection of programs that use libsndfile and other libraries. | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Mały zestaw programów wykorzystujących libsndfile i inne biblioteki. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
03e3d67b JB |
39 | %configure \ |
40 | --disable-silent-rules | |
f4114890 JB |
41 | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
03e3d67b JB |
50 | # packaged as %doc |
51 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/sndfile-tools | |
52 | ||
f4114890 JB |
53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
03e3d67b | 58 | %doc AUTHORS ChangeLog NEWS README doc/* |
f4114890 | 59 | %attr(755,root,root) %{_bindir}/sndfile-generate-chirp |
f4114890 | 60 | %attr(755,root,root) %{_bindir}/sndfile-jackplay |
03e3d67b JB |
61 | %attr(755,root,root) %{_bindir}/sndfile-mix-to-mono |
62 | %attr(755,root,root) %{_bindir}/sndfile-resample | |
63 | %attr(755,root,root) %{_bindir}/sndfile-spectrogram | |
64 | %attr(755,root,root) %{_bindir}/sndfile-waveform | |
f4114890 | 65 | %{_mandir}/man1/sndfile-generate-chirp.1* |
f4114890 | 66 | %{_mandir}/man1/sndfile-jackplay.1* |
03e3d67b JB |
67 | %{_mandir}/man1/sndfile-mix-to-mono.1* |
68 | %{_mandir}/man1/sndfile-resample.1* | |
69 | %{_mandir}/man1/sndfile-spectrogram.1* |