]> git.pld-linux.org Git - packages/aqualung.git/blob - aqualung.spec
- beta10
[packages/aqualung.git] / aqualung.spec
1 #
2 # Conditional build:
3 %bcond_without  alsa    # without ALSA support
4 #
5 %define _beta   beta10
6 %define _rel    1
7 Summary:        Aqualung - music player for Linux
8 Summary(pl.UTF-8):      Aqualung - odtwarzacz muzyki dla Linuksa
9 Name:           aqualung
10 Version:        0.9
11 Release:        0.%{_beta}.%{_rel}
12 License:        GPL
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)
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
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.
43
44 %prep
45 %setup -q -n %{name}-%{version}%{_beta}
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
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog README
71 %attr(755,root,root) %{_bindir}/*
72 %{_datadir}/%{name}
73 %{_mandir}/man1/*.1*
This page took 0.075099 seconds and 3 git commands to generate.