]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- release 1,
[packages/arts.git] / arts.spec
index b4b167217f12fd16dc9fb2c783c2f05d86da8bb6..40a071ff0a4f0e365a6a1b49c50d933846fdf0a7 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -1,19 +1,18 @@
-# _without_alsa - disable alsa
-
-%define                _state          stable
-%define                _kdever         3.1
-
+#
+# _with_nas            - enable NAS audio support
+# _without_alsa                - disable ALSA support
+#
 Summary:       aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
-Version:       1.1
-Release:       5
+Version:       1.1.2
+Release:       1
 Epoch:         12
 License:       LGPL
 Vendor:                The KDE Team
 Group:         Libraries
-Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{_kdever}/src/%{name}-%{version}.tar.bz2
+Source0:       ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
 %ifnarch sparc sparcv9 sparc64
 %{!?_without_alsa:BuildRequires:       alsa-lib-devel}
 %endif
@@ -24,7 +23,7 @@ BuildRequires:        libpng-devel
 # not needed, only ./configure check for this
 #BuildRequires:        libvorbis-devel
 #BuildRequires:        mad-devel
-BuildRequires: nas-devel
+%{?_with_nas:BuildRequires:    nas-devel}
 BuildRequires: pkgconfig
 BuildRequires: qt-devel >= 3.1
 URL:           http://www.kde.org/
@@ -113,10 +112,18 @@ kde_icondir="%{_pixmapsdir}"; export kde_icondir
 
 %configure \
        --%{?debug:en}%{!?debug:dis}able-debug \
+       --disable-rpath \
        --enable-final \
        --with-xinerama \
        --with%{?_without_alsa:out}-alsa
 
+%if %{?_with_nas:0}1
+# Cannot patch configure.in because it does not rebuild correctly on ac25
+sed -e 's@#define HAVE_LIBAUDIONAS 1@/* #undef HAVE_LIBAUDIONAS */@' \
+       < config.h \
+       > config.h.tmp
+mv -f config.h{.tmp,}
+%endif
 %{__make}
 
 %install
@@ -127,13 +134,13 @@ rm -rf $RPM_BUILD_ROOT
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%post X11   -p /sbin/ldconfig
+%post   X11 -p /sbin/ldconfig
 %postun X11 -p /sbin/ldconfig
 
-%post qt   -p /sbin/ldconfig
+%post   qt -p /sbin/ldconfig
 %postun qt -p /sbin/ldconfig
 
-%post glib   -p /sbin/ldconfig
+%post   glib -p /sbin/ldconfig
 %postun glib -p /sbin/ldconfig
 
 %clean
@@ -150,7 +157,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/artswrapper
 %attr(755,root,root) %{_bindir}/testdhandle
 %{_libdir}/lib[!gqx]*.la
-%attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*
+%attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*.*.*
 %{_libdir}/mcop
 
 %files devel
@@ -164,14 +171,14 @@ rm -rf $RPM_BUILD_ROOT
 %files X11
 %defattr(644,root,root,755)
 %{_libdir}/libx11globalcomm.la
-%attr(755,root,root) %{_libdir}/libx11globalcomm.so.*
+%attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
 
 %files glib
 %defattr(644,root,root,755)
 %{_libdir}/libgmcop.la
-%attr(755,root,root) %{_libdir}/libgmcop.so.*
+%attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
 
 %files qt
 %defattr(644,root,root,755)
 %{_libdir}/libqtmcop.la
-%attr(755,root,root) %{_libdir}/libqtmcop.so.*
+%attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*
This page took 0.033107 seconds and 4 git commands to generate.