]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- adjusted kde-am patch to support also automake 1.12 through 1.14
[packages/arts.git] / arts.spec
index 71fa06d2f33fac6d43c7bd2e0f12947d7225fe95..cf46329915a6075cd94c5e7ab2ce2649f7601fd1 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -1,10 +1,11 @@
 #
 # 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
 
@@ -13,7 +14,7 @@ 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:       1
+Release:       15
 Epoch:         13
 License:       LGPL
 Group:         Libraries
@@ -25,20 +26,24 @@ Patch1:             kde-ac260-lt.patch
 Patch2:                %{name}-extension_loader.patch
 Patch3:                %{name}-gcc43.patch
 Patch4:                %{name}-fortify.patch
+Patch5:                kde-am.patch
+Patch6:                %{name}-ac.patch
 URL:           http://www.arts-project.org/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 BuildRequires: audiofile-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: boost-devel >= 1.35.0
-BuildRequires: docbook-dtd41-sgml
-BuildRequires: docbook-utils >= 0.6.14
 %{?with_esd:BuildRequires:     esound-devel}
 %{?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
 BuildRequires: libvorbis-devel
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: pkgconfig
@@ -170,6 +175,8 @@ Pliki programistyczne dla biblioteki qtmcop.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 find . -type f -name '*.mcopclass' | xargs %{__sed} -i -e 's:\.la::'
 
@@ -201,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
This page took 0.050267 seconds and 4 git commands to generate.