packaging: add generic-adaptation subpackage
[platform/upstream/meta-generic.git] / packaging / meta-generic.spec
1 Summary:        Tizen Package Groups and Images Configurations
2 Name:           meta-generic
3 Version:        0
4 Release:        0
5 License:        GPL-2.0
6 Group:          Base/Configuration
7 URL:            http://www.tizen.org
8 Source:         %{name}-%{version}.tar.bz2
9 Source1001:     meta-generic.manifest
10 BuildArch:      noarch
11
12 %description
13 Tizen Package Groups and Image Configurations for Base OS
14
15
16 %package adaptation
17 Summary:  Hardware adataption configuration files
18 BuildArch:      noarch
19
20 %description adaptation
21 Hardware adaptation tweaks to ship inside image
22
23 %prep
24 %setup -q
25 cp %{SOURCE1001} .
26
27 %build
28 make
29
30 %install
31 %make_install
32
33
34 %files
35 %manifest %{name}.manifest
36 %attr(644,-,-) %{_datadir}/package-groups/generic/*.yaml
37 %{_datadir}/image-configurations/generic/scripts
38
39
40 %files adaptation
41 %{_sysconfdir}/profile.d/generic-adaptation.sh
42