]> git.pld-linux.org Git - packages/normalize.git/blame - normalize.spec
- updated gettext BR
[packages/normalize.git] / normalize.spec
CommitLineData
6080029d 1#
2# Conditional build:
3%bcond_without xmms # disable XMMS support
688273db 4#
e46e4c27 5Summary: A WAV and MP3 file volume adjuster
f39daff0 6Summary(pl.UTF-8): Korektor poziomu głośności w plikach WAV i MP3
3b5c1fd1 7Name: normalize
37a925ed 8Version: 0.7.7
9Release: 1
688273db 10License: GPL v2+
3b5c1fd1 11Group: Applications/Sound
37a925ed 12Source0: http://savannah.nongnu.org/download/normalize/%{name}-%{version}.tar.bz2
13# Source0-md5: 1749b16fc7a08aa5d0cf9f76eeaa8436
14URL: http://normalize.nongnu.org/
74e649ed 15BuildRequires: automake
91f66c4a 16BuildRequires: gettext-tools
0c439dc8 17BuildRequires: libmad-devel
8a786f99 18BuildRequires: rpmbuild(macros) >= 1.125
688273db 19%{?with_xmms:BuildRequires: xmms-devel >= 1.0.0}
3b5c1fd1
SZ
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
e46e4c27 23Normalize is an overly complicated tool for adjusting the volume of
24wave files to a standard level. This is useful for things like
571e6a3d 25creating mixed CD's and MP3 collections, where different recording
e46e4c27 26levels on different albums can cause the volume to vary greatly from
27song to song.
74e649ed 28
571e6a3d 29You can also adjust the volume of MP3 files without reencoding, but it
e46e4c27 30requires player with support for RVA2 (Relative Volume Adjustment)
cd127534 31ID3v2 frame. Plugin for XMMS is available.
3b5c1fd1 32
e7dae7e9
JR
33%description -l pl.UTF-8
34Normalize jest narzędziem do ustawiania poziomu głośności w plikach
35WAV przez dostosowanie go do standardowej wartości. Jest to przydatne
36w sytuacjach takich jak tworzenie składankowych płyt CD oraz zbiorów
37MP3, gdzie różne poziomy nagrywania na różnych albumach mogą
38spowodować, że poziom głośności różni się dość istotnie pomiędzy
39poszczególnymi utworami.
74e649ed 40
e7dae7e9
JR
41Jeśli mamy odtwarzacz MP3 korzystający z ramek RVA2 w znacznikach
42ID3v2, to możemy również normalizować pliki MP3 bez konieczności
74e649ed 43ponownego kompresowania pliku.
e46e4c27 44
45%package -n xmms-effect-rva
74e649ed 46Summary: RVA2 (Relative Volume Adjustment) ID3v2 frame support
f39daff0 47Summary(pl.UTF-8): Obsługa ramek RVA2 znaczników ID3v2
f741d3b0 48Group: X11/Applications/Sound
688273db 49Requires: xmms >= 1.0.0
e46e4c27 50
51%description -n xmms-effect-rva
cd127534 52Plugin for XMMS that supports volume adjustment frames (RVA2 ID3v2
e46e4c27 53frames).
54
e7dae7e9
JR
55%description -n xmms-effect-rva -l pl.UTF-8
56Wtyczka dla XMMS-a zapewniająca obsługę zawartych w pliku MP3
57informacji o dostrojeniu głośności (ramek RVA2 w znacznikach ID3v2).
3b5c1fd1
SZ
58
59%prep
60%setup -q
3b5c1fd1
SZ
61
62%build
74e649ed 63cp -f /usr/share/automake/config.sub config
ed0fe930 64
e46e4c27 65%configure \
66 --with-mad \
be0d7b24 67 %{!?with_xmms:--disable-xmms} \
cd8280a6 68 --with-xmms-prefix=%{xmms_prefix} \
e46e4c27 69 --without-audiofile \
70 --disable-audiofiletest
3b5c1fd1
SZ
71
72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
cd8280a6 77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
c3f24890 79
688273db
JB
80%if %{with xmms}
81rm -f $RPM_BUILD_ROOT%{xmms_effect_plugindir}/*.la
82%endif
3b5c1fd1 83
3b5c1fd1
SZ
84%find_lang %{name}
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%files -f %{name}.lang
90%defattr(644,root,root,755)
688273db 91%doc README NEWS TODO
fa0187d9 92%attr(755,root,root) %{_bindir}/normalize
688273db
JB
93%attr(755,root,root) %{_bindir}/normalize-mp3
94%attr(755,root,root) %{_bindir}/normalize-ogg
95%{_mandir}/man1/normalize.1*
96%{_mandir}/man1/normalize-mp3.1*
e46e4c27 97
6080029d 98%if %{with xmms}
e46e4c27 99%files -n xmms-effect-rva
100%defattr(644,root,root,755)
688273db 101%attr(755,root,root) %{xmms_effect_plugindir}/librva.so
6080029d 102%endif
This page took 0.07561 seconds and 4 git commands to generate.