diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-18 10:58:04 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-18 10:58:04 +0200 |
commit | acae5dbbc8381b3f22daadcc40b0a42e45e0cefe (patch) | |
tree | 73ddd27bf67c45b5dfb74768ecb417dec6b80bdf | |
parent | 7c0ebbd53540689d2fdd5c496bc755f1f3f58c10 (diff) | |
download | tde-packaging-acae5dbbc8381b3f22daadcc40b0a42e45e0cefe.tar.gz tde-packaging-acae5dbbc8381b3f22daadcc40b0a42e45e0cefe.zip |
RPM Packaging: update R14 packages
-rw-r--r-- | redhat/tdebase/tdebase-14.0.0.spec | 61 | ||||
-rw-r--r-- | redhat/tdegraphics/tdegraphics-14.0.0.spec | 8 | ||||
-rw-r--r-- | redhat/tdelibs/tdelibs-14.0.0.spec | 4 | ||||
-rw-r--r-- | redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec | 121 | ||||
-rw-r--r-- | redhat/tdewebdev/tdewebdev-14.0.0.spec | 4 |
5 files changed, 140 insertions, 58 deletions
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec index ea0cfe29f..fb45a4ed7 100644 --- a/redhat/tdebase/tdebase-14.0.0.spec +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -1135,8 +1135,10 @@ plugdev group. %{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop %{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop %{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop +%{tde_datadir}/apps/kcmview1394/ %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/usb.ids %{tde_datadir}/mimelnk/application/x-ktheme.desktop %{tde_datadir}/mimelnk/fonts/folder.desktop %{tde_datadir}/mimelnk/fonts/package.desktop @@ -1150,7 +1152,6 @@ plugdev group. %{tde_datadir}/services/kuriikwsfilter.desktop %{tde_datadir}/services/kurisearchfilter.desktop %{tde_datadir}/services/localdomainurifilter.desktop -%{tde_tdedocdir}/HTML/en/tdefontview/ %{tde_datadir}/icons/hicolor/*/apps/kcmcolors.png %{tde_datadir}/icons/hicolor/*/apps/kcmcomponentchooser.png %{tde_datadir}/icons/hicolor/*/apps/kcmdesktop.png @@ -1172,9 +1173,7 @@ plugdev group. %{tde_datadir}/icons/hicolor/*/apps/kcmkhtml_filter.png %{tde_datadir}/icons/hicolor/*/apps/kcmsmserver.png %{tde_datadir}/icons/hicolor/*/apps/kcmspellchecking.png - -%{tde_datadir}/apps/usb.ids -%{tde_datadir}/apps/kcmview1394/ +%{tde_tdedocdir}/HTML/en/tdefontview/ # The following features are not compiled under RHEL 5 and older %if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} @@ -1336,6 +1335,16 @@ TDE applications, particularly those in the TDE base module. %attr(4755,root,root) %{tde_bindir}/tdekbdledsync %endif +# SUSE's runupdater utility +%if 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%{tde_bindir}/runupdater +%{tde_libdir}/libtdeinit_runupdater.la +%{tde_libdir}/libtdeinit_runupdater.so +%{tde_tdelibdir}/runupdater.la +%{tde_tdelibdir}/runupdater.so +%{tde_datadir}/apps/autostart/runupdater.desktop +%endif + %post bin /sbin/ldconfig || : update-desktop-database %{tde_appdir} 2> /dev/null || : @@ -3686,28 +3695,28 @@ popd # Updates applications categories for openSUSE %if 0%{?suse_version} # Other applications -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Help.desktop Documentation Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Home.desktop System FileManager core -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kate.desktop TextEditor -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KControl.desktop X-SuSE-core -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Kfind.desktop System Filesystem core -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kjobviewer.desktop PrintingUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/klipper.desktop System TrayIcon -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kmenuedit.desktop Core-Configuration -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/knetattach.desktop System Network -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konqbrowser.desktop WebBrowser -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konquerorsu.desktop System FileManager -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsole.desktop TerminalEmulator -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsolesu.desktop TerminalEmulator -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpager.desktop Utility DesktopUtility -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpersonalizer.desktop DesktopUtility -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/ksysguard.desktop System Monitor -%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/ktip.desktop System Utility -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kwrite.desktop TextEditor -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeprintfax.desktop PrintingUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdefontview.desktop Graphics Viewer -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tderandrtray.desktop Applet X-TDE-settings-desktop -%suse_update_desktop_file %{?buildroot}%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop System FileManager +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Help.desktop Documentation Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Home.desktop System FileManager core +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kate.desktop TextEditor +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KControl.desktop X-SuSE-core +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Kfind.desktop System Filesystem core +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kjobviewer.desktop PrintingUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/klipper.desktop System TrayIcon +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kmenuedit.desktop Core-Configuration +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/knetattach.desktop System Network +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konqbrowser.desktop WebBrowser +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konquerorsu.desktop System FileManager +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsole.desktop TerminalEmulator +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsolesu.desktop TerminalEmulator +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpager.desktop Utility DesktopUtility +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpersonalizer.desktop DesktopUtility +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/ksysguard.desktop System Monitor +%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/ktip.desktop System Utility +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kwrite.desktop TextEditor +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeprintfax.desktop PrintingUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdefontview.desktop Graphics Viewer +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tderandrtray.desktop Applet X-TDE-settings-desktop +%suse_update_desktop_file %{?buildroot}%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop System FileManager %endif # Icons from TDE Control Center should only be displayed in TDE diff --git a/redhat/tdegraphics/tdegraphics-14.0.0.spec b/redhat/tdegraphics/tdegraphics-14.0.0.spec index 3e6a7a35d..221ccc61d 100644 --- a/redhat/tdegraphics/tdegraphics-14.0.0.spec +++ b/redhat/tdegraphics/tdegraphics-14.0.0.spec @@ -62,7 +62,7 @@ BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: cmake >= 2.8 BuildRequires: gettext -BuildRequires: automake libtool +BuildRequires: libtool # LIBUSB support BuildRequires: libusb-devel @@ -202,9 +202,12 @@ BuildRequires: fribidi-devel %endif # kmrml -#define build_kmrml 1 +%define build_kmrml 1 +%if 0%{?build_kmrml} #Requires: gift +%else Obsoletes: trinity-kmrml +%endif Obsoletes: trinity-kdegraphics < %{version}-%{release} Provides: trinity-kdegraphics = %{version}-%{release} @@ -764,7 +767,6 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : %package -n trinity-kpdf Summary: PDF viewer for Trinity Group: Applications/Graphics -#Recommends: kghostview-trinity (= ${binary:Version}) %description -n trinity-kpdf KPDF allows you to view PDF (Portable Document Format) files. This package diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec index ee7386975..9ed038a4b 100644 --- a/redhat/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/tdelibs/tdelibs-14.0.0.spec @@ -253,12 +253,12 @@ BuildRequires: xz-devel %endif # Certificates support -%if 0%{?rhel} >= 6 || 0%{?fedora} +%if 0%{?rhel} == 6 || 0%{?fedora} %define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt BuildRequires: ca-certificates Requires: ca-certificates %endif -%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 7 %define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt Requires: openssl %endif diff --git a/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec b/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec index eedd4955e..21a6019f3 100644 --- a/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec +++ b/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec @@ -22,6 +22,7 @@ # TDE variables %define tde_epoch 1 %define tde_version 3.5.13.2 +%define tde_pkg tdemultimedia %define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share @@ -39,7 +40,7 @@ %endif -Name: trinity-tdemultimedia +Name: trinity-%{tde_pkg} Summary: Multimedia applications for the Trinity Desktop Environment (TDE) Version: %{tde_version} Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant} @@ -72,24 +73,38 @@ Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif # TAGLIB support -%define _with_taglib --with-taglib +%define with_taglib 1 BuildRequires: taglib-devel # AKODE support -%define _with_akode --with-akode +%if 0%{?with_akode} BuildRequires: trinity-akode-devel -BuildRequires: trinity-akode-libmad +%{?with_mad:BuildRequires: trinity-akode-libmad} +%endif BuildRequires: desktop-file-utils BuildRequires: zlib-devel # MUSICBRAINZ support ## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define _with_musicbrainz --with-musicbrainz +#define with_musicbrainz 1 #BuildRequires: libmusicbrainz-devel libtunepimp-devel # Audio libraries @@ -99,6 +114,11 @@ BuildRequires: libtheora-devel BuildRequires: alsa-lib-devel BuildRequires: cdparanoia +# NAS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: nas-devel +%endif + # CDDA support %if 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: libcdda-devel @@ -150,11 +170,10 @@ BuildRequires: xorg-x11-devel %if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 BuildRequires: libXxf86dga-devel BuildRequires: libXxf86vm-devel -BuildRequires: libXt-devel %endif # XINE support -%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?with_xine} %define with_xine 1 %if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?pclinuxos} @@ -172,8 +191,10 @@ BuildRequires: libxine-devel %endif # LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%if 0%{?opensuse_bs} == 0 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?with_lame} %define with_lame 1 + %if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?pclinuxos} BuildRequires: liblame-devel @@ -181,12 +202,16 @@ BuildRequires: liblame-devel BuildRequires: %{_lib}lame-devel %endif %endif + %if 0%{?suse_version} BuildRequires: libmp3lame-devel %endif + %if 0%{?fedora} || 0%{?rhel} BuildRequires: lame-devel %endif + +%endif %endif Requires: trinity-artsbuilder = %{version}-%{release} @@ -200,9 +225,9 @@ Requires: trinity-tdemid = %{version}-%{release} Requires: trinity-kmix = %{version}-%{release} Requires: trinity-krec = %{version}-%{release} Requires: trinity-kscd = %{version}-%{release} -Requires: trinity-libarts-akode = %{version}-%{release} +%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} Requires: trinity-libarts-audiofile = %{version}-%{release} -Requires: trinity-libarts-mpeglib = %{version}-%{release} +%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} %{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} Requires: trinity-libkcddb = %{version}-%{release} Requires: trinity-mpeglib = %{version}-%{release} @@ -211,7 +236,7 @@ Requires: trinity-noatun = %{version}-%{release} %description The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The %{name} package contains multimedia applications for +System. The tdemultimedia package contains multimedia applications for TDE, including: artsbuilder, Synthesizer designer for aRts juk, a media player @@ -231,6 +256,7 @@ TDE, including: %package -n trinity-artsbuilder Summary: Synthesizer designer for aRts Group: Applications/Multimedia +Requires: trinity-kicker >= %{tde_version} %description -n trinity-artsbuilder This is the analog Realtime synthesizer's graphical design tool. @@ -457,7 +483,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : ########## %package -n trinity-kaboodle -Summary: light, embedded media player for Trinity +Summary: Light, embedded media player for Trinity Group: Applications/Multimedia %if 0%{?with_xine} @@ -541,7 +567,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : ########## %package kfile-plugins -Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile +Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile Group: Applications/Multimedia %description kfile-plugins @@ -586,25 +612,27 @@ au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. ########## %package kappfinder-data -Summary: multimedia data for kappfinder-trinity +Summary: Multimedia data for kappfinder Group: Applications/Multimedia -Requires: trinity-kappfinder +Requires: trinity-kappfinder >= %{tde_version} +Requires: trinity-tdebase-runtime-data-common >= %{tde_version} %description kappfinder-data This package provides data on multimedia applications for kappfinder. %files kappfinder-data %defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/* +%{tde_datadir}/apps/kappfinder/ %{tde_datadir}/desktop-directories/tde-multimedia-music.directory -%{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu +%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu ########## %package tdeio-plugins Summary: Enables the browsing of audio CDs under Konqueror Group: Applications/Multimedia +Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} @@ -690,6 +718,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : %package -n trinity-kmix Summary: Sound mixer applet for Trinity Group: Applications/Multimedia +Requires: trinity-kicker >= %{tde_version} %description -n trinity-kmix This package includes TDE's dockable sound mixer applet. @@ -749,7 +778,7 @@ This is a sound recording utility for Trinity. %{tde_tdelibdir}/kcm_krec_files.so %{tde_tdelibdir}/krec.la %{tde_tdelibdir}/krec.so -%if %{?with_lame} +%if 0%{?with_lame} %{tde_tdelibdir}/libkrecexport_mp3.la %{tde_tdelibdir}/libkrecexport_mp3.so %{tde_datadir}/services/krec_exportmp3.desktop @@ -823,6 +852,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : ########## +%if 0%{?with_akode} %package -n trinity-libarts-akode Summary: Akode plugin for aRts Group: Environment/Libraries @@ -843,13 +873,14 @@ This package contains akode plugins for aRts. %{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass # Requires MAD support -%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass +%{?with_mad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} %post -n trinity-libarts-akode /sbin/ldconfig %postun -n trinity-libarts-akode /sbin/ldconfig +%endif ########## @@ -876,6 +907,7 @@ This package contains audiofile plugins for aRts. ########## +%if 0%{?with_mpeg} %package -n trinity-libarts-mpeglib Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video Group: Environment/Libraries @@ -905,12 +937,13 @@ This is the arts (TDE Sound daemon) plugin. %postun -n trinity-libarts-mpeglib /sbin/ldconfig +%endif ########## %if 0%{?with_xine} %package -n trinity-libarts-xine -Summary: aRts plugin enabling xine support +Summary: ARTS plugin enabling xine support Group: Environment/Libraries %description -n trinity-libarts-xine @@ -942,6 +975,7 @@ multimedia engine though aRts. %package -n trinity-libkcddb Summary: CDDB library for Trinity Group: Environment/Libraries +Requires: trinity-kcontrol >= %{tde_version} %description -n trinity-libkcddb The Trinity native CDDB (CD Data Base) library, providing easy access to Audio @@ -985,7 +1019,9 @@ and WAV playback %{tde_bindir}/yaf-tplay %{tde_bindir}/yaf-vorbis %{tde_bindir}/yaf-yuv +%if 0%{?with_mpeg} %{tde_libdir}/libmpeg-0.3.0.so +%endif %{tde_libdir}/libyafcore.so %{tde_libdir}/libyafxplayer.so @@ -1000,6 +1036,7 @@ and WAV playback %package -n trinity-noatun Summary: Media player for Trinity Group: Applications/Multimedia +Requires: trinity-tdebase-bin >= %{tde_version} # 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 %if 0%{?mgaversion} || 0%{?mdkversion} @@ -1116,11 +1153,17 @@ noatun plugins. %files devel %defattr(-,root,root,-) %{tde_includedir}/* +%if 0%{?with_akode} %{tde_libdir}/libarts_akode.so +%endif %{tde_libdir}/libarts_audiofile.so +%if 0%{?with_mpeg} %{tde_libdir}/libarts_mpeglib.so %{tde_libdir}/libarts_splay.so -%{?with_xine:%{tde_libdir}/libarts_xine.so} +%endif +%if 0%{?with_xine} +%{tde_libdir}/libarts_xine.so +%endif %{tde_libdir}/libartsbuilder.so %{tde_libdir}/libartscontrolapplet.so %{tde_libdir}/libartscontrolsupport.so @@ -1144,8 +1187,10 @@ noatun plugins. %{tde_libdir}/libkdeinit_noatun.la %{tde_libdir}/libkmidlib.la %{tde_libdir}/libkmidlib.so +%if 0%{?with_mpeg} %{tde_libdir}/libmpeg.la %{tde_libdir}/libmpeg.so +%endif %{tde_libdir}/libnoatun.la %{tde_libdir}/libnoatun.so %{tde_libdir}/libnoatuncontrols.la @@ -1183,6 +1228,9 @@ noatun plugins. %__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" %__make -f "admin/Makefile.common" +# Update icons for some control center modules +%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" + %build unset QTDIR QTINC QTLIB @@ -1221,10 +1269,10 @@ fi --with-vorbis \ --with-alsa \ --with-gstreamer \ - --with-lame \ - %{?_with_akode} %{!?_with_akode:--without-akode} \ - %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ - %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?with_lame:--with-lame} %{!?with_lame:--without-lame} \ + %{?with_akode:--with-akode} %{!?with_akode:--without-akode} \ + %{?with_musicbrainz:--with-musicbrainz} %{!?with_musicbrainz:--without-musicbrainz} \ + %{?with_taglib:--with-taglib} %{!?with_taglib:--without-taglib} \ %{?with_xine:--with-xine} %{!?with_xine:--without-xine} %__make %{?_smp_mflags} || %__make @@ -1235,6 +1283,26 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{?buildroot} %__make install DESTDIR=%{buildroot} +# Disable MPEG support entirely +%if 0%{?with_mpeg} == 0 + %__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay + %__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* + %__rm %{?buildroot}%{tde_libdir}/libarts_splay.* + %__rm %{?buildroot}%{tde_libdir}/libmpeg* + %__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass + %__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass + %__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass + %__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass + %__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass + %__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass +%endif + +# Copy missing icons from 'crystalsvg' theme (tdelibs) +mkdir -p $RPM_BUILD_ROOT%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64}/apps/ +pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ +for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/cdaudio_unmount.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png;done +popd + # Updates applications categories for openSUSE %if 0%{?suse_version} %suse_update_desktop_file krec AudioVideo Recorder @@ -1250,6 +1318,9 @@ export PATH="%{tde_bindir}:${PATH}" %suse_update_desktop_file audiocd %endif +# Symlinks duplicate files +%fdupes -s "%{?buildroot}%{tde_datadir}" + %clean %__rm -rf %{buildroot} diff --git a/redhat/tdewebdev/tdewebdev-14.0.0.spec b/redhat/tdewebdev/tdewebdev-14.0.0.spec index b8add696a..8fe5cccb9 100644 --- a/redhat/tdewebdev/tdewebdev-14.0.0.spec +++ b/redhat/tdewebdev/tdewebdev-14.0.0.spec @@ -432,11 +432,11 @@ This package is part of TDE, as a component of the TDE web development module. %{tde_tdedocdir}/HTML/en/xsldbg/ %{tde_datadir}/icons/hicolor/*/actions/1downarrow.png %{tde_datadir}/icons/hicolor/*/actions/configure.png -%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png +#%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png %{tde_datadir}/icons/hicolor/*/actions/hash.png %{tde_datadir}/icons/hicolor/*/actions/mark.png %{tde_datadir}/icons/hicolor/*/actions/next.png -%{tde_datadir}/icons/hicolor/*/actions/system-run.png +#%{tde_datadir}/icons/hicolor/*/actions/system-run.png %{tde_datadir}/icons/hicolor/*/actions/step.png %{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png %{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png |