4 Summary: Tizen IVI Weston configuration and set-up
6 Group: Automotive/Configuration
8 Source0: %{name}-%{version}.tar.bz2
9 Source1001: weston-ivi.manifest
10 Provides: weston-startup
13 This package contains Tizen IVI-specific set-up for the Weston
14 compositor, including systemd unit files, etc.
17 Summary: Tizen IVI Weston configuration
18 Group: Automotive/Configuration
20 Conflicts: ico-uxf-weston-plugin
22 This package contains Tizen IVI-specific configuration for the Weston
25 %package config-modello
26 Summary: Tizen IVI Modello Weston configuration
27 Group: Automotive/Configuration
29 Conflicts: ico-uxf-weston-plugin, weston-ivi-config
30 %description config-modello
31 This package contains Tizen IVI-specific Modello configuration for the Weston
42 install -d %{buildroot}%{_unitdir_user}/weston.target.wants
43 install -m 644 weston.service %{buildroot}%{_unitdir_user}/weston.service
44 ln -sf ../weston.service %{buildroot}/%{_unitdir_user}/weston.target.wants/
46 mkdir -p %{buildroot}%{_sysconfdir}/profile.d/
47 install -m 0644 weston.sh %{buildroot}%{_sysconfdir}/profile.d/
49 %define weston_config_dir %{_sysconfdir}/xdg/weston
50 mkdir -p %{buildroot}%{weston_config_dir}
51 install -m 0644 weston.ini %{buildroot}%{weston_config_dir}
52 install -m 0644 weston-modello.ini %{buildroot}%{weston_config_dir}/weston-modello.ini
55 ln -s %{weston_config_dir}/weston-modello.ini %{weston_config_dir}/weston.ini
58 %postun config-modello
59 rm %{weston_config_dir}/weston.ini
62 %manifest %{name}.manifest
65 %{_unitdir_user}/weston.service
66 %{_unitdir_user}/weston.target.wants/weston.service
67 %config %{_sysconfdir}/profile.d/*
70 %manifest %{name}.manifest
71 %config %{weston_config_dir}/weston.ini
74 %manifest %{name}.manifest
75 %config %{weston_config_dir}/weston-modello.ini