]> git.pld-linux.org Git - packages/arts.git/commitdiff
- release 1,
authorkloczek <kloczek@pld-linux.org>
Tue, 13 May 2003 23:32:46 +0000 (23:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- resolve building in enviroment with nas-devel installed (we do not build
  by default arts with NAS supoport) by seding config.h after run configure
  (solution like in current kdelibs.spec),
- --disable-rpath added to configure parameters,
- cosmetics and cut %changelog.

Changed files:
    arts.spec -> 1.31

arts.spec

index 2122578531db1c571ba80814cafabbc34440138b..40a071ff0a4f0e365a6a1b49c50d933846fdf0a7 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -2,21 +2,17 @@
 # _with_nas            - enable NAS audio support
 # _without_alsa                - disable ALSA support
 #
-
-%define                _state          stable
-%define                _ver            3.1.2
-
 Summary:       aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
 Version:       1.1.2
-Release:       0.1
+Release:       1
 Epoch:         12
 License:       LGPL
 Vendor:                The KDE Team
 Group:         Libraries
-Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{_ver}/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
@@ -28,7 +24,6 @@ BuildRequires:        libpng-devel
 #BuildRequires:        libvorbis-devel
 #BuildRequires:        mad-devel
 %{?_with_nas:BuildRequires:    nas-devel}
-%{!?_with_nas:BuildConflicts:  nas-devel}
 BuildRequires: pkgconfig
 BuildRequires: qt-devel >= 3.1
 URL:           http://www.kde.org/
@@ -117,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
@@ -131,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
This page took 2.435299 seconds and 4 git commands to generate.