]> git.pld-linux.org Git - packages/xmms-crossfade.git/blob - xmms-crossfade.spec
8338b192606d9eaffdd5442c877f62981e5e27fd
[packages/xmms-crossfade.git] / xmms-crossfade.spec
1 #
2 # Conditional build:
3 %bcond_without  audacious       # without audacious plugin
4 %bcond_without  xmms            # without xmms plugin
5 #
6 Summary:        Plugin for Crossfading and Continuous Output
7 Summary(pl.UTF-8):      Wtyczka wyjściowa zapewniająca dźwięk bez przerw
8 Name:           xmms-crossfade
9 Version:        0.3.14
10 Release:        1
11 License:        GPL v2+
12 Group:          X11/Applications/Sound
13 Source0:        http://www.eisenlohr.org/xmms-crossfade/%{name}-%{version}.tar.gz
14 # Source0-md5:  026c52544c7f3193d384288c9f8296aa
15 Patch0:         %{name}-only-libs.patch
16 URL:            http://www.eisenlohr.org/xmms-crossfade/
17 %{?with_audacious:BuildRequires:        audacious-devel >= 1.4.2}
18 BuildRequires:  autoconf >= 2.53
19 BuildRequires:  automake
20 BuildRequires:  gtk+-devel
21 BuildRequires:  gtk+2-devel
22 BuildRequires:  libsamplerate-devel
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.125
26 %{?with_xmms:BuildRequires:     xmms-devel}
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 xmms-crossfade features:
31 - Crossfading: Crossfade between two songs, i.e. fade out the end of
32   the current song while fading in the beginning of the next for a
33   smooth transition. Length and volume of the fadings can be adjusted
34   separately for fading in and out.
35 - Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of
36   playback.
37 - Continuous output: Keeps the audio device opened when switching from
38   one song to the next. When used with the Gap-Killer, this allows for
39   seamless playback of whole albums without any audible interruption
40   between the tracks.
41 - Gap-Killer: Removes the short gaps of silence at the beginning
42   and/or end of MP3 files. These gaps are caused by some MP3-encoders.
43 - Automatic detection of live albums: Automatically detects live
44   albums and pre-mixed tracks which already are crossfaded. For those
45   tracks, crossfading can be disabled automatically.
46 - High quality: XMMS-crossfade can take special care to avoid the
47   clicks some soundcards produce when suddenly being stopped. Also, it
48   can improve quality when seeking within a song.
49 - Secondary effect plugin: XMMS-crossfade allows you to select a
50   second effect plugin. This is useful for example when using the
51   volume normalizing plugin together with the icecast plugin.
52
53 %description -l pl.UTF-8
54 Możliwości xmms-crossfade to:
55 - płynne przechodzenie między dwoma utworami
56 - płynne wchodzenie i wyciszanie na początku i końcu odtwarzania
57 - ciągłe odtwarzanie dźwięku, także przy przechodzeniu między
58   utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia
59   całego albumu bez żadnej słyszalnej przerwy
60 - Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików
61   MP3 (spowodowane przez niektóre kodery)
62 - automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na
63   których ścieżki już mają płynne przejścia - dla nich dodawanie
64   płynnych przejść może być automatycznie wyłączane
65 - wysoka jakość - XMMS-crossfade stara się unikać trzasków
66   występujących na niektórych kartach dźwiękowych przy zatrzymywaniu
67   odtwarzania
68 - wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową
69   wtyczkę, np. do normalizacji wraz z wtyczką icecast.
70
71 %package -n xmms-output-crossfade
72 Summary:        XMMS Plugin for Crossfading and Continuous Output
73 Summary(pl.UTF-8):      Wtyczka wyjściowa dla XMMS-a zapewniająca dźwięk bez przerw
74 Group:          X11/Applications/Sound
75 Requires:       xmms
76 Provides:       xmms-output-plugin
77
78 %description -n xmms-output-crossfade
79 xmms-output-crossfade features:
80 - Crossfading: Crossfade between two songs, i.e. fade out the end of
81   the current song while fading in the beginning of the next for a
82   smooth transition. Length and volume of the fadings can be adjusted
83   separately for fading in and out.
84 - Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of
85   playback.
86 - Continuous output: Keeps the audio device opened when switching from
87   one song to the next. When used with the Gap-Killer, this allows for
88   seamless playback of whole albums without any audible interruption
89   between the tracks.
90 - Gap-Killer: Removes the short gaps of silence at the beginning
91   and/or end of MP3 files. These gaps are caused by some MP3-encoders.
92 - Automatic detection of live albums: Automatically detects live
93   albums and pre-mixed tracks which already are crossfaded. For those
94   tracks, crossfading can be disabled automatically.
95 - High quality: XMMS-crossfade can take special care to avoid the
96   clicks some soundcards produce when suddenly being stopped. Also, it
97   can improve quality when seeking within a song.
98 - Secondary effect plugin: XMMS-crossfade allows you to select a
99   second effect plugin. This is useful for example when using the
100   volume normalizing plugin together with the icecast plugin.
101
102 %description -n xmms-output-crossfade -l pl.UTF-8
103 Możliwości xmms-output-crossfade to:
104 - płynne przechodzenie między dwoma utworami
105 - płynne wchodzenie i wyciszanie na początku i końcu odtwarzania
106 - ciągłe odtwarzanie dźwięku, także przy przechodzeniu między
107   utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia
108   całego albumu bez żadnej słyszalnej przerwy
109 - Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików
110   MP3 (spowodowane przez niektóre kodery)
111 - automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na
112   których ścieżki już mają płynne przejścia - dla nich dodawanie
113   płynnych przejść może być automatycznie wyłączane
114 - wysoka jakość - XMMS-crossfade stara się unikać trzasków
115   występujących na niektórych kartach dźwiękowych przy zatrzymywaniu
116   odtwarzania
117 - wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową
118   wtyczkę, np. do normalizacji wraz z wtyczką icecast.
119
120 %package -n audacious-output-crossfade
121 Summary:        Audacious Plugin for Crossfading and Continuous Output
122 Summary(pl.UTF-8):      Wtyczka wyjściowa dla Audacious zapewniająca dźwięk bez przerw
123 Group:          X11/Applications/Sound
124 Requires:       audacious
125 Provides:       audacious-output-plugin
126
127 %description -n audacious-output-crossfade
128 audacious-output-crossfade features:
129 - Crossfading: Crossfade between two songs, i.e. fade out the end of
130   the current song while fading in the beginning of the next for a
131   smooth transition. Length and volume of the fadings can be adjusted
132   separately for fading in and out.
133 - Fadein/Fadeout: Smoothly fadein/fadeout at the beginning or end of
134   playback.
135 - Continuous output: Keeps the audio device opened when switching from
136   one song to the next. When used with the Gap-Killer, this allows for
137   seamless playback of whole albums without any audible interruption
138   between the tracks.
139 - Gap-Killer: Removes the short gaps of silence at the beginning
140   and/or end of MP3 files. These gaps are caused by some MP3-encoders.
141 - Automatic detection of live albums: Automatically detects live
142   albums and pre-mixed tracks which already are crossfaded. For those
143   tracks, crossfading can be disabled automatically.
144 - High quality: XMMS-crossfade can take special care to avoid the
145   clicks some soundcards produce when suddenly being stopped. Also, it
146   can improve quality when seeking within a song.
147 - Secondary effect plugin: XMMS-crossfade allows you to select a
148   second effect plugin. This is useful for example when using the
149   volume normalizing plugin together with the icecast plugin.
150
151 %description -n audacious-output-crossfade -l pl.UTF-8
152 Możliwości audacious-output-crossfade to:
153 - płynne przechodzenie między dwoma utworami
154 - płynne wchodzenie i wyciszanie na początku i końcu odtwarzania
155 - ciągłe odtwarzanie dźwięku, także przy przechodzeniu między
156   utworami; w połączeniu z Gap-Killerem daje to możliwość odtworzenia
157   całego albumu bez żadnej słyszalnej przerwy
158 - Gap-Killer - usuwający fragmenty ciszy na początku i końcu plików
159   MP3 (spowodowane przez niektóre kodery)
160 - automatyczne wykrywanie albumów koncertowych i pre-miksowanych, na
161   których ścieżki już mają płynne przejścia - dla nich dodawanie
162   płynnych przejść może być automatycznie wyłączane
163 - wysoka jakość - XMMS-crossfade stara się unikać trzasków
164   występujących na niektórych kartach dźwiękowych przy zatrzymywaniu
165   odtwarzania
166 - wtyczka dodatkowego efektu: XMMS-crossfade pozwala wybrać dodatkową
167   wtyczkę, np. do normalizacji wraz z wtyczką icecast.
168
169 %prep
170 %setup -q
171 %patch0 -p1
172
173 %build
174 %{__libtoolize}
175 %{__aclocal}
176 %{__autoconf}
177 %{__automake}
178
179 %if %{with xmms}
180 mkdir -p xmms
181 cd xmms
182 ../%configure \
183         --enable-player=xmms
184 %{__make}
185 cd ..
186 %endif
187
188 %if %{with audacious}
189 mkdir -p audacious
190 cd audacious
191 ../%configure \
192         --enable-player=audacious
193 %{__make}
194 %endif
195
196 %install
197 rm -rf $RPM_BUILD_ROOT
198
199 %if %{with xmms}
200 %{__make} -C xmms install \
201         DESTDIR=$RPM_BUILD_ROOT
202
203 rm -f $RPM_BUILD_ROOT%{_libdir}/xmms/Output/libcrossfade.la
204 %endif
205
206 %if %{with audacious}
207 %{__make} -C audacious install \
208         DESTDIR=$RPM_BUILD_ROOT
209
210 rm -f $RPM_BUILD_ROOT%{_libdir}/audacious/Output/libcrossfade.la
211 %endif
212
213 %clean
214 rm -rf $RPM_BUILD_ROOT
215
216 %if %{with xmms}
217 %files -n xmms-output-crossfade
218 %defattr(644,root,root,755)
219 %doc AUTHORS README ChangeLog
220 %attr(755,root,root) %{_libdir}/xmms/Output/libcrossfade.so
221 %endif
222
223 %if %{with audacious}
224 %files -n audacious-output-crossfade
225 %defattr(644,root,root,755)
226 %doc AUTHORS README ChangeLog
227 %attr(755,root,root) %{_libdir}/audacious/Output/libcrossfade.so
228 %endif
This page took 0.075375 seconds and 2 git commands to generate.