]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- started update to 1.0.5a (for KDE 3.0.5a)
[packages/arts.git] / arts.spec
index 8b6cd690028b39bd67777a93aacf017ef7d6a88f..f431fc55519f5fb83f3ba5670be240b59b05f998 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -2,12 +2,11 @@ Summary:      aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
-%define        _kdever 3.0.3
-Version:       1.0.3
-Release:       2
+%define        _kdever 3.0.5a
+Version:       1.0.5a
+Release:       0.1
 Epoch:         11
 License:       LGPL
-Vendor:                The KDE Team
 Group:         Libraries
 Source0:       ftp://ftp.kde.org/pub/kde/stable/%{_kdever}/src/%{name}-%{version}.tar.bz2
 %ifnarch sparc sparcv9 sparc64
@@ -22,7 +21,6 @@ BuildRequires:        libpng-devel
 #BuildRequires:        mad-devel
 BuildRequires: pkgconfig
 BuildRequires: qt-devel >= 3.0.5
-Requires:      qt >= 3.0.5
 URL:           http://www.kde.org/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -60,7 +58,8 @@ Cz
 Summary:       QT dependend part of aRts
 Summary(pl):   Czê¶æ aRts wymagaj±ca QT
 Group:         X11/Libraries
-Requires:      %{name} >= %{version}
+Requires:      %{name} = %{version}
+Requires:      qt >= 3.0.5
 
 %description qt
 QT dependend part of aRts.
@@ -73,8 +72,8 @@ Summary:      Sound server - header files
 Summary(pl):   Serwer d¼wiêku - pliki nag³ówkowe
 Summary(pt_BR):        Arquivos para desenvolvimento com o o aRts
 Group:         Development/Libraries
-Requires:      qt-devel >= 3.0.3
-Requires:      %{name} >= %{version}
+Requires:      qt-devel >= 3.0.5
+Requires:      %{name} = %{version}
 
 %description devel
 Header files required to compile programs using arts.
@@ -106,15 +105,14 @@ kde_icondir="%{_pixmapsdir}"; export kde_icondir
 
 #%{__make} -f Makefile.cvs
 
-if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
-       CFLAGS="`pkg-config libpng12 --cflags` %{rpmcflags}"
-fi
-
 %configure \
        --%{?debug:en}%{!?debug:dis}able-debug \
        --enable-final \
-       --with-xinerama \
-       --with-alsa 
+%ifnarch sparc sparcv9 sparc64
+       --with-alsa \
+%endif
+       --disable-rpath \
+       --with-xinerama
 
 %{__make}
 
@@ -126,6 +124,15 @@ rm -rf $RPM_BUILD_ROOT
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%post   X11 -p /sbin/ldconfig
+%postun X11 -p /sbin/ldconfig
+
+%post   qt -p /sbin/ldconfig
+%postun qt -p /sbin/ldconfig
+
+%post   glib -p /sbin/ldconfig
+%postun glib -p /sbin/ldconfig
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -140,25 +147,25 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/artswrapper
 %attr(755,root,root) %{_libdir}/lib[am]*.so.*.*
 %attr(755,root,root) %{_libdir}/libs[!h]*.so.*.*
-%attr(755,root,root) %{_libdir}/lib[ams]*.la
+%{_libdir}/lib[ams]*.la
 %attr(755,root,root) %{_libdir}/libkmedia*.so.*.*
-%attr(755,root,root) %{_libdir}/libkmedia*.la
+%{_libdir}/libkmedia*.la
 %{_libdir}/mcop
 
 %files X11
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
-%attr(755,root,root) %{_libdir}/libx11globalcomm.la
+%{_libdir}/libx11globalcomm.la
 
 %files qt
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*
-%attr(755,root,root) %{_libdir}/libqtmcop.la
+%{_libdir}/libqtmcop.la
 
 %files glib
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
-%attr(755,root,root) %{_libdir}/libgmcop.la
+%{_libdir}/libgmcop.la
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.036309 seconds and 4 git commands to generate.