]> git.pld-linux.org Git - packages/arts.git/blobdiff - arts.spec
- the official release is next monday, till this time please test it.
[packages/arts.git] / arts.spec
index 4d5b9adca231f64f7119e553137620057e502244..535251970eaf3a8fcee73ad1f2ad895daabb0eb3 100644 (file)
--- a/arts.spec
+++ b/arts.spec
@@ -1,36 +1,33 @@
 #
-# 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.3
+#%%define              _snap           040110
+%define                _kdever         3.2.3
+#
 Summary:       aRts sound server
 Summary(pl):   Serwer d¼wiêku
 Summary(pt_BR):        Servidor de sons usado pelo KDE
 Name:          arts
-Version:       %{_ver}.%{_snap}
-Release:       2
-Epoch:         12
+Version:       %{_ver}
+Release:       0.1
+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
-Patch0:                kde-general-am18.patch
+#Source0:      http://download.kde.org/%{_state}/%{_kdever}/src/%{name}-%{_ver}.tar.bz2
+Source0:        http://ep09.pld-linux.org/~djurban/kde/%{name}-%{version}.tar.bz2
+# Source0-md5: fca8a9ec7538c4fe8e4c79767bb2a7e8
+# http://download.kde.org/stable/3.2.1/src/arts-1.2.1.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,8 +35,8 @@ BuildRequires:        libtool >= 2:1.5-2
 BuildRequires: libvorbis-devel
 %{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: pkgconfig
+BuildRequires: unsermake >= 040511
 BuildRequires: qt-devel >= 6:3.2.1-4
-BuildRequires: perl-SGMLS
 Obsoletes:     arts-glib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -84,10 +81,9 @@ arts.
 %description devel -l pt_BR
 Arquivos para desenvolvimento com o o aRts.
 
-# separate from arts-devel because they are mostly independent and have very
-# different deps
-# there is no artsc base - it would be small and would require arts - so there
-# is no reason to separate
+# separate from arts-devel because they are mostly independent and
+# have very # different deps there is no artsc base - it would be
+# small and would require arts - so there is no reason to separate
 %package -n artsc-devel
 Summary:       Development files for artsc libraries
 Summary(pl):   Pliki programistyczne bibliotek artsc
@@ -144,10 +140,12 @@ Development files for qtmcop library.
 Pliki programistyczne dla biblioteki qtmcop.
 
 %prep
-%setup -q -n %{name}-%{_snap}
-%patch0 -p1
+# 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
+export UNSERMAKE=/usr/share/unsermake/unsermake
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
@@ -155,6 +153,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}
@@ -167,7 +166,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # Debian manpages
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
-cd debian
+cd debian/man
 for f in *.sgml ; do
        base="$(basename $f .sgml)"
        upper="$(echo ${base} | tr a-z A-Z)"
This page took 0.067185 seconds and 4 git commands to generate.