1 |
Name: vorbisgain |
2 |
Version: 0.37 |
3 |
Release: %mkrel 15 |
4 |
Summary: Adds tags to Ogg Vorbis files to adjust the volume |
5 |
License: GPLv2 |
6 |
Group: Sound/Utilities |
7 |
URL: https://sjeng.sourceforge.net/vorbisgain.html |
8 |
|
9 |
# https://sjeng.org/ftp/vorbis/vorbisgain-0.32.zip |
10 |
Source0: https://sjeng.org/ftp/vorbis/%name-%version.tar.bz2 |
11 |
Patch1: %name-patch-configure.bz2 |
12 |
Patch2: %name-fix-str-fmt.patch |
13 |
BuildRequires: oggvorbis-devel |
14 |
BuildRequires: pkgconfig(ogg) |
15 |
|
16 |
|
17 |
%description |
18 |
VorbisGain is a utility that uses a psycho-acoustic method to correct the |
19 |
volume of an Ogg Vorbis file to a predefined standardized loudness. |
20 |
|
21 |
It is meant as a replacement for the normalization that is commonly used |
22 |
before encoding. Although normalization will ensure that each song has |
23 |
the same peak volume, this unfortunately does not say anything about the |
24 |
apparent loudness of the music, with the end result being that many |
25 |
normalized files still don't sound equally loud. VorbisGain uses |
26 |
psycho-acoustics to address this deficiency. Moreover, unlike |
27 |
normalization, it's a loss-less procedure which works by adding tags to |
28 |
the file. Additionally, it will add hints that can be used to prevent |
29 |
clipping on playback. It is based upon the ReplayGain technology. |
30 |
|
31 |
The end result is that the file ends up with superior playback quality |
32 |
compared to a non-VorbisGain'ed file. |
33 |
|
34 |
It needs player support to work. Non-supporting players will play back |
35 |
the files without problems, but you'll miss out on the benefits. |
36 |
Nowadays most good players such as ogg123 and mplayer are already |
37 |
compatible. xmms will support this feature from release 1.2.8. |
38 |
|
39 |
|
40 |
%prep |
41 |
%setup -q |
42 |
%patch1 |
43 |
%patch2 -p0 |
44 |
|
45 |
%build |
46 |
%__chmod 755 configure |
47 |
%configure --enable-recursive |
48 |
%make_build |
49 |
|
50 |
%install |
51 |
%make_install |
52 |
|
53 |
%files |
54 |
%_bindir/* |
55 |
%doc NEWS README |
56 |
%_mandir/man1/*1* |