X-Git-Url: http://git.pld-linux.org/?p=packages%2Farts.git;a=blobdiff_plain;f=arts.spec;h=cf46329915a6075cd94c5e7ab2ce2649f7601fd1;hp=d3d115e9c3a4bd3aabff1efe470806069f805ec7;hb=HEAD;hpb=21dd1da1c8293232aedea15791a7942c1820c071 diff --git a/arts.spec b/arts.spec index d3d115e..cf46329 100644 --- a/arts.spec +++ b/arts.spec @@ -1,23 +1,20 @@ # # Conditional build: -%bcond_without alsa # disable ALSA support -%bcond_with nas # enable NAS support -%bcond_without esd # disable esound support -%bcond_without hidden_visibility # pass '--fvisibility=hidden' & '--fvisibility-inlines-hidden' to g++ -# +%bcond_without alsa # ALSA support +%bcond_with nas # NAS support +%bcond_with arts # aRts support (i.e. actually build this package) +%bcond_without esd # EsounD support +%bcond_without hidden_visibility # '--fvisibility=hidden' & '--fvisibility-inlines-hidden' g++ opts + %define _state stable %define _kdever 3.5.10 -%if "%{pld_release}" == "th" -die, not meant for th -%endif - Summary: aRts sound server Summary(pl.UTF-8): Serwer dźwięku Summary(pt_BR.UTF-8): Servidor de sons usado pelo KDE Name: arts Version: 1.5.10 -Release: 14 +Release: 15 Epoch: 13 License: LGPL Group: Libraries @@ -41,6 +38,9 @@ BuildRequires: boost-devel >= 1.35.0 %{?with_hidden_visibility:BuildRequires: gcc-c++ >= 5:4.1.0-0.20051206r108118.1} BuildRequires: glib2-devel >= 2.0.0 BuildRequires: jack-audio-connection-kit-devel +%if "%{pld_release}" == "th" +%{!?with_arts:BuildRequires: die, not meant for th} +%endif BuildRequires: libmad-devel BuildRequires: libtool >= 2:1.5-2 BuildRequires: libuuid-devel @@ -208,7 +208,7 @@ rm -rf $RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT # it seems to be only (lt_)dlopened, nothing links with it - so not needed -rm -f $RPM_BUILD_ROOT%{_libdir}/libx11globalcomm.{la,so} +%{__rm} $RPM_BUILD_ROOT%{_libdir}/libx11globalcomm.{la,so} # remove unwanted boost deps from .la sed -i 's:-lboost_filesystem -lboost_regex::' $RPM_BUILD_ROOT%{_libdir}/*.la