From c59de14189d88b156899a3513986cbe3a2cd934a Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 19 Nov 2013 15:35:29 +0100 Subject: - change spec file name. --- packaging/desktop-skin.spec | 61 +++++++++++++++++++++++++++++++++++++++++ packaging/opentizen-config.spec | 61 ----------------------------------------- 2 files changed, 61 insertions(+), 61 deletions(-) create mode 100644 packaging/desktop-skin.spec delete mode 100644 packaging/opentizen-config.spec diff --git a/packaging/desktop-skin.spec b/packaging/desktop-skin.spec new file mode 100644 index 0000000..efeb8c0 --- /dev/null +++ b/packaging/desktop-skin.spec @@ -0,0 +1,61 @@ +%define USERHOME %{USERHOME} + +Name: desktop-skin +Summary: Provides desktop-skin. +Version: 2.0 +Group: Applications +License: GPL-2.0+ +Release: 1 +BuildArch: noarch + +%description +Provides desktop-skin. + + +%prep + +%build + +%install +mkdir -p %{buildroot}%{_libdir}/alsa +install -m 644 Sound/asound.state %{buildroot}/root +install -m 755 Sound/alsamixer %{buildroot}%{_bindir} + +install -m 755 Script/launch_cam.sh %{buildroot}%{_bindir} +install -m 755 Script/launch_video.sh %{buildroot}%{_bindir} + +mkdir -p %{buildroot}%{USERHOME} +install -m 644 Video/AmazingNature_480p.mp4 %{USERHOME} + + +mkdir -p %{buildroot}%{USERHOME}/Photos +install -m 644 Photos/* %{USERHOME}/Photos + +mkdir -p %{buildroot}%{_datadir}/icons/tizen/32x32 +install -m 644 icons/tizen/32x32/* %{buildroot}%{_datadir}/icons/tizen/32x32 + +mkdir -p %{buildroot}%{_datadir}/backgrounds/tizen +install -m 644 backgrounds/tizen/golfe-morbihan.jpg %{buildroot}%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg + +mkdir -p %{buildroot}%{_sysconfdir}/xdg +install -m 644 weston/weston.ini %{buildroot}%{_sysconfdir}/xdg/weston + +%post +chown -R app:app %{USERHOME} + +%files +%{_libdir}/alsa/asound.state +%{_bindir}/alsamixer + +%{_bindir}/launch_cam.sh +%{_bindir}/launch_video.sh + +%{USERHOME}/AmazingNature_480p.mp4 + +%{USERHOME}/Photos/* + +%{_datadir}/icons/tizen/32x32/* + +%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg + +%{_sysconfdir}/xdg/weston/weston.ini diff --git a/packaging/opentizen-config.spec b/packaging/opentizen-config.spec deleted file mode 100644 index efeb8c0..0000000 --- a/packaging/opentizen-config.spec +++ /dev/null @@ -1,61 +0,0 @@ -%define USERHOME %{USERHOME} - -Name: desktop-skin -Summary: Provides desktop-skin. -Version: 2.0 -Group: Applications -License: GPL-2.0+ -Release: 1 -BuildArch: noarch - -%description -Provides desktop-skin. - - -%prep - -%build - -%install -mkdir -p %{buildroot}%{_libdir}/alsa -install -m 644 Sound/asound.state %{buildroot}/root -install -m 755 Sound/alsamixer %{buildroot}%{_bindir} - -install -m 755 Script/launch_cam.sh %{buildroot}%{_bindir} -install -m 755 Script/launch_video.sh %{buildroot}%{_bindir} - -mkdir -p %{buildroot}%{USERHOME} -install -m 644 Video/AmazingNature_480p.mp4 %{USERHOME} - - -mkdir -p %{buildroot}%{USERHOME}/Photos -install -m 644 Photos/* %{USERHOME}/Photos - -mkdir -p %{buildroot}%{_datadir}/icons/tizen/32x32 -install -m 644 icons/tizen/32x32/* %{buildroot}%{_datadir}/icons/tizen/32x32 - -mkdir -p %{buildroot}%{_datadir}/backgrounds/tizen -install -m 644 backgrounds/tizen/golfe-morbihan.jpg %{buildroot}%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg - -mkdir -p %{buildroot}%{_sysconfdir}/xdg -install -m 644 weston/weston.ini %{buildroot}%{_sysconfdir}/xdg/weston - -%post -chown -R app:app %{USERHOME} - -%files -%{_libdir}/alsa/asound.state -%{_bindir}/alsamixer - -%{_bindir}/launch_cam.sh -%{_bindir}/launch_video.sh - -%{USERHOME}/AmazingNature_480p.mp4 - -%{USERHOME}/Photos/* - -%{_datadir}/icons/tizen/32x32/* - -%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg - -%{_sysconfdir}/xdg/weston/weston.ini -- cgit v1.2.3