ABF is currently being migrated to new servers. Pull requests should be working.
avatar
Rosa has added f065cd0386
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libsamplerate-0.1.7.tar.gz": 98a52392eb97f9ba724ca024b3af29a8a0cc0206
view file @ f065cd0386
... ... --- /dev/null
... ... +++ b/libsamplerate.spec
... ... @@ -0,0 +1,256 @@
1
%define major 0
2
%define libname %mklibname samplerate %{major}
3
%define develname %mklibname samplerate -d
4
5
Summary:	Audio Sample Rate Converter library
6
Name:		libsamplerate
7
Version:	0.1.7
8
Release:	%mkrel 5
9
License:	GPLv2+
10
Group:		Sound
11
URL:		http://www.mega-nerd.com/SRC/index.html
12
Source0:	http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz
13
BuildRequires:	libsndfile-devel
14
BuildRequires:	fftw-devel >= 3
15
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
16
17
%description
18
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
19
audio. One example of where such a thing would be useful is
20
converting audio from the CD sample rate of 44.1kHz to the 48kHz
21
sample rate used by DAT players.
22
23
SRC is capable of arbitrary and time varying conversions ; from
24
downsampling by a factor of 12 to upsampling by the same
25
factor. Arbitrary in this case means that the ratio of input and
26
output sample rates can be an irrational number. The conversion ratio
27
can also vary with time for speeding up and slowing down effects.
28
29
SRC provides a small set of converters to allow quality to be traded
30
off against computation cost. The current best converter provides a
31
signal-to-noise ratio of 97dB with -3dB passband extending from DC to
32
96% of the theoretical best bandwidth for a given pair of input and
33
output sample rates.
34
35
%package -n %{libname}
36
Summary:	Audio Sample Rate Converter shared library
37
Group:		System/Libraries
38
39
%description -n	%{libname}
40
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
41
audio. One example of where such a thing would be useful is
42
converting audio from the CD sample rate of 44.1kHz to the 48kHz
43
sample rate used by DAT players.
44
45
SRC is capable of arbitrary and time varying conversions ; from
46
downsampling by a factor of 12 to upsampling by the same
47
factor. Arbitrary in this case means that the ratio of input and
48
output sample rates can be an irrational number. The conversion ratio
49
can also vary with time for speeding up and slowing down effects.
50
51
SRC provides a small set of converters to allow quality to be traded
52
off against computation cost. The current best converter provides a
53
signal-to-noise ratio of 97dB with -3dB passband extending from DC to
54
96% of the theoretical best bandwidth for a given pair of input and
55
output sample rates.
56
57
This package contains the shared library required for running programs
58
using %{name}.
59
60
%package -n %{develname}
61
Summary:	Audio Sample Rate Converter development files
62
Group:		Development/C
63
Requires:	%{libname} = %{version}-%{release}
64
Obsoletes:	%{libname}-devel < 0.1.4
65
Provides:	%{name}-devel = %{version}-%{release}
66
67
%description -n	%{develname}
68
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
69
audio. One example of where such a thing would be useful is
70
converting audio from the CD sample rate of 44.1kHz to the 48kHz
71
sample rate used by DAT players.
72
73
SRC is capable of arbitrary and time varying conversions ; from
74
downsampling by a factor of 12 to upsampling by the same
75
factor. Arbitrary in this case means that the ratio of input and
76
output sample rates can be an irrational number. The conversion ratio
77
can also vary with time for speeding up and slowing down effects.
78
79
SRC provides a small set of converters to allow quality to be traded
80
off against computation cost. The current best converter provides a
81
signal-to-noise ratio of 97dB with -3dB passband extending from DC to
82
96% of the theoretical best bandwidth for a given pair of input and
83
output sample rates.
84
85
This package contains the C headers and other files needed to compile
86
programs with %{name}.
87
88
%package progs
89
Summary:	Audio Sample Rate Converter
90
Group:		Sound
91
92
%description progs
93
Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
94
audio. One example of where such a thing would be useful is
95
converting audio from the CD sample rate of 44.1kHz to the 48kHz
96
sample rate used by DAT players.
97
98
SRC is capable of arbitrary and time varying conversions ; from
99
downsampling by a factor of 12 to upsampling by the same
100
factor. Arbitrary in this case means that the ratio of input and
101
output sample rates can be an irrational number. The conversion ratio
102
can also vary with time for speeding up and slowing down effects.
103
104
SRC provides a small set of converters to allow quality to be traded
105
off against computation cost. The current best converter provides a
106
signal-to-noise ratio of 97dB with -3dB passband extending from DC to
107
96% of the theoretical best bandwidth for a given pair of input and
108
output sample rates.
109
110
This package contains a command line utility based on %{name}.
111
112
%prep
113
%setup -qn %{name}-%{version}
114
115
%build
116
%configure2_5x
117
%make
118
119
%check
120
#gw one check fails in 0.1.7 on x86_64
121
#make check
122
123
%install
124
rm -rf %{buildroot}
125
%makeinstall_std
126
127
%clean
128
rm -rf %{buildroot}
129
130
%if %mdkversion < 200900
131
%post -n %{libname} -p /sbin/ldconfig
132
%endif
133
134
%if %mdkversion < 200900
135
%postun -n %{libname} -p /sbin/ldconfig
136
%endif
137
138
%files -n %{libname}
139
%defattr(-,root,root)
140
%{_libdir}/*.so.%{major}*
141
142
%files -n %{develname}
143
%defattr(-,root,root)
144
%doc doc/*
145
%{_libdir}/*.so
146
%{_libdir}/*a
147
%{_libdir}/pkgconfig/samplerate.pc
148
%{_includedir}/samplerate.h
149
150
%files progs
151
%defattr(-,root,root)
152
%doc AUTHORS ChangeLog
153
%{_bindir}/sndfile-resample
154
155
156
%changelog
157
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 0.1.7-5mdv2011.0
158
+ Revision: 661524
159
- mass rebuild
160
161
* Sun Nov 28 2010 Oden Eriksson <oeriksson@mandriva.com> 0.1.7-4mdv2011.0
162
+ Revision: 602604
163
- rebuild
164
165
* Tue Mar 16 2010 Oden Eriksson <oeriksson@mandriva.com> 0.1.7-3mdv2010.1
166
+ Revision: 520903
167
- rebuilt for 2010.1
168
169
* Wed Sep 02 2009 Christophe Fergeau <cfergeau@mandriva.com> 0.1.7-2mdv2010.0
170
+ Revision: 425704
171
- rebuild
172
173
* Mon Feb 16 2009 Götz Waschk <waschk@mandriva.org> 0.1.7-1mdv2009.1
174
+ Revision: 340736
175
- disable checks
176
- update to new version 0.1.7
177
178
* Tue Jan 27 2009 Götz Waschk <waschk@mandriva.org> 0.1.6-1mdv2009.1
179
+ Revision: 334158
180
- new version
181
- drop patch
182
183
* Mon Jan 12 2009 Götz Waschk <waschk@mandriva.org> 0.1.5-1mdv2009.1
184
+ Revision: 328508
185
- fix checks
186
- update to new version 0.1.5
187
188
* Sun Jul 06 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.4-1mdv2009.0
189
+ Revision: 232077
190
- update to new version 0.1.4
191
192
  + Pixel <pixel@mandriva.com>
193
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
194
195
* Thu Apr 17 2008 Oden Eriksson <oeriksson@mandriva.com> 0.1.3-1mdv2009.0
196
+ Revision: 195270
197
- 0.1.3
198
199
* Thu Feb 21 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.3-0.pre6.3mdv2008.1
200
+ Revision: 173759
201
- new license policy
202
- rebuild against libsndfile
203
204
  + Olivier Blin <oblin@mandriva.com>
205
    - restore BuildRoot
206
207
  + Thierry Vignaud <tv@mandriva.org>
208
    - kill re-definition of %%buildroot on Pixel's request
209
210
* Tue Oct 02 2007 Funda Wang <fwang@mandriva.org> 0.1.3-0.pre6.2mdv2008.0
211
+ Revision: 94725
212
- fix provides
213
214
* Fri Jul 20 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.3-0.pre6.1mdv2008.0
215
+ Revision: 53953
216
- new prerelease
217
218
* Tue Jun 26 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.3-0.pre5.2mdv2008.0
219
+ Revision: 44720
220
- adjust provides
221
222
* Sat Jun 23 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.1.3-0.pre5.1mdv2008.0
223
+ Revision: 43354
224
- new version (prerelease)
225
- new devel library policy
226
- spec file clean
227
228
229
* Wed Nov 29 2006 Götz Waschk <waschk@mandriva.org> 0.1.2-3mdv2007.0
230
+ Revision: 88780
231
- Import libsamplerate
232
233
* Wed Nov 29 2006 Gtz Waschk <waschk@mandriva.org> 0.1.2-3mdv2007.1
234
- add check section
235
236
* Mon Nov 28 2005 Götz Waschk <waschk@mandriva.org> 0.1.2-2mdk
237
- yearly rebuild
238
239
* Tue Nov 09 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.1.2-1mdk
240
- New release 0.1.2
241
242
* Tue Jul 20 2004 Gtz Waschk <waschk@linux-mandrake.com> 0.1.1-1mdk
243
- reenable unit-at-a-time
244
- New release 0.1.1
245
246
* Tue Jun 15 2004 Gtz Waschk <waschk@linux-mandrake.com> 0.1.0-2mdk
247
- fix buildrequires
248
- lower optflags
249
- reenable libtoolize
250
251
* Fri May 07 2004 Gtz Waschk <waschk@linux-mandrake.com> 0.1.0-1mdk
252
- don't libtoolize
253
- drop prefix
254
- add source URL
255
- new version
256

Comments