]>
Commit | Line | Data |
---|---|---|
e291abb8 | 1 | Summary: An audio time-stretching and pitch-shifting library and utility program |
50242447 | 2 | Summary(pl.UTF-8): Biblioteka i narzędzie do rozciagania i harmonizowania dźwięku |
e291abb8 | 3 | Name: rubberband |
50242447 LG |
4 | Version: 1.8.1 |
5 | Release: 1 | |
e291abb8 SS |
6 | License: GPL v2 |
7 | Group: Applications/Sound | |
50242447 LG |
8 | Source0: http://code.breakfastquay.com/attachments/download/34/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 6c2b4e18a714bcc297d0db81a10f9348 | |
e291abb8 SS |
10 | URL: http://www.breakfastquay.com/rubberband/ |
11 | BuildRequires: fftw3-devel | |
12 | BuildRequires: ladspa-devel | |
346f97e8 | 13 | BuildRequires: libsamplerate-devel |
e291abb8 | 14 | BuildRequires: libsndfile-devel |
346f97e8 | 15 | BuildRequires: libstdc++-devel |
e291abb8 SS |
16 | BuildRequires: pkg-config |
17 | BuildRequires: vamp-devel | |
18 | Requires: %{name}-libs = %{version}-%{release} | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Rubber Band is a library and utility program that permits you to | |
23 | change the tempo and pitch of an audio recording independently of one | |
24 | another. | |
25 | ||
50242447 LG |
26 | %description -l pl.UTF-8 |
27 | Rubber Band to biblioteka i program narzędziowy, który pozwala ci na | |
28 | zmianę tempa i wysokości tonu nagrywanego dźwięku niezaleźnie od | |
29 | innego. | |
30 | ||
e291abb8 SS |
31 | %package libs |
32 | Summary: rubberband library | |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki rubberband | |
34 | Group: Libraries | |
e291abb8 SS |
35 | |
36 | %description libs | |
37 | rubberband library. | |
38 | ||
39 | %description libs -l pl.UTF-8 | |
40 | Biblioteka rubberband. | |
41 | ||
42 | %package devel | |
43 | Summary: Header files for rubberband library | |
44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki rubberband | |
45 | Group: Development/Libraries | |
46 | Requires: %{name}-libs = %{version}-%{release} | |
47 | ||
48 | %description devel | |
49 | Header files for rubberband library. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki nagłówkowe biblioteki rubberband. | |
53 | ||
54 | %package static | |
55 | Summary: Static rubberband library | |
56 | Summary(pl.UTF-8): Statyczna biblioteka rubberband | |
57 | Group: Development/Libraries | |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Static rubberband library. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Statyczna biblioteka rubberband. | |
65 | ||
66 | %package -n ladspa-rubberband-plugins | |
67 | Summary: rubberband ladspa plugin | |
68 | Group: Applications/Sound | |
69 | ||
70 | %description -n ladspa-rubberband-plugins | |
71 | rubberband ladspa plugin. | |
72 | ||
73 | %package -n vamp-plugins-rubberband | |
74 | Summary: rubberband vamp plugin | |
75 | Group: Applications/Sound | |
76 | ||
77 | %description -n vamp-plugins-rubberband | |
78 | rubberband vamp plugin. | |
79 | ||
80 | %prep | |
81 | %setup -q | |
82 | ||
83 | %build | |
84 | %configure | |
346f97e8 | 85 | %{__make} \ |
86 | INSTALL_LIBDIR="%{_libdir}" \ | |
87 | INSTALL_VAMPDIR="%{_libdir}/vamp" \ | |
88 | INSTALL_LADSPADIR="%{_libdir}/ladspa" | |
e291abb8 SS |
89 | |
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %{__make} install \ | |
346f97e8 | 94 | DESTDIR=$RPM_BUILD_ROOT \ |
95 | INSTALL_LIBDIR="%{_libdir}" \ | |
96 | INSTALL_VAMPDIR="%{_libdir}/vamp" \ | |
97 | INSTALL_LADSPADIR="%{_libdir}/ladspa" \ | |
98 | INSTALL_PKGDIR="%{_pkgconfigdir}" | |
e291abb8 SS |
99 | |
100 | %clean | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %post libs -p /sbin/ldconfig | |
104 | %postun libs -p /sbin/ldconfig | |
105 | ||
106 | %files | |
107 | %defattr(644,root,root,755) | |
108 | %doc CHANGELOG README.txt | |
346f97e8 | 109 | %attr(755,root,root) %{_bindir}/rubberband |
e291abb8 SS |
110 | |
111 | %files libs | |
112 | %defattr(644,root,root,755) | |
113 | %attr(755,root,root) %{_libdir}/librubberband.so.*.*.* | |
5abf6277 | 114 | %attr(755,root,root) %ghost %{_libdir}/librubberband.so.2 |
e291abb8 SS |
115 | |
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
346f97e8 | 118 | %attr(755,root,root) %{_libdir}/librubberband.so |
e291abb8 SS |
119 | %{_includedir}/%{name} |
120 | %{_pkgconfigdir}/rubberband.pc | |
121 | ||
122 | %files static | |
123 | %defattr(644,root,root,755) | |
346f97e8 | 124 | %{_libdir}/librubberband.a |
e291abb8 SS |
125 | |
126 | %files -n ladspa-rubberband-plugins | |
127 | %defattr(644,root,root,755) | |
346f97e8 | 128 | %attr(755,root,root) %{_libdir}/ladspa/ladspa-rubberband.so |
e291abb8 | 129 | %{_libdir}/ladspa/ladspa-rubberband.cat |
e291abb8 SS |
130 | %{_datadir}/ladspa/rdf/ladspa-rubberband.rdf |
131 | ||
132 | %files -n vamp-plugins-rubberband | |
133 | %defattr(644,root,root,755) | |
346f97e8 | 134 | %attr(755,root,root) %{_libdir}/vamp/vamp-rubberband.so |
e291abb8 | 135 | %{_libdir}/vamp/vamp-rubberband.cat |