3 %bcond_without alsa # without ALSA support
7 Summary: Aqualung - music player for Linux
8 Summary(pl.UTF-8): Aqualung - odtwarzacz muzyki dla Linuksa
11 Release: 0.%{_beta}.%{_rel}
13 Group: X11/Applications/Sound
14 Source0: http://dl.sourceforge.net/aqualung/%{name}-%{version}%{_beta}.tar.gz
15 # Source0-md5: 29ce07b74527e6e44f0c4c778ac85f40
16 URL: http://aqualung.sourceforge.net/
17 %{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9}
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake
20 BuildRequires: flac-devel
21 BuildRequires: gtk+2-devel >= 1:2.0.0
22 BuildRequires: jack-audio-connection-kit-devel
23 BuildRequires: liblrdf-devel >= 0.3.7
24 BuildRequires: libmad-devel
25 BuildRequires: libmodplug-devel
26 BuildRequires: libsamplerate-devel
27 BuildRequires: libsndfile-devel
28 BuildRequires: libvorbis-devel
29 BuildRequires: libxml2-devel >= 2.0.0
30 BuildRequires: perl-base
31 BuildRequires: pkgconfig
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Aqualung is a new music player for the GNU/Linux operating system. It
36 plays audio files from your filesystem and has the feature of
37 inserting no gaps between adjacent tracks.
39 %description -l pl.UTF-8
40 Aqualung to nowy odtwarzacz muzyki dla systemu operacyjnego GNU/Linux.
41 Odtwarza pliki dźwiękowe z systemu plików i ma możliwość nie
42 wstawiania przerw między ścieżkami.
45 %setup -q -n %{name}-%{version}%{_beta}
47 %{__perl} -pi -e 's/CFLAGS="-O3/CFLAGS="\$CFLAGS/' configure.ac
55 %{!?with_alsa:--without-alsa}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT
66 rm -rf $RPM_BUILD_ROOT
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog README
71 %attr(755,root,root) %{_bindir}/*