]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- Autoupgraded to 1.2.1-1.
[packages/arts.git] / arts.spec
index 0f658a878bf7207d7d5764d22509c08364ee1ddf..50e26174dbf303f19ec51f01500895e890a722e8 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -1,35 +1,35 @@
 #
-# 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
 #
 
-%define                _state          snapshots
-%define                _ver            1.2.0
-%define                _snap           031204
+%define                _state          stable
+%define                _ver            1.2.1
+#%%define              _snap           040110
+
+%define                _kdever         3.2.1
 
 Summary:       aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
-Version:       %{_ver}.%{_snap}
+Version:       %{_ver}
 Release:       1
-Epoch:         12
+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
+Source0:       http://download.kde.org/%{_state}/%{_kdever}/src/%{name}-%{_ver}.tar.bz2
+# Source0-md5: 84877632917893438c629803e7b004f3
+# http://download.kde.org/stable/3.2.1/src/arts-1.2.1.tar.bz2
+#Source0:      http://ep09.pld-linux.org/~djurban/kde/%{name}-%{version}.tar.bz2
 URL:           http://www.kde.org/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 BuildRequires: audiofile-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: docbook-dtd41-sgml
-BuildRequires: docbook-utils
+BuildRequires: docbook-utils >= 0.6.13-3
 BuildRequires: esound-devel
 BuildRequires: glib2-devel >= 2.0.0
 BuildRequires: libmad-devel
@@ -38,7 +38,6 @@ BuildRequires:        libvorbis-devel
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: pkgconfig
 BuildRequires: qt-devel >= 6:3.2.1-4
-BuildRequires: perl-SGMLS
 Obsoletes:     arts-glib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -143,9 +142,11 @@ Development files for qtmcop library.
 Pliki programistyczne dla biblioteki qtmcop.
 
 %prep
-%setup -q -n %{name}-%{_snap}
+# qboosh leave it this way, 'cause its easier to change to snap later
+%setup -q -n %{name}-%{version}
 
 %build
+cp /usr/share/automake/config.sub admin
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
@@ -153,6 +154,7 @@ Pliki programistyczne dla biblioteki qtmcop.
        --%{?debug:en}%{!?debug:dis}able-debug \
        --disable-rpath \
        --enable-final \
+       --with-qt-libraries=%{_libdir} \
        --with%{!?with_alsa:out}-alsa
 
 %{__make}
@@ -166,7 +168,7 @@ rm -rf $RPM_BUILD_ROOT
 # Debian manpages
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 cd debian
-for f in *.sgml ; do
+for f in man/*.sgml ; do
        base="$(basename $f .sgml)"
        upper="$(echo ${base} | tr a-z A-Z)"
        db2man $f
This page took 0.072178 seconds and 4 git commands to generate.