summaryrefslogtreecommitdiff
path: root/xmms-crossfade.spec
blob: 358cdc27e1b10a28eeb0251a2042a9f73fd511d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
#
# Conditional build:
%bcond_without	xmms		# without xmms plugin
%bcond_without	audacious	# without audacious plugin
#
Summary:	Plugin for Crossfading and Continuous Output
Summary(pl.UTF-8):	Wtyczka wyjściowa zapewniająca dźwięk bez przerw
Name:		xmms-crossfade
Version:	0.3.13
Release:	1
License:	GPL
Group:		X11/Applications/Sound
Source0:	http://www.eisenlohr.org/xmms-crossfade/%{name}-%{version}.tar.gz
# Source0-md5:	11a6a5456f83310fc4325806272db78b
Patch0:		%{name}-only-libs.patch
URL:		http://www.eisenlohr.org/xmms-crossfade/
BuildRequires:	audacious-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	gtk+-devel
BuildRequires:	gtk+2-devel
BuildRequires:	libtool
BuildRequires:	rpmbuild(macros) >= 1.125
%{?with_xmms:BuildRequires:	xmms-devel}
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)


%description
xmms-crossfade features:
- Crossfading: Crossfade between two songs, i.e. fade out the end of
  the current song while fading in the beginning of the next for a
  smooth transition. Length and volume of the fadings can be adjusted
  separately for fading in and out.
- Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of
  playback.
- Continuous output: Keeps the audio device opened when switching from
  one song to the next. When used with the Gap-Killer, this allows for
  seamless playback of whole albums without any audible interruption
  between the tracks.
- Gap-Killer: Removes the short gaps of silence at the beginning
  and/or end of MP3 files. These gaps are caused by some MP3-encoders.
- Automatic detection of live albums: Automatically detects live
  albums and pre-mixed tracks which already are crossfaded. For those
  tracks, crossfading can be disabled automatically.
- High quality: XMMS-crossfade can take special care to avoid the
  clicks some soundcards produce when suddenly being stopped. Also, it
  can improve quality when seeking within a song.
- Secondary effect plugin: XMMS-crossfade allows you to select a
  second effect plugin. This is useful for example when using the
  volume normalizing plugin together with the icecast plugin.

%description -l pl.UTF-8
Możliwości xmms-crossfade to:
- płynne przechodzenie między dwoma utworami
- płynne wchodzenie i wyciszanie na początku i końcu odtwarzania
- ciągłe odtwarzanie dźwięku, także przy przechodzeniu między
  utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia
  całego albumu bez żadnej słyszalnej przerwy
- Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików
  MP3 (spowodowane przez niektóre kodery)
- automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na
  których ścieżki już mają płynne przejścia - dla nich dodawanie
  płynnych przejść może być automatycznie wyłączane
- wysoka jakość - XMMS-crossfade stara się unikać trzasków
  występujących na niektórych kartach dźwiękowych przy zatrzymywaniu
  odtwarzania
- wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową
  wtyczkę, np. do normalizacji wraz z wtyczką icecast.

%package -n xmms-output-crossfade
Summary:	XMMS Plugin for Crossfading and Continuous Output
Summary(pl.UTF-8):	Wtyczka wyjściowa dla XMMS-a zapewniająca dźwięk bez przerw
Group:		X11/Applications/Sound
Requires:	xmms
Provides:	xmms-output-plugin

%description -n xmms-output-crossfade
xmms-output-crossfade features:
- Crossfading: Crossfade between two songs, i.e. fade out the end of
  the current song while fading in the beginning of the next for a
  smooth transition. Length and volume of the fadings can be adjusted
  separately for fading in and out.
- Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of
  playback.
- Continuous output: Keeps the audio device opened when switching from
  one song to the next. When used with the Gap-Killer, this allows for
  seamless playback of whole albums without any audible interruption
  between the tracks.
- Gap-Killer: Removes the short gaps of silence at the beginning
  and/or end of MP3 files. These gaps are caused by some MP3-encoders.
- Automatic detection of live albums: Automatically detects live
  albums and pre-mixed tracks which already are crossfaded. For those
  tracks, crossfading can be disabled automatically.
- High quality: XMMS-crossfade can take special care to avoid the
  clicks some soundcards produce when suddenly being stopped. Also, it
  can improve quality when seeking within a song.
- Secondary effect plugin: XMMS-crossfade allows you to select a
  second effect plugin. This is useful for example when using the
  volume normalizing plugin together with the icecast plugin.

%description -n xmms-output-crossfade -l pl.UTF-8
Możliwości xmms-output-crossfade to:
- płynne przechodzenie między dwoma utworami
- płynne wchodzenie i wyciszanie na początku i końcu odtwarzania
- ciągłe odtwarzanie dźwięku, także przy przechodzeniu między
  utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia
  całego albumu bez żadnej słyszalnej przerwy
- Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików
  MP3 (spowodowane przez niektóre kodery)
- automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na
  których ścieżki już mają płynne przejścia - dla nich dodawanie
  płynnych przejść może być automatycznie wyłączane
- wysoka jakość - XMMS-crossfade stara się unikać trzasków
  występujących na niektórych kartach dźwiękowych przy zatrzymywaniu
  odtwarzania
- wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową
  wtyczkę, np. do normalizacji wraz z wtyczką icecast.

%package -n audacious-output-crossfade
Summary:	Audacious Plugin for Crossfading and Continuous Output
Summary(pl.UTF-8):	Wtyczka wyjściowa dla Audacious zapewniająca dźwięk bez przerw
Group:		X11/Applications/Sound
Requires:	audacious
Provides:	audacious-output-plugin

%description -n audacious-output-crossfade
audacious-output-crossfade features:
- Crossfading: Crossfade between two songs, i.e. fade out the end of
  the current song while fading in the beginning of the next for a
  smooth transition. Length and volume of the fadings can be adjusted
  separately for fading in and out.
- Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of
  playback.
- Continuous output: Keeps the audio device opened when switching from
  one song to the next. When used with the Gap-Killer, this allows for
  seamless playback of whole albums without any audible interruption
  between the tracks.
- Gap-Killer: Removes the short gaps of silence at the beginning
  and/or end of MP3 files. These gaps are caused by some MP3-encoders.
- Automatic detection of live albums: Automatically detects live
  albums and pre-mixed tracks which already are crossfaded. For those
  tracks, crossfading can be disabled automatically.
- High quality: XMMS-crossfade can take special care to avoid the
  clicks some soundcards produce when suddenly being stopped. Also, it
  can improve quality when seeking within a song.
- Secondary effect plugin: XMMS-crossfade allows you to select a
  second effect plugin. This is useful for example when using the
  volume normalizing plugin together with the icecast plugin.

%description -n audacious-output-crossfade -l pl.UTF-8
Możliwości audacious-output-crossfade to:
- płynne przechodzenie między dwoma utworami
- płynne wchodzenie i wyciszanie na początku i końcu odtwarzania
- ciągłe odtwarzanie dźwięku, także przy przechodzeniu między
  utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia
  całego albumu bez żadnej słyszalnej przerwy
- Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików
  MP3 (spowodowane przez niektóre kodery)
- automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na
  których ścieżki już mają płynne przejścia - dla nich dodawanie
  płynnych przejść może być automatycznie wyłączane
- wysoka jakość - XMMS-crossfade stara się unikać trzasków
  występujących na niektórych kartach dźwiękowych przy zatrzymywaniu
  odtwarzania
- wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową
  wtyczkę, np. do normalizacji wraz z wtyczką icecast.

%prep
%setup -q
%patch0 -p1

mkdir audacious
cp -r * audacious/ || /bin/true

%build
%if %{with xmms}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}

%configure \
	--enable-player=xmms
%{__make}
%endif

%if %{with audacious}
cd audacious
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}

%configure \
	--enable-player=audacious
%{__make}
%endif

%install
rm -rf $RPM_BUILD_ROOT

%if %{with xmms}
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT
%endif

%if %{with audacious}
cd audacious
%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%if %{with xmms}
%files -n xmms-output-crossfade
%defattr(644,root,root,755)
%doc AUTHORS README ChangeLog
%attr(755,root,root) %{_libdir}/xmms
%endif

%if %{with audacious}
%files -n audacious-output-crossfade
%defattr(644,root,root,755)
%doc AUTHORS README ChangeLog
%attr(755,root,root) %{_libdir}/audacious
%endif