]> git.pld-linux.org Git - packages/cmus.git/blobdiff - cmus.spec
- 2.3.4
[packages/cmus.git] / cmus.spec
index d018ca24e3a2a02cc0e811635d37c116eca701c1..83553c4e42afec5e28ad893312e522d88fbf9012 100644 (file)
--- a/cmus.spec
+++ b/cmus.spec
@@ -1,15 +1,18 @@
+%bcond_with    arts
 Summary:       cmus is a small and fast text mode music player
 Summary(hu.UTF-8):     cmus egy kicsi és gyors szöveges zenelejátszó
 Name:          cmus
-Version:       2.3.2
+Version:       2.3.4
 Release:       0.1
 License:       GPL
 Group:         Applications/Sound
 Source0:       http://downloads.sourceforge.net/project/cmus/%{name}-v%{version}.tar.bz2
-# Source0-md5: 47698e355cff2e7b985a22475099c100
+# Source0-md5: 10629719fd0bff2d3c322ac24834af35
 URL:           http://cmus.sourceforge.net/
 BuildRequires: alsa-lib-devel
+%if %{with arts}
 BuildRequires: arts-devel
+%endif
 BuildRequires: faad2-devel
 BuildRequires: ffmpeg-devel
 BuildRequires: libao-devel
@@ -21,6 +24,7 @@ BuildRequires:        libvorbis-devel
 BuildRequires: mpeg4ip-devel
 BuildRequires: ncurses-devel
 BuildRequires: pkg-config
+BuildRequires: pulseaudio-devel
 BuildRequires: sed > 4.0
 BuildRequires: wavpack-devel
 Suggests:      %{name}-input
@@ -241,7 +245,11 @@ pulse plugin cmus-hoz.
 
 %build
 
-./configure prefix=%{_prefix} \
+./configure \
+%if %{without arts}
+       CONFIG_ARTS=n \
+%endif
+       prefix=%{_prefix} \
        libdir=%{_libdir} \
        mandir=%{_mandir} \
        bindir=%{_bindir} \
@@ -323,9 +331,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir}/cmus/op/ao.so
 
+%if %{with arts}
 %files output-arts
 %defattr(644,root,root,755)
 %{_libdir}/cmus/op/arts.so
+%endif
 
 %files output-oss
 %defattr(644,root,root,755)
This page took 0.063083 seconds and 4 git commands to generate.