summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Pikuła <m.pikula@partner.samsung.com>2022-11-07 20:32:17 +0100
committerJeongmo Yang <jm80.yang@samsung.com>2022-12-19 10:43:17 +0900
commitd8ae4d9afef3d650ca5867c1430574b87475dacf (patch)
tree85fbf5ec3a5547c81f06f2dffa9e42f50f2a183c
parentbf36534a7c4135040bd2423cda8de14874809417 (diff)
downloadmedia-config-d8ae4d9afef3d650ca5867c1430574b87475dacf.tar.gz
media-config-d8ae4d9afef3d650ca5867c1430574b87475dacf.tar.bz2
media-config-d8ae4d9afef3d650ca5867c1430574b87475dacf.zip
riscv64: Build Generic package for RISC-Vaccepted/tizen/unified/20221220.041631
[Version] 0.3.67 [Issue type] RISC-V Change-Id: Iaa067ec3934fbf73b377ae30bdb4d8e56f3d6a59 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--packaging/media-config.spec14
1 files changed, 13 insertions, 1 deletions
diff --git a/packaging/media-config.spec b/packaging/media-config.spec
index 11d6f8f..684816f 100644
--- a/packaging/media-config.spec
+++ b/packaging/media-config.spec
@@ -2,7 +2,7 @@
Name: media-config
Summary: Multimedia Framework system configuration package
-Version: 0.3.66
+Version: 0.3.67
Release: 0
Group: Multimedia/Configuration
License: LGPL-2.1 and Apache-2.0
@@ -13,6 +13,7 @@ Requires: sed
Multimedia Framework system configuration package including ini, conf and etc files.
+%ifarch %arm aarch64 riscv64
%ifarch %arm aarch64
%package target-tm1
@@ -55,6 +56,8 @@ License: LGPL-2.1 and Apache-2.0
%description target-vim3
Multimedia Framework system configuration package including ini, conf and etc files for VIM3
+%endif
+
%package generic
Summary: Multimedia Framework system configuration package for generic
Group: Multimedia/Configuration
@@ -88,6 +91,7 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{_hal_datadir}
+%ifarch %arm aarch64 riscv64
%ifarch %arm aarch64
mkdir -p %{buildroot}%{_hal_licensedir}/%{name}-target-tm1
@@ -120,6 +124,8 @@ cp LICENSE.LGPLv2.1 %{buildroot}%{_hal_licensedir}/%{name}-target-vim3
mkdir -p %{buildroot}%{_hal_datadir}/%{name}-target-vim3
cp -arf %{name}-target-vim3/* %{buildroot}%{_hal_datadir}/%{name}-target-vim3
+%endif
+
mkdir -p %{buildroot}%{_hal_licensedir}/%{name}-generic
cp LICENSE.APLv2.0 %{buildroot}%{_hal_licensedir}/%{name}-generic
cp LICENSE.LGPLv2.1 %{buildroot}%{_hal_licensedir}/%{name}-generic
@@ -136,6 +142,7 @@ cp -arf %{name}-simulator/* %{buildroot}%{_hal_datadir}/%{name}-simulator
%endif
+%ifarch %arm aarch64 riscv64
%ifarch %arm aarch64
%post target-tm1
@@ -159,6 +166,8 @@ rm -rf %{_hal_datadir}/%{name}-target-c4
cp -arf %{_hal_datadir}/%{name}-target-vim3/* /
rm -rf %{_hal_datadir}/%{name}-target-vim3
+%endif
+
%post generic
cp -arf %{_hal_datadir}/%{name}-generic/* /
rm -rf %{_hal_datadir}/%{name}-generic
@@ -175,6 +184,7 @@ rm -rf %{_hal_datadir}/%{name}-simulator
%postun
+%ifarch %arm aarch64 riscv64
%ifarch %arm aarch64
%files target-tm1
@@ -254,6 +264,8 @@ rm -rf %{_hal_datadir}/%{name}-simulator
%{_hal_datadir}/%{name}-target-vim3%{_hal_datadir}/pulseaudio/alsa-mixer/paths/*.common
%{_hal_datadir}/%{name}-target-vim3%{_hal_datadir}/pulseaudio/alsa-mixer/profile-sets/*.conf
+%endif
+
%files generic
%manifest %{name}-generic.manifest
%{_hal_licensedir}/%{name}-generic/*