]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- może wrescie ktoś wykasuje to konto ?
[packages/arts.git] / arts.spec
index 40a071ff0a4f0e365a6a1b49c50d933846fdf0a7..b631a70f4e9dde312ccc44ff761b37aa059b0539 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -2,37 +2,38 @@
 # _with_nas            - enable NAS audio support
 # _without_alsa                - disable ALSA support
 #
+%ifarch sparc sparcv9 sparc64
+%define                _without_alsa   1
+%endif
 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
+Version:       1.1.3
 Release:       1
 Epoch:         12
 License:       LGPL
 Vendor:                The KDE Team
 Group:         Libraries
-Source0:       ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
-%ifnarch sparc sparcv9 sparc64
+Source0:       ftp://ftp.kde.org/pub/kde/stable/3.1.3/src/%{name}-%{version}.tar.bz2
+# Source0-md5: f04eb6ef387d63741561ab6623696322
+URL:           http://www.kde.org/
 %{!?_without_alsa:BuildRequires:       alsa-lib-devel}
-%endif
 BuildRequires: audiofile-devel
 BuildRequires: glib2-devel >= 2.0.0
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
+BuildRequires: libstdc++-devel
 # not needed, only ./configure check for this
 #BuildRequires:        libvorbis-devel
 #BuildRequires:        mad-devel
 %{?_with_nas:BuildRequires:    nas-devel}
 BuildRequires: pkgconfig
 BuildRequires: qt-devel >= 3.1
-URL:           http://www.kde.org/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _htmldir        /usr/share/doc/kde/HTML
 
-%define                no_install_post_chrpath         1
-
 %description
 aRts sound server.
 
@@ -64,7 +65,7 @@ Cz
 Summary:       QT dependend part of aRts
 Summary(pl):   Czê¶æ aRts wymagaj±ca QT
 Group:         X11/Libraries
-Requires:      %{name} >= %{version}
+Requires:      %{name} >= %{epoch}:%{version}
 Requires:      qt >= 3.1
 
 %description qt
@@ -79,7 +80,8 @@ Summary(pl):  Serwer d
 Summary(pt_BR):        Arquivos para desenvolvimento com o o aRts
 Group:         Development/Libraries
 Requires:      qt-devel >= 3.1
-Requires:      %{name} >= %{version}
+Requires:      %{name} >= %{epoch}:%{version}
+%{?_with_nas:Requires: nas-devel}
 
 %description devel
 Header files required to compile programs using arts.
@@ -117,7 +119,7 @@ kde_icondir="%{_pixmapsdir}"; export kde_icondir
        --with-xinerama \
        --with%{?_without_alsa:out}-alsa
 
-%if %{?_with_nas:0}1
+%if %{!?_with_nas:1}0
 # Cannot patch configure.in because it does not rebuild correctly on ac25
 sed -e 's@#define HAVE_LIBAUDIONAS 1@/* #undef HAVE_LIBAUDIONAS */@' \
        < config.h \
@@ -129,19 +131,20 @@ mv -f config.h{.tmp,}
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
-%post   X11 -p /sbin/ldconfig
-%postun X11 -p /sbin/ldconfig
+%post  X11 -p /sbin/ldconfig
+%postun        X11 -p /sbin/ldconfig
 
-%post   qt -p /sbin/ldconfig
-%postun qt -p /sbin/ldconfig
+%post  qt -p /sbin/ldconfig
+%postun        qt -p /sbin/ldconfig
 
-%post   glib -p /sbin/ldconfig
-%postun glib -p /sbin/ldconfig
+%post  glib -p /sbin/ldconfig
+%postun        glib -p /sbin/ldconfig
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -156,8 +159,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/artsshell
 %attr(755,root,root) %{_bindir}/artswrapper
 %attr(755,root,root) %{_bindir}/testdhandle
-%{_libdir}/lib[!gqx]*.la
 %attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*.*.*
+%{_libdir}/lib[!gqx]*.la
 %{_libdir}/mcop
 
 %files devel
@@ -170,15 +173,15 @@ rm -rf $RPM_BUILD_ROOT
 
 %files X11
 %defattr(644,root,root,755)
-%{_libdir}/libx11globalcomm.la
 %attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
+%{_libdir}/libx11globalcomm.la
 
 %files glib
 %defattr(644,root,root,755)
-%{_libdir}/libgmcop.la
 %attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
+%{_libdir}/libgmcop.la
 
 %files qt
 %defattr(644,root,root,755)
-%{_libdir}/libqtmcop.la
 %attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*
+%{_libdir}/libqtmcop.la
This page took 0.134666 seconds and 4 git commands to generate.