summaryrefslogtreecommitdiff
path: root/packaging/desktop-skin.spec
blob: 71fb998b413192eab233dce298faf54345fdedc1 (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
Name:		desktop-skin
Summary:	Desktop skin for Tizen:Common
Version: 	2.0
Group: 		Applications/Multimedia
License:    GPL-2.0+
Release: 	1
Source0:        %{name}-%{version}.tar.gz

%description
Provides desktop visuals and test programs
- desktop background
- sample media
- icons
- test programs

%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}
install -m 755 Script/wifi %{buildroot}%{_bindir}

mkdir -p %{buildroot}%{_datadir}/media/videos
install -m 644 Video/AmazingNature_480p.mp4 %{buildroot}%{_datadir}/media/videos

mkdir -p %{buildroot}%{_datadir}/media/photos
install -m 644 Photos/* %{buildroot}%{_datadir}/media/photos

mkdir -p %{buildroot}%{_datadir}/icons/tizen/32x32
install -m 644 icons/tizen/32x32/* %{buildroot}%{_datadir}/icons/tizen/32x32

mkdir -p %{buildroot}%{_datadir}/applications/tizen
install -m 644 applications/tizen/* %{buildroot}%{_datadir}/applications/tizen

mkdir -p %{buildroot}%{_datadir}/backgrounds/tizen
install -m 644  backgrounds/tizen/golfe-morbihan.jpg %{buildroot}%{_datadir}/backgrounds/tizen/golfe-morbihan.jpg
install -m 644  backgrounds/tizen/tizen_common.png %{buildroot}%{_datadir}/backgrounds/tizen/tizen_common.png

%files
%{_bindir}/*

%{_datadir}/media/videos/AmazingNature_480p.mp4
%{_datadir}/media/photos/*
%{_datadir}/icons/tizen/32x32/*
%{_datadir}/applications/tizen/*
%{_datadir}/backgrounds/tizen/*