summaryrefslogtreecommitdiffstats
path: root/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-12 14:29:21 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-12 14:29:21 +0200
commit06bb91edd22d09020cd4fc8336edd0ae75c24b00 (patch)
treef751e294068c0a366382f605209b886934f5f65a /redhat/tdemultimedia/tdemultimedia-14.0.0.spec
parent53fefa83f5556c1aa47f46cfdefbde7745d23ef7 (diff)
downloadtde-packaging-06bb91edd22d09020cd4fc8336edd0ae75c24b00.tar.gz
tde-packaging-06bb91edd22d09020cd4fc8336edd0ae75c24b00.zip
RPM packaging: update tdemultimedia
Diffstat (limited to 'redhat/tdemultimedia/tdemultimedia-14.0.0.spec')
-rw-r--r--redhat/tdemultimedia/tdemultimedia-14.0.0.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
index 29a9a5acf..bb696d17f 100644
--- a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
+++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
@@ -82,9 +82,10 @@ BuildRequires: fdupes
BuildRequires: taglib-devel
# AKODE support
-%define with_akode 1
+%if 0%{?with_akode}
BuildRequires: trinity-akode-devel
%{?with_mad:BuildRequires: trinity-akode-libmad}
+%endif
BuildRequires: desktop-file-utils
BuildRequires: zlib-devel
@@ -203,7 +204,7 @@ 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}
%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}}
%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}}
@@ -214,7 +215,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
@@ -828,6 +829,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
@@ -855,6 +857,7 @@ This package contains akode plugins for aRts.
%postun -n trinity-libarts-akode
/sbin/ldconfig
+%endif
##########
@@ -1126,7 +1129,9 @@ noatun plugins.
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/*
+%if 0%{?with_akode}
%{tde_libdir}/libarts_akode.so
+%endif
%{tde_libdir}/libarts_audiofile.so
%{tde_libdir}/libarts_mpeglib.so
%{tde_libdir}/libarts_splay.so