892981dbf036f38173f18b7b54f55f112997acb8
[platform/adaptation/artik/model-config-artik.git] / packaging / model-config-artik.spec
1 %define debug_package %{nil}
2
3 Name:           model-config-artik
4 Summary:        A Model configuration
5 Version:        0.0.4
6 Release:        0
7 Group:          System/Configuration
8 License:        Apache-2.0
9 BuildArch:      noarch
10 Source0:        %{name}-%{version}.tar.gz
11 Provides:       model-config
12
13 %description
14 Model configuration data package
15
16 %prep
17 %setup -q -n %{name}-%{version}
18
19 %build
20
21 %install
22 rm -rf %{buildroot}
23 mkdir -p %{buildroot}%{_sysconfdir}/config
24 cp -f model-config.xml %{buildroot}%{_sysconfdir}/config/%{name}.xml
25
26 %post
27 ln -sf %{name}.xml %{_sysconfdir}/config/model-config.xml
28
29 %files
30 %manifest model-config.manifest
31 %config %{_sysconfdir}/config/%{name}.xml
32 %license LICENSE.Apache-2.0