]>
Commit | Line | Data |
---|---|---|
e9eaaf1c JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without alsa # without ALSA support | |
4 | # | |
e4e05318 | 5 | %define _beta beta10 |
835f88f5 | 6 | %define _rel 1 |
e9eaaf1c | 7 | Summary: Aqualung - music player for Linux |
f18ae38a | 8 | Summary(pl.UTF-8): Aqualung - odtwarzacz muzyki dla Linuksa |
e9eaaf1c JB |
9 | Name: aqualung |
10 | Version: 0.9 | |
835f88f5 | 11 | Release: 0.%{_beta}.%{_rel} |
e9eaaf1c JB |
12 | License: GPL |
13 | Group: X11/Applications/Sound | |
835f88f5 | 14 | Source0: http://dl.sourceforge.net/aqualung/%{name}-%{version}%{_beta}.tar.gz |
e4e05318 | 15 | # Source0-md5: 29ce07b74527e6e44f0c4c778ac85f40 |
e9eaaf1c JB |
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 | |
16af8a34 | 21 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
e9eaaf1c JB |
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 | |
68b441df | 30 | BuildRequires: perl-base |
e9eaaf1c JB |
31 | BuildRequires: pkgconfig |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
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. | |
38 | ||
6cae420a | 39 | %description -l pl.UTF-8 |
e9eaaf1c | 40 | Aqualung to nowy odtwarzacz muzyki dla systemu operacyjnego GNU/Linux. |
6cae420a JR |
41 | Odtwarza pliki dźwiękowe z systemu plików i ma możliwość nie |
42 | wstawiania przerw między ścieżkami. | |
e9eaaf1c JB |
43 | |
44 | %prep | |
835f88f5 | 45 | %setup -q -n %{name}-%{version}%{_beta} |
e9eaaf1c JB |
46 | |
47 | %{__perl} -pi -e 's/CFLAGS="-O3/CFLAGS="\$CFLAGS/' configure.ac | |
48 | ||
49 | %build | |
50 | %{__aclocal} | |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
54 | %configure \ | |
55 | %{!?with_alsa:--without-alsa} | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
e4e05318 | 63 | %find_lang %{name} |
e9eaaf1c JB |
64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
e4e05318 | 68 | %files -f %{name}.lang |
e9eaaf1c JB |
69 | %defattr(644,root,root,755) |
70 | %doc AUTHORS ChangeLog README | |
71 | %attr(755,root,root) %{_bindir}/* | |
72 | %{_datadir}/%{name} | |
73 | %{_mandir}/man1/*.1* |