summaryrefslogtreecommitdiffstats
path: root/redhat/applications/multimedia/soundkonverter/soundkonverter.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2024-05-09 20:50:37 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2024-05-09 20:50:37 +0200
commitc6d21f1119dd7eb5a1395a8d4640f837223f1ea3 (patch)
tree214cd960ed83db6ae7931d46e7f883b966150e01 /redhat/applications/multimedia/soundkonverter/soundkonverter.spec
parent2af6f1823f0e7b5fd6bac85f95e0881ff7d41506 (diff)
downloadtde-packaging-c6d21f1119dd7eb5a1395a8d4640f837223f1ea3.tar.gz
tde-packaging-c6d21f1119dd7eb5a1395a8d4640f837223f1ea3.zip
RPM: initial support for OpenMandriva
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/applications/multimedia/soundkonverter/soundkonverter.spec')
-rw-r--r--redhat/applications/multimedia/soundkonverter/soundkonverter.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/multimedia/soundkonverter/soundkonverter.spec b/redhat/applications/multimedia/soundkonverter/soundkonverter.spec
index 35aa2600c..6b713c452 100644
--- a/redhat/applications/multimedia/soundkonverter/soundkonverter.spec
+++ b/redhat/applications/multimedia/soundkonverter/soundkonverter.spec
@@ -80,8 +80,12 @@ BuildRequires: taglib-devel
# CDDA support
%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mdkver}
+BuildRequires: %{_lib}cdda-devel
+%else
BuildRequires: libcdda-devel
%endif
+%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: cdparanoia-devel
%endif
@@ -130,7 +134,7 @@ See the 'trinity-soundkonverter' package for more information.
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
%__make -f "admin/Makefile.common"