]> git.pld-linux.org Git - packages/normalize.git/blob - normalize.spec
- updated to 0.7.2
[packages/normalize.git] / normalize.spec
1 Summary:        A WAV and MP3 file volume adjuster
2 Summary(pl):    Korektor poziomu g³o¶no¶ci w plikach WAV i MP3
3 Name:           normalize
4 Version:        0.7.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        http://www.cs.columbia.edu/~cvaill/normalize/%{name}-%{version}.tar.bz2
9 BuildRequires:  gettext-devel
10 BuildRequires:  mad-devel
11 BuildRequires:  xmms-devel
12 URL:            http://www.cs.columbia.edu/~cvaill/normalize/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define _libdir         %(xmms-config --effect-plugin-dir)
16 %define _xmmsprefix     /usr/X11R6
17
18 %description
19 Normalize is an overly complicated tool for adjusting the volume of
20 wave files to a standard level.  This is useful for things like
21 creating mixed CD's and mp3 collections, where different recording
22 levels on different albums can cause the volume to vary greatly from
23 song to song.
24 You can also adjust the volume of mp3 files without reencoding, but it
25 requires player with support for RVA2 (Relative Volume Adjustment)
26 ID3v2 frame. Plugin for xmms is available.
27
28 %description -l pl
29 Normalize jest narzêdziem do ustawiania poziomu g³o¶no¶ci w plikach
30 WAV przez dostosowanie go do standardowej warto¶ci. Jest to przydatne
31 w sytuacjach takich jak tworzenie sk³adankowych p³yt CD oraz zbiorów
32 MP3, gdzie ró¿ne poziomy nagrywania na ró¿nych albumach mog±
33 spowodowaæ, ¿e poziom g³o¶no¶ci ró¿ni siê do¶æ istotnie pomiêdzy
34 poszczególnymi utworami.
35 Jesli masz odtwarzacz mp3 korzystaj±cy z ramek RVA2 w tagach ID3v2, to
36 mo¿esz równie¿ normalizowaæ pliki mp3 bez konieczno¶ci ponownego
37 skompresowania pliku.
38
39 %package -n xmms-effect-rva
40 Summary:        RVA2 (Relative Volume Adjustment) ID3v2 frame support
41 Summary(pl):    Obs³uga ramek RVA2 tagów ID3v2
42 Group:          X11/Applications/Multimedia
43
44 %description -n xmms-effect-rva
45 Plugin for xmms that supports volume adjustment frames (RVA2 ID3v2
46 frames).
47
48 %description -n xmms-effect-rva -l pl
49 Plugin dla xmms-a zapewniaj±cy obs³ugê zawartych w pliku mp3
50 informacji o dostrojeniu g³o¶no¶ci (ramki RVA2 w tagach ID3v2).
51
52 %prep
53 %setup  -q
54
55 %build
56 %configure \
57         --with-mad \
58         --enable-xmms \
59         --with-xmms-prefix=%{_xmmsprefix} \
60         --without-audiofile \
61         --disable-audiofiletest
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} DESTDIR=$RPM_BUILD_ROOT install
69
70 mv -f $RPM_BUILD_ROOT%{_bindir}/normalize-mp3 .
71
72 gzip -9nf README NEWS TODO
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc *.gz normalize-mp3
82 %attr(755,root,root) %{_bindir}/normalize
83 %{_mandir}/man1/*
84
85 %files -n xmms-effect-rva
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/*.so
This page took 0.06866 seconds and 4 git commands to generate.