Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:EKrava
kdemultimedia3
kdemultimedia3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdemultimedia3.spec of Package kdemultimedia3
# # spec file for package kdemultimedia3 # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: kdemultimedia3 # skip-check-libtool-deps BuildRequires: cdparanoia BuildRequires: cdparanoia-devel BuildRequires: fdupes BuildRequires: flac-devel BuildRequires: kdelibs3-devel BuildRequires: libakode-2-devel BuildRequires: libao-devel %if %suse_version < 1599 BuildRequires: libmusicbrainz-devel BuildRequires: xine-ui %endif BuildRequires: libsamplerate-devel BuildRequires: libtheora-devel BuildRequires: libxine-devel %if %suse_version > 1320 BuildRequires: libmp3lame-devel BuildRequires: mpg123 %endif BuildRequires: pkg-config BuildRequires: speex-devel BuildRequires: taglib-devel BuildRequires: pkgconfig(mad) BuildRequires: libavutil-devel Summary: KDE Multimedia Libraries License: GPL-2.0+ Group: System/GUI/KDE Version: 3.5.10.1 Release: 0 %define kde_version 3.5.10 Url: http://www.kde.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: kdemultimedia-%{kde_version}.tar.bz2 Source1: kscdrc Source2: yahoo_credit.png Source3: %{name}-rpmlintrc Patch0: 3_5_BRANCH.diff Patch2: disable-examples.diff Patch9: initial-preferences.diff Patch11: fix-aliasing.diff Patch12: kmix-autostart.diff Patch13: kmix-default-keybindings.diff Patch14: disable-cddb-usage-by-default.diff Patch15: audiocd-desktop-icon.diff Patch16: desktop-files.diff Patch51: kdemm.diff.bz2 Patch52: kdemultimedia-gcc43.diff Patch53: akode-config.diff Patch55: kdemultimedia-mmx-test.diff Patch56: kdemultimedia-xine.patch Patch57: kdemultimedia-alsa-capture-fix.diff Patch58: kdemultimedia-no-sys-ustat.patch Patch59: kdemultimedia-trinity-fix-rounding-error.patch Patch60: kdemultimedia-trinity-fix-setmute.patch Patch61: kdemultimedia-taglib2.patch Patch62: kdemultimedia-narrowing-conversion.patch Patch63: kdemultimedia-noinline.patch %description This package contains the base libraries for KDE multimedia programs. It also contains the kfile plug-ins for Konqueror (to show additional information about multimedia files). %package devel Requires: kdemultimedia3 = %{version} kdemultimedia3-sound kdelibs3-devel Summary: Include Files and Libraries mandatory for Development License: GPL-2.0+ Group: Development/Libraries/KDE %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %package arts Summary: KDEMM aRts support License: GPL-2.0+ Group: System/GUI/KDE Provides: kdemultimedia3:/opt/kde3/%_lib/libarts_akode.so %description arts The package contains plugins to support arts via the KDEMM framework. %package arts-mad Summary: MPEG/MP3 support for aRts License: GPL-2.0+ Group: System/GUI/KDE %description arts-mad Plugin modules for aRts to play mpeg files. %package -n libmpeg-0_3_0 Summary: MP3 support for KDE License: GPL-2.0+ Group: System/GUI/KDE %description -n libmpeg-0_3_0 Plugins to support MP3 streams in Arts and KDE via the aKode framework. %package mad Summary: MP3 support for KDE License: GPL-2.0+ Group: System/GUI/KDE Requires: mad %description mad Plugins to support MP3 streams in Arts and KDE via the aKode framework. %package jukebox # usesubdirs juk Summary: KDE Jukebox for MP3 and Ogg Vorbis Files # it does not really require it, but juk isn't really usable without License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Players Requires: kdemultimedia3-sound %description jukebox Juk the KDE Jukebox can handle a large number of MP3 or Ogg Vorbis files. It has a very fast search and you can easily edit the title information, even for multiple files at the same time. It can also guess the title information based on file names or by its content with MusicBrainz. %package mixer # usesubdirs kmix Summary: KDE sound mixer License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Players Provides: kdemultimedia3-sound:/opt/kde3/bin/kmix Provides: kdemultimedia3:/opt/kde3/bin/kmix Provides: kdemultimedia:/opt/kde2/bin/kmix %description mixer This package includes applications for your soundcard: kmix - to set all the channels of your soundcard and to define the recording source %package CD # usesubdirs kaudiocreator Summary: KDE Audio CD Tools License: GPL-2.0+ Group: Productivity/Multimedia/CD/Grabbers Provides: kaudiocreator = %{version} Provides: kdemultimedia3:/opt/kde3/bin/kaudiocreator Obsoletes: kaudiocreator < %{version} %description CD This package contains tools to play or read Audio CDs. KAudioCreator - A program to read a CD and write it to the hard disk. It also provides a title editor. audiocd:/ - A kio_slave, enabling Konqueror to show the contents of audio CDs and to read the data. All applications support CDDB which can be configured using the CDDB control center module, also provided by this package. %package sound # usesubdirs mpeglib mpeglib_artsplug audiofile_artsplugin Summary: KDE sound applications and plugins License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Players Provides: kdemultimedia3:/opt/kde3/bin/yaf-tplay %description sound This package includes applications for your soundcard: artsbuilder - to setup complex filter rules for the arts daemon several plugins to play all kind of medias with the kde multimedia sound system (MP3, Ogg, Flac) %package midi # usesubdirs kmid Summary: KDE MIDI File Player License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Midi Provides: kdemultimedia3:/opt/kde3/bin/kmid %description midi This package includes: KMid - plays MIDI files via the hardware %package extra # usesubdirs kaboodle krec arts kscd Summary: Additional KDE Sound Applications License: GPL-2.0 Group: Productivity/Multimedia/Sound/Players Provides: kdemultimedia3:/opt/kde3/bin/kscd Provides: kdemultimedia:/opt/kde2/bin/kscd Requires: kdemultimedia3-CD %description extra This package includes applications for your soundcard: artsbuilder - to setup complex filter rules for the aRts daemon Kaboodle - a small player application for sound files KRec - a recording tool. Records from any configured aRts input source. KsCD - The KDE CD Player %package video-xine # usesubdirs xine_artsplugin noatun/modules/simple Summary: Xine plugin for Noatun License: GPL-2.0+ Group: Productivity/Multimedia/Video/Players %description video-xine The package provides a Xine plugin for Noatun. Xine is a very powerful and complete video player library. %prep %setup -q -n kdemultimedia-%{kde_version} %patch -P 0 %patch -P 2 %patch -P 9 %patch -P 11 %patch -P 12 %patch -P 13 %patch -P 14 %patch -P 15 %patch -P 16 %patch -P 51 %patch -P 52 %patch -P 53 %patch -P 55 -p1 %patch -P 56 -p1 %patch -P 57 -p1 %if %suse_version >= 1550 || (0%{?sle_version} >= 150300 && 0%{?is_opensuse}) %patch -P 58 -p1 %endif %patch -P 59 -p1 %patch -P 60 -p1 %if %suse_version > 1600 %patch -P 61 -p1 %patch -P 62 -p1 %patch -P 63 -p1 %endif rm -rf kappfinder-data rm -rf noatun . /etc/opt/kde3/common_options cp %SOURCE2 juk/pics/ update_admin %build %if %suse_version > 1600 export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -std=gnu++11 -fPIC" %else export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -std=gnu89 -fPIC" %endif . /etc/opt/kde3/common_options export PATH=/opt/kde3/bin:$PATH # alsa in kmid/TIMIDITY is broken atm, I should fix this, but ... AUDIO="oss,alsa" export LDFLAGS="$LDFLAGS -lpthread -Wl,--add-needed" ./configure \ $configkde \ --enable-audio=$AUDIO \ --with-kscd-cdda \ --without-polypaudio \ --without-gstreamer \ --with-theora \ --with-flac \ --with-xine=yes \ --disable-final \ --enable-sdl %ifarch %iZ86 # # build xmm (SSE) first # glibc 2.2.3 or higher is needed # sed -e 's@#define INTEL.*@#undef INTEL@' config.h > config.h.non_xmm sed -e 's@.*#undef INTEL.*@#define INTEL 1@' config.h.non_xmm > config.h %endif make %{?_smp_mflags} %install . /etc/opt/kde3/common_options make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET install -m 0755 -d $RPM_BUILD_ROOT/opt/kde3/share/config mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64}/apps/ for i in {16,22,32,48,64}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/devices/cdaudio_unmount.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmaudiocd.png;done # we need to remove these in any case to avoid mp3 encoding support rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/kde3/libkrecexport_mp3.* rm -f $RPM_BUILD_ROOT/opt/kde3/share/services/krec_exportmp3.desktop %ifarch %iZ86 # # move libs one level deeper to .../xmm/ # LIB="${RPM_BUILD_ROOT}/opt/kde3/lib" mkdir -p "${LIB}/xmm" for i in ${LIB}/libmpeg.so ${LIB}/libmpeg-*.so \ ${LIB}/libyaf*.so ${LIB}/libyaf*.so.? ${LIB}/libyaf*.so.?.?.? \ ; do mv "$i" "${LIB}/xmm/" done # # build and install non-xmm libs # mv config.h.non_xmm config.h cd mpeglib make clean make make DESTDIR=$RPM_BUILD_ROOT install %endif # # move cddb directory outside /opt (possibly read-only mounted) # mkdir -p ${RPM_BUILD_ROOT}/var/cache/ rm -rf ${RPM_BUILD_ROOT}/var/cache/cddb # drop noatun documentation: noatun has been removed rm -rf %{buildroot}/opt/kde3/share/doc/HTML/en/noatun # every KDE >= 3.1.1 doesn't have them, but remove them from 3.1 too %suse_update_desktop_file krec AudioVideo Recorder %suse_update_desktop_file kmid AudioVideo Midi %suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing %suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing %suse_update_desktop_file kmix AudioVideo Mixer %suse_update_desktop_file kaboodle AudioVideo Player %suse_update_desktop_file kaudiocreator AudioVideo CD %suse_update_desktop_file kscd AudioVideo Player CD %suse_update_desktop_file juk AudioVideo Player Jukebox %suse_update_desktop_file audiocd # # avoid double menus # rm -rf $RPM_BUILD_ROOT/etc/xdg/menus/applications-merged rm -rf $RPM_BUILD_ROOT/opt/kde3/share/desktop-directories # # we do not have NMM yet # rm -f $RPM_BUILD_ROOT/opt/kde3/share/services/kdemmbackends/nmm.desktop %fdupes -s /opt/kde3/share kde_post_install %pre extra if [ ! -e var/cache/cddb -a -d var/cache -a -d opt/kde3/share/apps/kscd/cddb -a ! -L opt/kde3/share/apps/kscd/cddb ]; then mv opt/kde3/share/apps/kscd/cddb var/cache/cddb chmod 1777 var/cache/cddb/* fi if [ ! -e var/cache/cddb -a -d var/cache -a -d opt/kde2/share/apps/kscd/cddb -a ! -L opt/kde2/share/apps/kscd/cddb ]; then mv opt/kde2/share/apps/kscd/cddb var/cache/cddb chmod 1777 var/cache/cddb/* fi if [ -d opt/kde3/share/apps/kscd/cddb -a ! -L opt/kde3/share/apps/kscd/cddb ]; then mv opt/kde3/share/apps/kscd/cddb opt/kde3/share/apps/kscd/cddb.REMOVE fi %post extra -p /sbin/ldconfig %postun extra -p /sbin/ldconfig %post arts -p /sbin/ldconfig %post arts-mad -p /sbin/ldconfig %post -n libmpeg-0_3_0 -p /sbin/ldconfig %post video-xine -p /sbin/ldconfig %post mixer -p /sbin/ldconfig %postun mixer -p /sbin/ldconfig %post midi -p /sbin/ldconfig %postun midi -p /sbin/ldconfig %post sound -p /sbin/ldconfig %postun sound -p /sbin/ldconfig %postun arts -p /sbin/ldconfig %postun arts-mad -p /sbin/ldconfig %postun -n libmpeg-0_3_0 -p /sbin/ldconfig %postun video-xine -p /sbin/ldconfig %post CD -p /sbin/ldconfig %postun CD -p /sbin/ldconfig %files %defattr(-,root,root) %dir /opt/kde3/share/config.kcfg %dir /opt/kde3/share/icons/*/* %dir /opt/kde3/share/icons/*/*/* /opt/kde3/%_lib/kde3/kfile_* /opt/kde3/share/services/kfile_* /opt/kde3/share/icons/*/*/*/artsaudiomanager.* /opt/kde3/share/icons/*/*/*/artsenvironment.* /opt/kde3/share/icons/*/*/*/artsfftscope.* /opt/kde3/share/icons/*/*/*/artsmediatypes.* /opt/kde3/share/icons/*/*/*/artsmidimanager.* /opt/kde3/share/icons/*/*/*/artscontrol.* %dir /opt/kde3/share/services/kdemmbackends /opt/kde3/share/services/kdemmbackends/kdemm_akode.desktop /opt/kde3/%_lib/kde3/kdemm_akode.la /opt/kde3/%_lib/kde3/kdemm_akode.so %files arts %defattr(-,root,root) /opt/kde3/%_lib/libarts_akode.* /opt/kde3/%_lib/mcop/akodeMPCPlayObject.mcopclass /opt/kde3/%_lib/mcop/akodeSpeexStreamPlayObject.mcopclass /opt/kde3/%_lib/mcop/akodeVorbisStreamPlayObject.mcopclass /opt/kde3/%_lib/mcop/akodeXiphPlayObject.mcopclass /opt/kde3/%_lib/mcop/akodePlayObject.mcopclass /opt/kde3/%_lib/mcop/akodearts.mcopclass /opt/kde3/%_lib/mcop/akodearts.mcoptype /opt/kde3/%_lib/kde3/kdemm_arts.* /opt/kde3/share/services/kdemmbackends/kdemm_arts.desktop /opt/kde3/%_lib/libartscontrol* /opt/kde3/%_lib/mcop/artsbuilder.mcop* %files -n libmpeg-0_3_0 %defattr(-,root,root) /opt/kde3/%_lib/libmpeg-0.3.0.so %files mad %defattr(-,root,root) /opt/kde3/%_lib/libmpeg.so /opt/kde3/%_lib/libmpeg.la %files arts-mad %defattr(-,root,root) /opt/kde3/bin/mpeglibartsplay /opt/kde3/%_lib/libarts_mpeglib* /opt/kde3/%_lib/libarts_splay.* /opt/kde3/%_lib/mcop/MP3PlayObject.mcopclass /opt/kde3/%_lib/mcop/CDDAPlayObject.mcopclass /opt/kde3/%_lib/mcop/NULLPlayObject.mcopclass /opt/kde3/%_lib/mcop/OGGPlayObject.mcopclass /opt/kde3/%_lib/mcop/SplayPlayObject.mcopclass /opt/kde3/%_lib/mcop/WAVPlayObject.mcopclass %files CD %defattr(-,root,root) /opt/kde3/bin/kaudiocreator /opt/kde3/%_lib/kde3/kcm_audiocd.* /opt/kde3/%_lib/kde3/kcm_cddb.* /opt/kde3/%_lib/kde3/kio_audiocd.* /opt/kde3/%_lib/kde3/libaudiocd_encoder_* /opt/kde3/%_lib/libkcddb.so.* /opt/kde3/%_lib/libaudiocdplugins.* /opt/kde3/share/applications/kde/audiocd.desktop /opt/kde3/share/applications/kde/kaudiocreator.desktop /opt/kde3/share/applications/kde/libkcddb.desktop /opt/kde3/share/apps/kaudiocreator /opt/kde3/share/apps/kconf_update/kaudiocreator-libkcddb.upd /opt/kde3/share/config.kcfg/libkcddb.kcfg /opt/kde3/share/config.kcfg/kaudiocreator* /opt/kde3/share/config.kcfg/audiocd_lame_encoder.kcfg /opt/kde3/share/config.kcfg/audiocd_vorbis_encoder.kcfg /opt/kde3/share/apps/kconf_update/audiocd.upd /opt/kde3/share/apps/kconf_update/kaudiocreator-meta.upd /opt/kde3/share/apps/kconf_update/upgrade-kaudiocreator-metadata.sh /opt/kde3/share/apps/kconf_update/upgrade-metadata.sh /opt/kde3/share/apps/kconf_update/kcmcddb-emailsettings.upd %doc %lang(en) /opt/kde3/share/doc/HTML/en/kaudiocreator %doc %lang(en) /opt/kde3/share/doc/HTML/en/kioslave /opt/kde3/share/icons/*/*/*/kcmaudiocd.png /opt/kde3/share/icons/*/*/*/kaudiocreator.png /opt/kde3/share/services/audiocd.protocol /opt/kde3/share/apps/konqueror/servicemenus/audiocd_extract.desktop %files devel %defattr(-,root,root) /opt/kde3/include/* /opt/kde3/%_lib/libkcddb.so /opt/kde3/%_lib/libkmidlib.so /opt/kde3/%_lib/libkcddb.la /opt/kde3/%_lib/libkmidlib.la %files extra %defattr(-,root,root) /opt/kde3/bin/arts* /opt/kde3/bin/kaboodle /opt/kde3/bin/krec /opt/kde3/bin/midisend /opt/kde3/bin/kscd /opt/kde3/bin/workman2cddb.pl /opt/kde3/%_lib/kde3/kcm_krec* /opt/kde3/%_lib/kde3/krec.* /opt/kde3/%_lib/kde3/libkaboodlepart.* /opt/kde3/%_lib/kde3/libkrecexport_* /opt/kde3/%_lib/libkdeinit_krec.* /opt/kde3/share/applications/kde/arts* /opt/kde3/share/applications/kde/kaboodle.desktop /opt/kde3/share/applications/kde/krec.desktop /opt/kde3/share/applications/kde/kscd.desktop /opt/kde3/share/apps/arts* /opt/kde3/share/apps/kaboodle /opt/kde3/share/apps/kicker/applets/artscontrolapplet.desktop /opt/kde3/share/apps/krec /opt/kde3/share/apps/kscd /opt/kde3/share/icons/*/*/*/artsbuilderexecute.* /opt/kde3/share/icons/*/*/*/kaboodle.* /opt/kde3/share/icons/*/*/*/krec.* /opt/kde3/share/icons/*/*/apps/artsbuilder.* /opt/kde3/share/icons/*/*/*/kscd.png /opt/kde3/share/mimelnk/application/x-artsbuilder.desktop /opt/kde3/share/mimelnk/text/xmcd.desktop /opt/kde3/share/services/kaboodle* /opt/kde3/share/services/kcm_krec* /opt/kde3/share/services/krec_export* /opt/kde3/share/servicetypes/krec_exportitem.desktop /opt/kde3/share/config.kcfg/kscd.kcfg /opt/kde3/share/apps/konqueror/servicemenus/audiocd_play.desktop /opt/kde3/share/apps/profiles %doc %lang(en) /opt/kde3/share/doc/HTML/en/artsbuilder %doc %lang(en) /opt/kde3/share/doc/HTML/en/kaboodle %doc %lang(en) /opt/kde3/share/doc/HTML/en/krec %doc %lang(en) /opt/kde3/share/doc/HTML/en/kscd %files midi %defattr(-,root,root) /opt/kde3/bin/kmid /opt/kde3/%_lib/kde3/libkmidpart.* /opt/kde3/%_lib/libkmidlib.so.* /opt/kde3/share/applications/kde/kmid.desktop /opt/kde3/share/apps/kmid /opt/kde3/share/icons/*/*/*/kmid.png /opt/kde3/share/mimelnk/audio/x-karaoke.desktop /opt/kde3/share/servicetypes/audiomidi.desktop %files jukebox %defattr(-,root,root) %dir /opt/kde3/share/apps/konqueror %dir /opt/kde3/share/apps/konqueror/servicemenus /opt/kde3/bin/juk /opt/kde3/share/applications/kde/juk.desktop /opt/kde3/share/apps/juk /opt/kde3/share/icons/*/*/*/juk.png /opt/kde3/share/icons/*/*/*/juk_*.png /opt/kde3/share/apps/konqueror/servicemenus/jukservicemenu.desktop %doc %lang(en) /opt/kde3/share/doc/HTML/en/juk %files sound %defattr(-,root,root) /opt/kde3/%_lib/libartsbuilder.* /opt/kde3/%_lib/libarts_audiofile* /opt/kde3/%_lib/libartsm* /opt/kde3/%_lib/libartsgui* /opt/kde3/%_lib/mcop/Arts/audiofilePlayObject.mcopclass /opt/kde3/%_lib/mcop/Arts/ArtsBuilderLoader.mcopclass /opt/kde3/%_lib/mcop/Arts/Button.mcopclass /opt/kde3/%_lib/mcop/Arts/E* /opt/kde3/%_lib/mcop/Arts/F* /opt/kde3/%_lib/mcop/Arts/G* /opt/kde3/%_lib/mcop/Arts/HBox.mcopclass /opt/kde3/%_lib/mcop/Arts/L* /opt/kde3/%_lib/mcop/Arts/M* /opt/kde3/%_lib/mcop/Arts/Po* /opt/kde3/%_lib/mcop/Arts/S* /opt/kde3/%_lib/mcop/Arts/V* /opt/kde3/%_lib/mcop/Arts/Widget.mcopclass /opt/kde3/%_lib/mcop/artsgui.mcop* /opt/kde3/%_lib/mcop/artsm* /opt/kde3/%_lib/mcop/audiofilearts.mcop* %files mixer %defattr(-,root,root) %dir /opt/kde3/share/apps/kicker %dir /opt/kde3/share/apps/kicker/applets /opt/kde3/bin/kmix* /opt/kde3/%_lib/kde3/kmix* /opt/kde3/%_lib/libkdeinit_kmix* /opt/kde3/share/applications/kde/kmix* /opt/kde3/share/autostart/restore_kmix_volumes.desktop /opt/kde3/share/apps/kicker/applets/kmixapplet.desktop /opt/kde3/share/apps/kmix /opt/kde3/share/icons/*/*/*/kmix.png /opt/kde3/share/services/kmixctrl_restore.desktop %doc %lang(en) /opt/kde3/share/doc/HTML/en/kmi* %files video-xine %defattr(-,root,root) /opt/kde3/%_lib/kde3/videothumbnail.* /opt/kde3/%_lib/libarts_xine.* /opt/kde3/%_lib/mcop/xine*.mcopclass /opt/kde3/share/apps/videothumbnail /opt/kde3/share/services/videothumbnail.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor