X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=arts.spec;h=6505b40daef90a2163504e59515834f34abf7eb8;hb=ab402b203ff14c57dba73e5877d0ad651a7dece4;hp=42e0084977fa84805bb3574ccc180f4b00dfa74b;hpb=be26a20f068542be99eefb522b7fcc3a7b9798c0;p=packages%2Farts.git diff --git a/arts.spec b/arts.spec index 42e0084..6505b40 100644 --- a/arts.spec +++ b/arts.spec @@ -1,51 +1,67 @@ # -# TODO: consider: -# - separating artsc and its -devel? (but what are artsc deps?) -# # 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++ +# +%define _state stable +%define _kdever 3.5.4 # - -%define _state snapshots -%define _ver 1.2.0 -%define _snap 031204 - Summary: aRts sound server Summary(pl): Serwer d¼wiêku Summary(pt_BR): Servidor de sons usado pelo KDE Name: arts -Version: %{_ver}.%{_snap} -Release: 1 -Epoch: 12 +Version: 1.5.4 +Release: 3 +Epoch: 13 License: LGPL Group: Libraries -#Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{name}-%{_ver}.tar.bz2 -Source0: http://www.kernel.pl/~adgor/kde/%{name}-%{_snap}.tar.bz2 -# Source0-md5: ed23773940e2b97e31a6850e2334bfe5 -URL: http://www.kde.org/ +Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{_kdever}/src/%{name}-%{version}.tar.bz2 +# Source0-md5: 886ba4a13dc0da312d94c09f50c3ffe6 +Patch100: %{name}-branch.diff +Patch0: %{name}-libs.patch +Patch1: kde-ac260-lt.patch +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 -BuildRequires: esound-devel +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 BuildRequires: libmad-devel BuildRequires: libtool >= 2:1.5-2 BuildRequires: libvorbis-devel %{?with_nas:BuildRequires: nas-devel} BuildRequires: pkgconfig -BuildRequires: qt-devel >= 6:3.2.1-4 +%{!?with_hidden_visibility:BuildRequires: qt-devel >= 6:3.2.1-4} +%{?with_hidden_visibility:BuildRequires: qt-devel >= 6:3.3.5.051113-1} Obsoletes: arts-glib BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -aRts sound server. +The Analog Real-Time Synthesizer, or aRts, is a modular system for +synthesizing sound and music on a digital computer. Using small +building blocks called modules, the user can easily build complex +audio processing tools. Modules typically provide functions such as +sound waveform generators, filters, audio effects, mixing, and +playback of digital audio in different file formats. The artsd sound +server mixes audio from several sources in real time, allowing +multiple sound applications to transparently share access to sound +hardware. %description -l pl -Serwer d¼wiêku aRts. +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ê 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³. %description -l pt_BR O aRts é um sintetizador analógico em tempo real que é completamente @@ -68,6 +84,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} @@ -84,8 +101,8 @@ 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 +# 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 @@ -115,17 +132,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 @@ -142,19 +159,31 @@ Development files for qtmcop library. Pliki programistyczne dla biblioteki qtmcop. %prep -%setup -q -n %{name}-%{_snap} +%setup -q +#%patch100 -p1 +%patch0 -p1 +%patch1 -p1 %build +cp -f /usr/share/automake/config.sub admin + %{__make} -f admin/Makefile.common cvs %configure \ %{!?with_nas:ac_cv_header_audio_audiolib_h=no} \ - --%{?debug:en}%{!?debug:dis}able-debug \ - --disable-rpath \ - --enable-final \ +%if "%{_lib}" == "lib64" + --enable-libsuffix=64 \ +%endif + --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \ + %{!?debug:--disable-rpath} \ + --disable-final \ + %{?with_hidden_visibility:--enable-gcc-hidden-visibility} \ + --with-qt-libraries=%{_libdir} \ --with%{!?with_alsa:out}-alsa -%{__make} +%{__make} \ + CXXLD=%{_host_cpu}-%{_vendor}-%{_os}-g++ \ + CCLD=%{_host_cpu}-%{_vendor}-%{_os}-gcc %install rm -rf $RPM_BUILD_ROOT @@ -162,16 +191,6 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -# Debian manpages -install -d $RPM_BUILD_ROOT%{_mandir}/man1 -cd debian -for f in *.sgml ; do - base="$(basename $f .sgml)" - upper="$(echo ${base} | tr a-z A-Z)" - db2man $f - install ${upper}.1 $RPM_BUILD_ROOT%{_mandir}/man1/${base}.1 -done - %clean rm -rf $RPM_BUILD_ROOT @@ -216,13 +235,13 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libartswavplayobject.la # %{_libdir}/mcop -%{_mandir}/man1/artscat.1* -%{_mandir}/man1/artsd.1* -%{_mandir}/man1/artsdsp.1* -%{_mandir}/man1/artsplay.1* -%{_mandir}/man1/artsrec.1* -%{_mandir}/man1/artsshell.1* -%{_mandir}/man1/artswrapper.1* +#%{_mandir}/man1/artscat.1* +#%{_mandir}/man1/artsd.1* +#%{_mandir}/man1/artsdsp.1* +#%{_mandir}/man1/artsplay.1* +#%{_mandir}/man1/artsrec.1* +#%{_mandir}/man1/artsshell.1* +#%{_mandir}/man1/artswrapper.1* %files devel %defattr(644,root,root,755) @@ -251,7 +270,7 @@ rm -rf $RPM_BUILD_ROOT # %{_includedir}/arts %exclude %{_includedir}/arts/qiomanager.h -%{_mandir}/man1/mcopidl.1* +#%{_mandir}/man1/mcopidl.1* %files -n artsc-devel %defattr(644,root,root,755) @@ -262,7 +281,7 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/libartsdsp_st.so %{_libdir}/libartsc.la %{_includedir}/artsc -%{_mandir}/man1/artsc-config.1* +#%{_mandir}/man1/artsc-config.1* %files X11 %defattr(644,root,root,755)