blob: 1373375314f5176f8879beeda048969226e10cf9 (
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
|
%define USERHOME /home/app
Name: desktop-skin
Summary: Provides desktop-skin.
Version: 2.0
Group: Applications
License: GPL-2.0+
Release: 1
Source0: %{name}-%{version}.tar.gz
%description
Provides desktop-skin.
%prep
%setup -q
%build
%install
mkdir -p %{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 %{buildroot}%{USERHOME}
mkdir -p %{buildroot}%{USERHOME}/Photos
install -m 644 Photos/* %{buildroot}%{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/weston
install -m 644 weston/weston.ini %{buildroot}%{_sysconfdir}/xdg/weston
%post
chown -R app:app %{USERHOME}
%files
%{_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
|