diff options
author | Yan Yin <yan.yin@intel.com> | 2012-03-14 14:05:46 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-03-14 14:05:46 +0800 |
commit | 17176e2fc11abf6bc34df5b8045a6ef9655c73f1 (patch) | |
tree | 195c62557d24626fe40cf08c538946a52eee9409 | |
parent | 156c72f2b7580c97d8dc51133d1e6dfa73c55e3d (diff) | |
download | mmfw-sysconf-17176e2fc11abf6bc34df5b8045a6ef9655c73f1.tar.gz mmfw-sysconf-17176e2fc11abf6bc34df5b8045a6ef9655c73f1.tar.bz2 mmfw-sysconf-17176e2fc11abf6bc34df5b8045a6ef9655c73f1.zip |
update for beta universally
-rw-r--r-- | packaging/mmfw-sysconf.spec | 76 |
1 files changed, 9 insertions, 67 deletions
diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec index 6e74b5c..ad43282 100644 --- a/packaging/mmfw-sysconf.spec +++ b/packaging/mmfw-sysconf.spec @@ -1,14 +1,15 @@ Name: mmfw-sysconf Summary: Multimedia Framework system configuration package -Version: 0.1.8 +Version: 0.1.22 Release: 1 Group: TO_BE/FILLED_IN -License: TO BE FILLED IN +License: Apache-2.0 Source0: %{name}-%{version}.tar.gz %description Multimedia Framework system configuration package + %package simulator Summary: Multimedia Framework system configuration package for simulator Group: TO_BE/FILLED_IN @@ -23,73 +24,14 @@ Multimedia Framework system configuration package for simulator %build %install -rm -rf %{buildroot} - -mkdir -p %{buildroot}%{_sysconfdir}/mmfw-sysconf -mkdir -p %{buildroot}/opt/etc/mmfw-sysconf - -mkdir -p %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator -cp -rf mmfw-sysconf-simulator/etc/* %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator/ +mkdir -p %{buildroot}%{_sysconfdir}/ +cp -rf mmfw-sysconf-simulator/etc/* %{buildroot}%{_sysconfdir}/ mkdir -p %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-simulator -cp -rf mmfw-sysconf-simulator/opt/etc/* %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-simulator/ - -mkdir -p %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target -cp -rf mmfw-sysconf-simulator/etc/* %{buildroot}%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target/ - -mkdir -p %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-cleansdk-target -cp -rf mmfw-sysconf-simulator/opt/etc/* %{buildroot}/opt/etc/mmfw-sysconf/mmfw-sysconf-cleansdk-target/ - -%post simulator -rm -f %{_sysconfdir}/asound.conf -ln -s %{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator/asound.conf %{_sysconfdir}/asound.conf - -rm -f /opt/etc/mmfw_camcorder.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini -rm -f /opt/etc/mmfw_player.ini - -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_camcorder.ini /opt/etc/mmfw_camcorder.ini -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_camcorder_dev_video_pri.ini /opt/etc/mmfw_camcorder_dev_video_pri.ini -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_camcorder_dev_video_sec.ini /opt/etc/mmfw_camcorder_dev_video_sec.ini -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-simulator/mmfw_player.ini /opt/etc/mmfw_player.ini - -%post cleansdk-target -rm -f %{_sysconfdir}/asound.conf -ln -s %{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target/asound.conf %{_sysconfdir}/asound.conf - -rm -f /opt/etc/mmfw_camcorder.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini -rm -f /opt/etc/mmfw_player.ini - -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_camcorder.ini /opt/etc/mmfw_camcorder.ini -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_camcorder_dev_video_pri.ini /opt/etc/mmfw_camcorder_dev_video_pri.ini -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_camcorder_dev_video_sec.ini /opt/etc/mmfw_camcorder_dev_video_sec.ini -ln -s /opt/etc/mmfw-sysonf/mmfw-sysconf-cleansdk-target/mmfw_player.ini /opt/etc/mmfw_player.ini - - -%postun simulator -rm -f %{_sysconfdir}/asound.conf -rm -f /opt/etc/mmfw_camcorder.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini -rm -f /opt/etc/mmfw_player.ini - -%postun cleansdk-target -rm -f %{_sysconfdir}/asound.conf -rm -f /opt/etc/mmfw_camcorder.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_pri.ini -rm -f /opt/etc/mmfw_camcorder_dev_video_sec.ini -rm -f /opt/etc/mmfw_player.ini +cp -rf mmfw-sysconf-simulator/opt/etc/* %{buildroot}/opt/etc/ %files simulator -%defattr(-,root,root,-) -%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-simulator/* -/opt/etc/mmfw-sysconf/mmfw-sysconf-simulator/* - -%files cleansdk-target -%defattr(-,root,root,-) -%{_sysconfdir}/mmfw-sysconf/mmfw-sysconf-cleansdk-target/* -/opt/etc/mmfw-sysconf/mmfw-sysconf-cleansdk-target/* +%{_sysconfdir}/asound.conf +/opt/etc/* +/etc/pulse/* |