From a400b73a2fd2e3366c47465fe2b86b8fcd78f593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 12 Oct 2014 15:53:02 +0200 Subject: RPM packaging: update tdemultimedia --- redhat/tdemultimedia/tdemultimedia-14.0.0.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec index e70290a78..30bb5356e 100644 --- a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec +++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec @@ -81,6 +81,8 @@ BuildRequires: fdupes # SUSE desktop files utility %if 0%{?suse_version} BuildRequires: update-desktop-files +# for xdg-menu script +BuildRequires: brp-check-trinity %endif # TAGLIB support @@ -108,6 +110,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 @@ -162,7 +169,7 @@ BuildRequires: libXxf86vm-devel %endif # XINE support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?with_xine} +%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} @@ -1271,7 +1278,7 @@ export PATH="%{tde_bindir}:${PATH}" # 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 +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 -- cgit v1.2.1