From: Jakub Bogusz Date: Mon, 6 Sep 2004 22:42:04 +0000 (+0000) Subject: - new X-Git-Tag: auto/ac/aqualung-0_9-0_beta2_1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Faqualung.git;a=commitdiff_plain;h=e9eaaf1cebb9354b22dd9d356ffaf27b250e8bd0 - new Changed files: aqualung.spec -> 1.1 --- e9eaaf1cebb9354b22dd9d356ffaf27b250e8bd0 diff --git a/aqualung.spec b/aqualung.spec new file mode 100644 index 0000000..ca68acf --- /dev/null +++ b/aqualung.spec @@ -0,0 +1,70 @@ +# +# Conditional build: +%bcond_without alsa # without ALSA support +# +Summary: Aqualung - music player for Linux +Summary(pl): Aqualung - odtwarzacz muzyki dla Linuksa +Name: aqualung +Version: 0.9 +%define bver beta2 +Release: 0.%{bver}.1 +License: GPL +Group: X11/Applications/Sound +Source0: http://dl.sourceforge.net/aqualung/%{name}-%{version}%{bver}.tar.gz +# Source0-md5: 52f28c7fa7ea9fc1fd9317985575055d +URL: http://aqualung.sourceforge.net/ +%{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9} +BuildRequires: autoconf >= 2.50 +BuildRequires: automake +BuildRequires: flac-devel +BuildRequires: gtk+2-devel >= 2.0.0 +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: liblrdf-devel >= 0.3.7 +BuildRequires: libmad-devel +BuildRequires: libmodplug-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: libvorbis-devel +BuildRequires: libxml2-devel >= 2.0.0 +BuildRequires: pkgconfig +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Aqualung is a new music player for the GNU/Linux operating system. It +plays audio files from your filesystem and has the feature of +inserting no gaps between adjacent tracks. + +%description -l pl +Aqualung to nowy odtwarzacz muzyki dla systemu operacyjnego GNU/Linux. +Odtwarza pliki d¼wiêkowe z systemu plików i ma mo¿liwo¶æ nie +wstawiania przerw miêdzy ¶cie¿kami. + +%prep +%setup -q -n %{name}-%{version}%{bver} + +%{__perl} -pi -e 's/CFLAGS="-O3/CFLAGS="\$CFLAGS/' configure.ac + +%build +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + %{!?with_alsa:--without-alsa} +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name} +%{_mandir}/man1/*.1*