SPECS (DEVEL): kdemultimedia.spec - kde4 start
rotom
rotom at pld-linux.org
Sat Dec 16 22:50:09 CET 2006
Author: rotom Date: Sat Dec 16 21:50:09 2006 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- kde4 start
---- Files affected:
SPECS:
kdemultimedia.spec (1.194.2.1 -> 1.194.2.2)
---- Diffs:
================================================================
Index: SPECS/kdemultimedia.spec
diff -u SPECS/kdemultimedia.spec:1.194.2.1 SPECS/kdemultimedia.spec:1.194.2.2
--- SPECS/kdemultimedia.spec:1.194.2.1 Sun Jun 26 19:09:44 2005
+++ SPECS/kdemultimedia.spec Sat Dec 16 22:50:04 2006
@@ -1,35 +1,29 @@
# $Revision$, $Date$
#
# TODO:
-# - enable gstreamer after making it selectable runtime
#
# Conditional build:
+%define _state unstable
+
%bcond_without alsa # build without ALSA support
%bcond_without xine # build without xine support
%bcond_with gstreamer # build with gstreamer support
#
-%define _state unstable
-%define _kdever 3.4.89
-%define _ver 3.4.89
-%define _snap 050625
-
%define _minlibsevr 9:3.4.89.050624
%define _minbaseevr 9:3.4.89.050625
Summary: K Desktop Environment - multimedia applications
Summary(pl): K Desktop Environment - aplikacje multimedialne
Name: kdemultimedia
-Version: %{_ver}.%{_snap}
+Version: 3.80.2
Release: 1
Epoch: 9
License: GPL
-Vendor: The KDE Team
Group: X11/Applications
-Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{_kdever}/src/%{name}-%{_snap}.tar.bz2
-##% Source0-md5: db69c9ab845c8295f095dc6394fba047
-#Patch100: %{name}-branch.diff
-Patch0: %{name}-llh.patch
+Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{name}-%{version}.tar.bz2
+#% Source0-md5: db69c9ab845c8295f095dc6394fba047
%{?with_alsa:BuildRequires: alsa-lib-devel}
+Patch0: %{name}-taglib.patch
BuildRequires: arts-qt-devel
BuildRequires: audiofile-devel
BuildRequires: autoconf
@@ -41,21 +35,21 @@
BuildRequires: gstreamer-devel >= 0.8
BuildRequires: gstreamer-plugins-devel >= 0.8
%endif
+BuildRequires: jack-audio-connection-kit-devel
BuildRequires: kdelibs-devel >= %{_minlibsevr}
BuildRequires: lame-libs-devel
BuildRequires: libjpeg-devel
BuildRequires: libmad-devel
+BuildRequires: libmusicbrainz-devel >= 1:2.1.1
BuildRequires: libogg-devel
BuildRequires: libpng-devel
-BuildRequires: libstdc++-devel
BuildRequires: libsamplerate-devel
-BuildRequires: libmusicbrainz-devel >= 1:2.1.1
+BuildRequires: libstdc++-devel
BuildRequires: libtheora-devel
BuildRequires: libtunepimp-devel
BuildRequires: libvorbis-devel
BuildRequires: pkgconfig
BuildRequires: polypaudio-devel
-BuildRequires: jack-audio-connection-kit-devel
BuildRequires: rpmbuild(macros) >= 1.129
BuildRequires: speex-devel
BuildRequires: taglib-devel >= 0.95.031114
@@ -91,10 +85,10 @@
Summary: Header files for kdemultimedia libraries
Summary(pl): Pliki nagłówkowe bibliotek kdemultimedia
Group: X11/Development/Libraries
-Requires: kdelibs-devel >= %{_minlibsevr}
Requires: %{name}-arts = %{epoch}:%{version}-%{release}
Requires: %{name}-libkcddb = %{epoch}:%{version}-%{release}
Requires: %{name}-noatun-libs = %{epoch}:%{version}-%{release}
+Requires: kdelibs-devel >= %{_minlibsevr}
Obsoletes: kdemultimedia-static
%description devel
@@ -103,131 +97,6 @@
%description devel -l pl
Pliki nagłówkowe bibliotek kdemultimedia
-%package akode
-Summary: A new generation arts plugin with high quality support for many formats.
-Summary(pl): Wtyczka do arts nowej generacji z wysokiej jakości obsługą różnych formatów .
-Group: X11/Libraries
-Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-
-%description akode
-Arts plugin that supports high quality playback of the following
-formats:
-- Musepack (.MPC)
-- mpeg (.MP3,.MP2, etc.)
-- Ogg Vorbis (.ogg)
-- FLAC
-- speex
-- WAV
-
-%description akode -l pl
-Wtyczka arts, która wspiera wysokiej jakości odtwarzanie następujących
-formatów:
-- Musepack (.MPC)
-- mpeg (.MP3,.MP2, etc.)
-- Ogg Vorbis (.ogg)
-- FLAC
-- speex
-- WAV
-
-%package arts
-Summary: Arts extensions
-Summary(pl): Rozszerzenia Arts
-Group: X11/Applications
-Requires: kdelibs >= %{_minlibsevr}
-Obsoletes: kdemultimedia-artsplugin-audiofile
-
-%description arts
-Arts extensions such as effect definitions, mixers presets and shared
-libraries to access them.
-
-%description arts -l pl
-Rozszerzenia Arts takie jak definicje efektów, ustawienia mikserów
-oraz biblioteki współdzielone dające do nich dostęp.
-
-%package artsbuilder
-Summary: Arts Tools - builder
-Summary(pl): Narzędzia Arts - builder
-Group: X11/Applications
-Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-Conflicts: kdemultimedia-arts < 9:3.1.92.021012
-
-%description artsbuilder
-A simple yet powerful effect and filter builder for arts.
-
-%description artsbuilder -l pl
-Prosty acz rozbudowany program do konstruowania efektów i filtrów w
-arts.
-
-%package artscontrol
-Summary: Arts Tools - control
-Summary(pl): Narzędzia Arts - control
-Group: X11/Applications
-Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-Conflicts: kdemultimedia-arts < 9:3.1.92.021012
-
-%description artscontrol
-An advanced configuration tool for arts with FFT scope, media type
-list, midi manager, client and environment manager and a server status
-reporter
-
-%description artscontrol -l pl
-Zaawansowane narzędzie konfiguracyjne dla arts, zawiera: okno zakresu
-FFT, listę obsługiwanych typów plików, moduły zarządzania klientami,
-midi oraz środowiskiem, a także monitor stanu serwera dźwięku.
-
-#%package artsplugin-audiofile
-#Summary: Audiofile Plug-in
-#Summary(pl): Wtyczka do Audiofile
-#Group: X11/Applications
-#Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-#Obsoletes: kdemultimedia-arts < 9:3.1.92.021012
-
-#%description artsplugin-audiofile #Audiofile Plug-in.
-
-#%description artsplugin-audiofile -l pl #Wtyczka do Audiofile.
-
-%package artsplugin-xine
-Summary: Xine engine plugin for arts
-Summary(pl): Wtyczka silnika xine do arts
-Group: X11/Applications
-Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-Requires: xine-lib >= 1:1.0
-Obsoletes: kdemultimedia-xine
-
-%description artsplugin-xine
-This plugin allows arts to play using xine engine. This plugin
-supports more formats then akode, yet akode plays some of them with
-better quality. For best quality use akode alongside this plugin, arts
-will autodetect which plugin gives better quality. This plugin
-supports:
-- microsoft's windows media formats (asf,asx,wmv,wma)
-- mpeg (vob,mpg,mpeg,m1v,m2v,m1s,m2s,m2p,MP4,MP3,MP2,mp1)
-- divx and avi
-- quicktime (qt,mov,moov)
-- real.com formats (rv,ra,ram,rm)
-- smil (.smi)
-- FLAC
-- speex
-- ac3/aac/m4v/m4a
-- Ogg Vorbis (ogg)
-
-%description artsplugin-xine -l pl
-Ta wtyczka umożliwia arts odtwarzanie dźwięku za pomocą silnika xine.
-Wspiera ona więcej formatów niż akode, ale niektóre z nich akode
-odtwarza w lepszej jakości. Dla najlepszej jakości należy używać tej
-wtyczki wraz z akode, a arts sam wykryje, która z nich da lepszą
-jakość przy konkretnym formacie. Wspierane formaty to:
-- Microsoft Windows media (asf,asx,wmv,wma)
-- mpeg (vob,mpg,mpeg,m1v,m2v,m1s,m2s,m2p,MP4,MP3,MP2,mp1)
-- divx i avi
-- quicktime (qt,mov,moov)
-- real.com (rv,ra,ram,rm)
-- smil (.smi)
-- FLAC
-- speex
-- ac3/aac/m4v/m4a
-- Ogg Vorbis (ogg)
-
%package audiocd
Summary: Audiocd protocol for konqueror
Summary(pl): Protokół audiocd dla konquerora
@@ -249,8 +118,8 @@
Summary: CDDB library for KDE
Summary(pl): Biblioteka CDDB pod KDE
Group: X11/Applications
-Requires: kdebase-core >= %{_minbaseevr}
Requires: %{name}-libkcddb = %{epoch}:%{version}-%{release}
+Requires: kdebase-core >= %{_minbaseevr}
Conflicts: kdemultimedia-libkcddb < 9:3.1.92.031014
%description cddb
@@ -266,8 +135,8 @@
Summary: A jukebox like program
Summary(pl): Program spełniający funkcję szafy grającej
Group: X11/Applications
-Requires: taglib >= 0.95.031114
Requires: kdebase-core >= %{_minbaseevr}
+Requires: taglib >= 0.95.031114
%description juk
JuK (pronounced jook) is a jukebox and music manager for the KDE
@@ -277,8 +146,13 @@
collection and playlists.
%if %{without gstreamer}
-Gstreamer support in this version has been disabled. To reenable it
-please repuild the source rpm with '--with gstreamer' option.
+JuK (pronounced jook) is a jukebox and music manager for the KDE
+desktop similar to jukebox software on other platforms such as
+iTunes(R) or RealOne(R). As is typical with many jukebox applications,
+JuK allows you to edit the "tags" of the audio files, and manage your
+collection and playlists. Gstreamer support in this version has been
+disabled. To reenable it please repuild the source rpm with '--with
+gstreamer' option.
%endif
%description juk -l pl
@@ -288,23 +162,24 @@
dźwiękowych i zarządzanie kolekcją oraz playlistami.
%if %{without gstreamer}
-Obsługa bibliotek gstreamer została wyłączona w tej wersji pakietu. Aby
-ją uaktywnić, należy przebudować pakiet źródłowy (.src.rpm) z parametrem
-'--with gstreamer'.
+Juk (czyt. dżuk, jak w Jukebox) to szafa grająca i zarządca muzyki dla
+KDE podobny do iTunes(R) lub RealOne(R). Podobnie jak wiele innych
+tego typu aplikacji, JuK umożliwia modyfikowanie znaczników plików
+dźwiękowych i zarządzanie kolekcją oraz playlistami. Obsługa bibliotek
+gstreamer została wyłączona w tej wersji pakietu. Aby ją uaktywnić,
+należy przebudować pakiet źródłowy (.src.rpm) z parametrem '--with
+gstreamer'.
%endif
-%package kaboodle
-Summary: Media player
-Summary(pl): Odtwarzacz multimedialny
-Group: X11/Applications
-Requires: kdebase-core >= %{_minbaseevr}
-Obsoletes: kdemultimedia-aktion
-
-%description kaboodle
-A simple, embeddable, single file media player.
-
-%description kaboodle -l pl
-Prosty odtwarzacz pojedynczych plików.
+Juk (czyt. dżuk, jak w Jukebox) to szafa grająca i zarządca muzyki dla
+KDE podobny do iTunes(R) lub RealOne(R). Podobnie jak wiele innych
+tego typu aplikacji, JuK umożliwia modyfikowanie znaczników plików
+dźwiękowych i zarządzanie kolekcją oraz playlistami. Obsługa bibliotek
+gstreamer została wyłączona w tej wersji pakietu. Aby ją uaktywnić,
+należy przebudować pakiet źródłowy (.src.rpm) z parametrem '--with
+gstreamer'. #%package kaboodle #Summary: Media player #Summary(pl):
+Odtwarzacz multimedialny #Group: X11/Applications #Requires:
+kdebase-core >= %{_minbaseevr} #Obsoletes: kdemultimedia-aktion
%package kappfinder
Summary: Kappfinder multimedia data
@@ -324,9 +199,9 @@
Summary: Audio Creator
Summary(pl): Kreator audio
Group: X11/Applications
+Requires: %{name}-libkcddb = %{epoch}:%{version}-%{release}
Requires: kdebase-core >= %{_minbaseevr}
Requires: kdemultimedia-audiocd >= %{_ver}
-Requires: %{name}-libkcddb = %{epoch}:%{version}-%{release}
%description kaudiocreator
CD ripper and sound encoder frontend.
@@ -387,28 +262,12 @@
%description kmix -l pl
Mikser dźwięku dla KDE.
-%package krec
-Summary: KDE sound recorder
-Summary(pl): Rejestrator dźwięku dla KDE
-Group: X11/Applications
-Requires: kdebase-core >= %{_minbaseevr}
-Requires: %{name}-artscontrol = %{epoch}:%{version}-%{release}
-Requires: %{name}-kmix = %{epoch}:%{version}-%{release}
-
-%description krec
-KDE sound recorder which supports MP3 and Ogg exporting and simple
-effects and mixers.
-
-%description krec -l pl
-Rejestrator dźwięku dla KDE z obsługą eksportu do MP3 i Ogg oraz
-prostymi efektami i mikserem.
-
%package kscd
Summary: KDE CD Player
Summary(pl): Odtwarzacz CD dla KDE
Group: X11/Applications
-Requires: kdebase-core >= %{_minbaseevr}
Requires: %{name}-libkcddb = %{epoch}:%{version}-%{release}
+Requires: kdebase-core >= %{_minbaseevr}
%description kscd
CD Player with CDDB support. It can automatically update its CD
@@ -433,395 +292,183 @@
Biblioteka dostępu do serwisów CDDB (baz danych z informacjami o
utworach).
-%package mpeglib
-Summary: MPEG playback plugin for arts
-Summary(pl): Wtyczka z obsługą mpeg dla arts
-Group: X11/Applications
-Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-
-%description mpeglib
-Plugin that adds support of MPEG audio and video formats to arts. It
-give better quality than xine and worse than akode, yet it may be
-beter for playing broken or low quality MP3 files than akode.
-
-%description mpeglib -l pl
-Wtyczka dodająca obsługę MPEG do arts daje jakość lepszą od wtyczki
-xine i gorszą akode. Jedynie w przypadku uszkodzonych i niskiej
-jakości MP3 jest lepsza od akode. Obsługuje zarówno dźwięk jak i obraz
-zakodowany w MPEG.
-
-%package mpeglib-devel
-Summary: MPEG libraries - development files
-Summary(pl): Biblioteki obsługi MPEG - pliki dla programistów
-Group: X11/Applications
-Requires: kdelibs-devel >= %{_minlibsevr}
-Requires: %{name}-mpeglib-examples = %{epoch}:%{version}-%{release}
-Conflicts: kdemultimedia-devel < 9:3.1.92.031012
-
-%description mpeglib-devel
-MPEG libraries - development files.
-
-%description mpeglib-devel -l pl
-Biblioteki obsługi MPEG - pliki dla programistów.
-
-%package mpeglib-examples
-Summary: MPEG libraries - examples
-Summary(pl): Biblioteki obsługi MPEG - przykłady
-Group: X11/Applications
-Requires: %{name}-mpeglib = %{epoch}:%{version}-%{release}
-Conflicts: kdemultimedia-mpeglib < 9:3.1.92.031012
-
-%description mpeglib-examples
-MPEG libraries - examples.
-
-%description mpeglib-examples -l pl
-Biblioteki obsługi MPEG - przykłady.
-
-%package noatun
-Summary: KDE Media Player
-Summary(pl): KDE Media Player - odtwarzacz plików multimedialnych
-Group: X11/Applications
-Requires: kdebase-core >= %{_minbaseevr}
-Requires: %{name}-noatun-libs = %{epoch}:%{version}-%{release}
-
-# THIS NEEDS EXTENDING. noatun is a too powerful app to describe with
-# one sentence.
-
-%description noatun
-KDE Media Player.
-
-%description noatun -l pl
-KDE Media Player - odtwarzacz plików multimedialnych.
-
-%package noatun-libs
-Summary: KDE Media Player - shared libs
-Summary(pl): KDE Media Player - biblioteki współdzielone
-Group: X11/Libraries
-Requires: %{name}-arts = %{epoch}:%{version}-%{release}
-Conflicts: kdemultimedia-noatun < 9:3.1.92.031012
-
-%description noatun-libs
-KDE Media Player - shared libs.
-
-%description noatun-libs -l pl
-KDE Media Player - biblioteki współdzielone.
-
%prep
-%setup -q -n %{name}-%{_snap}
-#%patch100 -p1
-#%patch0 -p1
-
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Player;/' \
- -e 's/Terminal=0/Terminal=false/' \
- juk/juk.desktop \
- kscd/kscd.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Midi;Player;/' \
- -e 's/Terminal=0/Terminal=false/' \
- kmid/kmid.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Audio;Midi;/' \
- kappfinder-data/meterbridge.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \
- -e 's/Terminal=0/Terminal=false/' \
- noatun/noatun.desktop \
- kaboodle/kaboodle.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Mixer;/' \
- -e 's/Terminal=0/Terminal=false/' \
- kmix/kmix.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Recorder;/' \
- -e '/\[Desktop Entry\]/aEncoding=UTF-8' -e 's/Terminal=0/Terminal=false/' \
- krec/krec.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Recorder;/' \
- -e '/\[Desktop Entry\]/aEncoding=UTF-8' -e 's/Terminal=0/Terminal=false/' \
- kaudiocreator/kaudiocreator.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Audio;Recorder;/' \
- kappfinder-data/galan.desktop \
- kappfinder-data/mixxx.desktop \
- kappfinder-data/rezound.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Audio;Sequencer;/' \
- kappfinder-data/hydrogen.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Audio;/' \
- kappfinder-data/ecamegapedal.desktop \
- kappfinder-data/freebirth.desktop \
- kappfinder-data/amsynth.desktop \
- kappfinder-data/vkeybd.desktop \
- kappfinder-data/jack-rack.desktop \
- kappfinder-data/jamin.desktop \
- kappfinder-data/ardour.desktop \
- kappfinder-data/qsynth.desktop \
- kappfinder-data/qjackctl.desktop \
- kappfinder-data/muse.desktop \
- kappfinder-data/freqtweak.desktop \
- kappfinder-data/djplay.desktop \
- kappfinder-data/ams.desktop \
- kappfinder-data/zynaddsubfx.desktop
-%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;/' \
- -e 's/Terminal=0/Terminal=false/' \
- arts/tools/artscontrol.desktop \
- arts/builder/artsbuilder.desktop
-%{__sed} -i -e '/\[Desktop Entry\]/aEncoding=UTF-8' \
- libkcddb/kcmcddb/libkcddb.desktop
-for f in `find . -name \*.desktop`; do
- if grep -q '^Categories=.*[^;]$' $f; then
- sed -i -e 's/\(^Categories=.*$\)/\1;/' $f
- fi
- if grep -q '\[ven\]' $f; then
- sed -i -e 's/\[ven\]/[ve]/' $f
- fi
-done
+%setup -q
+%patch0 -p0
-%build
-cp %{_datadir}/automake/config.sub admin
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Player;/' \
+# -e 's/Terminal=0/Terminal=false/' \
+# juk/juk.desktop \
+# kscd/kscd.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Midi;Player;/' \
+# -e 's/Terminal=0/Terminal=false/' \
+# kmid/kmid.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Audio;Midi;/' \
+# kappfinder-data/meterbridge.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \
+# -e 's/Terminal=0/Terminal=false/' \
+# noatun/noatun.desktop \
+# kaboodle/kaboodle.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Mixer;/' \
+# -e 's/Terminal=0/Terminal=false/' \
+# kmix/kmix.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Recorder;/' \
+# -e '/\[Desktop Entry\]/aEncoding=UTF-8' -e 's/Terminal=0/Terminal=false/' \
+# krec/krec.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;Recorder;/' \
+# -e '/\[Desktop Entry\]/aEncoding=UTF-8' -e 's/Terminal=0/Terminal=false/' \
+# kaudiocreator/kaudiocreator.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Audio;Recorder;/' \
+# kappfinder-data/galan.desktop \
+# kappfinder-data/mixxx.desktop \
+# kappfinder-data/rezound.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Audio;Sequencer;/' \
+# kappfinder-data/hydrogen.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Audio;/' \
+# kappfinder-data/ecamegapedal.desktop \
+# kappfinder-data/freebirth.desktop \
+# kappfinder-data/amsynth.desktop \
+# kappfinder-data/vkeybd.desktop \
+# kappfinder-data/jack-rack.desktop \
+# kappfinder-data/jamin.desktop \
+# kappfinder-data/ardour.desktop \
+# kappfinder-data/qsynth.desktop \
+# kappfinder-data/qjackctl.desktop \
+# kappfinder-data/muse.desktop \
+# kappfinder-data/freqtweak.desktop \
+# kappfinder-data/djplay.desktop \
+# kappfinder-data/ams.desktop \
+# kappfinder-data/zynaddsubfx.desktop
+#%{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;Audio;/' \
+# -e 's/Terminal=0/Terminal=false/' \
+# arts/tools/artscontrol.desktop \
+# arts/builder/artsbuilder.desktop
+#%{__sed} -i -e '/\[Desktop Entry\]/aEncoding=UTF-8' \
+# libkcddb/kcmcddb/libkcddb.desktop
+#for f in `find . -name \*.desktop`; do
+# if grep -q '^Categories=.*[^;]$' $f; then
+# sed -i -e 's/\(^Categories=.*$\)/\1;/' $f
+# fi
+# if grep -q '\[ven\]' $f; then
+# sed -i -e 's/\[ven\]/[ve]/' $f
+# fi
+#done
+%build
#export UNSERMAKE=%{_datadir}/unsermake/unsermake
-
-%{__make} -f admin/Makefile.common cvs
-
-export CDPARANOIA=%{_bindir}/cdparanoia
-
-%configure \
- --disable-rpath \
- --enable-final \
- --with%{?without_alsa:out}-arts-alsa \
- --with-extra-includes=%{_includedir}/speex \
- --with-qt-libraries=%{_libdir} \
-%if "%{_lib}" == "lib64"
- --enable-libsuffix=64 \
-%endif
- --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full}
+export QTDIR=%{_prefix}
+mkdir build
+cd build
+%cmake \
+-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ ../
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT \
- kde_htmldir=%{_kdedocdir} \
- kde_libs_htmldir=%{_kdedocdir}
+ kde_htmldir=%{_kdedocdir}
+# kde_libs_htmldir=%{_kdedocdir}
-%find_lang artsbuilder --with-kde
-%find_lang juk --with-kde
-%find_lang kaboodle --with-kde
-%find_lang kio_audiocd --with-kde
-%find_lang kmid --with-kde
-%find_lang kmix --with-kde
+#%find_lang juk --with-kde
+#%find_lang kio_audiocd --with-kde
+#%find_lang kmid --with-kde
+#%find_lang kmix --with-kde
#%find_lang kmixcfg --with-kde
#cat kmixcfg.lang >> kmix.lang
-%find_lang krec --with-kde
-%find_lang kscd --with-kde
-%find_lang noatun --with-kde
+#%find_lang kscd --with-kde
%clean
rm -rf $RPM_BUILD_ROOT
-%post akode -p /sbin/ldconfig
-%postun akode -p /sbin/ldconfig
-
-%post arts -p /sbin/ldconfig
-%postun arts -p /sbin/ldconfig
<<Diff was trimmed, longer than 597 lines>>
---- CVS-web:
http://cvs.pld-linux.org/SPECS/kdemultimedia.spec?r1=1.194.2.1&r2=1.194.2.2&f=u
More information about the pld-cvs-commit
mailing list