blob: 2a1fa0d842bcd8b751245214e1d7e7d624cfcf00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
%define USERHOME /home/app
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
|