]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- release 2 for Th.
[packages/arts.git] / arts.spec
index 76de16be539dbcfc16b51b7fc272c36df5e7357f..c36ce21846e1889921ab7c4afa6abfb649551720 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -2,42 +2,42 @@
 # Conditional build:
 %bcond_without alsa    # disable ALSA support
 %bcond_with    nas     # enable NAS support
+%bcond_without esd     # disable esound support
 #
+
 %define                _state          stable
-%define                _ver            1.2.3
-#%%define              _snap           040110
-%define                _kdever         3.2.3
-#
+%define                _kdever         3.4
+%define                _ver            1.4.0
+
 Summary:       aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
 Version:       %{_ver}
-Release:       1
+Release:       2
 Epoch:         13
 License:       LGPL
 Group:         Libraries
-#Source0:      http://download.kde.org/%{_state}/%{_kdever}/src/%{name}-%{_ver}.tar.bz2
-Source0:       http://ep09.pld-linux.org/~djurban/kde/%{name}-%{version}.tar.bz2
-# Source0-md5: fca8a9ec7538c4fe8e4c79767bb2a7e8
-# http://download.kde.org/stable/3.2.1/src/arts-1.2.1.tar.bz2
-URL:           http://www.kde.org/
+Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{_kdever}/src/%{name}-%{version}.tar.bz2
+# Source0-md5: a155bb00f56c71bc475890249e2dcaa9
+Patch100:      %{name}-branch.diff
+URL:           http://www.arts-project.org/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 BuildRequires: audiofile-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: docbook-dtd41-sgml
-BuildRequires: docbook-utils >= 0.6.13-3
-BuildRequires: esound-devel
+BuildRequires: docbook-utils >= 0.6.14
+%{?with_esd:BuildRequires:     esound-devel}
 BuildRequires: glib2-devel >= 2.0.0
+BuildRequires: jack-audio-connection-kit-devel
 BuildRequires: libmad-devel
 BuildRequires: libtool >= 2:1.5-2
 BuildRequires: libvorbis-devel
-BuildRequires: unsermake >= 040511
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: pkgconfig
-BuildRequires: unsermake >= 040511
 BuildRequires: qt-devel >= 6:3.2.1-4
+#BuildRequires:        unsermake >= 040805-1
 Obsoletes:     arts-glib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,7 +56,7 @@ hardware.
 Analog Real-Time Synthesizer (w skrócie aRts) to modularny system do
 obs³ugi d¼wiêku i muzyki na komputerze. Za pomoc± modu³ów u¿ytkownik
 mo¿e z powodzeniem budowaæ kompleksowe narzêdzia przetwarzania
-d¼wiêku. Modu³y umo¿liwiaj± generacjê kstza³tu fali, filtrowanie,
+d¼wiêku. Modu³y umo¿liwiaj± generacjê kszta³tu fali, filtrowanie,
 efekty audio, miksowanie oraz odtwarzanie d¼wiêku cyfrowego w ró¿nych
 formatach. Serwer d¼wiêku artsd umo¿liwia równie¿ jednoczesne
 odtwarzanie d¼wiêku z wielu ¼róde³.
@@ -82,6 +82,7 @@ Requires:     %{name} = %{epoch}:%{version}-%{release}
 Requires:      audiofile-devel
 Requires:      esound-devel
 Requires:      glib2-devel >= 2.0.0
+Requires:      jack-audio-connection-kit-devel
 Requires:      libmad-devel
 Requires:      libvorbis-devel
 %{?with_nas:Requires:  nas-devel}
@@ -96,9 +97,10 @@ arts.
 %description devel -l pt_BR
 Arquivos para desenvolvimento com o o aRts.
 
-# separate from arts-devel because they are mostly independent and #
-have very # different deps there is no artsc base - it would be #
-small and would require arts - so there is no reason to separate
+# separate from arts-devel because they are mostly independent and have very
+# different deps
+# there is no artsc base - it would be small and would require arts - so
+# there is no reason to separate
 %package -n artsc-devel
 Summary:       Development files for artsc libraries
 Summary(pl):   Pliki programistyczne bibliotek artsc
@@ -128,17 +130,17 @@ X11 dependent part of aRts (x11globalcomm module).
 Czê¶æ aRts wymagaj±ca X11 (modu³ x11globalcomm).
 
 %package qt
-Summary:       QT dependend part of aRts
-Summary(pl):   Czê¶æ aRts wymagaj±ca QT
+Summary:       Qt dependend part of aRts
+Summary(pl):   Czê¶æ aRts wymagaj±ca Qt
 Group:         X11/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      qt >= 6:3.2.1-4
 
 %description qt
-QT dependend part of aRts (qtmcop library).
+Qt dependend part of aRts (qtmcop library).
 
 %description qt -l pl
-Czê¶æ aRts wymagaj±ca QT (biblioteka qtmcop).
+Czê¶æ aRts wymagaj±ca Qt (biblioteka qtmcop).
 
 %package qt-devel
 Summary:       Development files for qtmcop library
@@ -155,18 +157,23 @@ Development files for qtmcop library.
 Pliki programistyczne dla biblioteki qtmcop.
 
 %prep
-# qboosh leave it this way, 'cause its easier to change to snap later
-%setup -q -n %{name}-%{version}
+%setup -q
+%patch100 -p1
 
 %build
-cp %{_datadir}/automake/config.sub admin
-export UNSERMAKE=%{_datadir}/unsermake/unsermake
+cp -f /usr/share/automake/config.sub admin
+
+#export UNSERMAKE=/usr/share/unsermake/unsermake
+
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
        %{!?with_nas:ac_cv_header_audio_audiolib_h=no} \
-       --%{?debug:en}%{!?debug:dis}able-debug \
-       --disable-rpath \
+%if "%{_lib}" == "lib64"
+       --enable-libsuffix=64 \
+%endif
+       --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+       %{!?debug:--disable-rpath} \
        --enable-final \
        --with-qt-libraries=%{_libdir} \
        --with%{!?with_alsa:out}-alsa
This page took 0.041003 seconds and 4 git commands to generate.