1 #sbs-git:slp/pkgs/xorg/driver/xserver-xorg-misc xserver-xorg-misc 0.0.1 13496ac354ad7f6709f1ef9b880a206a2df41c80
3 Name: xorg-x11-misc-exynos
4 Summary: X11 X server misc files for exynos
7 VCS: magnolia/adaptation/ap_samsung/xserver-xorg-misc-exynos#xorg-x11-misc-exynos-0.0.6-1-47-g27a0e7218c4e5e6ec98ec5801657f371928eba86
11 Source0: %{name}-%{version}.tar.gz
12 %if "%{?tizen_profile_name}" == "wearable"
13 Source1: xorg.service.wearable
14 Source2: xresources.service.wearable
15 Source3: xscim.service
17 Source1: xresources.service.mobile
18 Source2: xresources.path
19 Source3: xorg.service.mobile
22 Requires: xserver-xorg-core
23 Requires: xorg-x11-drv-evdev-multitouch
24 Requires(post): xkeyboard-config
26 %if ("%{tizen_profile_name}" == "wearable" && "%{_repository}" == "target-b3")
31 Description: %{summary}
40 %if "%{?tizen_profile_name}" == "wearable"
47 for f in `find arm-common/ -name "*.in"`; do
49 sed -i -e "s#@PREFIX@#/usr#g" ${f%.in};
50 sed -i -e "s#@DATADIR@#/opt#g" ${f%.in};
63 %if "%{?tizen_profile_name}" == "wearable"
70 mkdir -p %{buildroot}/usr/share/license
71 cp -af COPYING %{buildroot}/usr/share/license/%{name}
73 %if "%{?tizen_profile_name}" == "mobile"
74 mkdir -p %{buildroot}/etc/rc.d/init.d/
75 mkdir -p %{buildroot}/etc/rc.d/rc3.d/
76 mkdir -p %{buildroot}/etc/rc.d/rc4.d/
78 mkdir -p %{buildroot}/etc/profile.d/
79 mkdir -p %{buildroot}/etc/X11/
80 %if "%{?tizen_profile_name}" == "wearable"
81 mkdir -p %{buildroot}/opt/etc/dump.d/module.d
82 mkdir -p %{buildroot}/usr/bin/
84 cp -af arm-common/xserver %{buildroot}/etc/rc.d/init.d/
85 cp -af arm-common/xresources %{buildroot}/etc/rc.d/init.d/
87 cp -af arm-common/xsetrc %{buildroot}/etc/X11/
88 cp -af arm-common/Xmodmap %{buildroot}/etc/X11/
89 cp -af arm-common/xinitrc %{buildroot}/etc/X11/
90 %if "%{?tizen_profile_name}" == "wearable"
91 cp -af arm-common/winsys_log_dump.sh %{buildroot}/opt/etc/dump.d/module.d
93 ln -s /etc/rc.d/init.d/xserver %{buildroot}/etc/rc.d/rc3.d/S02xserver
94 ln -s /etc/rc.d/init.d/xserver %{buildroot}/etc/rc.d/rc4.d/S02xserver
95 ln -s /etc/rc.d/init.d/xresources %{buildroot}/etc/rc.d/rc4.d/S80xresources
97 cp -af arm-common/Xorg.sh %{buildroot}/etc/profile.d/
98 %if "%{?tizen_profile_name}" == "wearable"
99 mkdir -p %{buildroot}%{_libdir}/systemd/system/basic.target.wants
100 install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/xorg.service
101 ln -s ../xorg.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/xorg.service
102 mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
103 install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/system/xresources.service
104 ln -s ../xresources.service.wearable %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/xresources.service
105 install -m 0644 %SOURCE3 %{buildroot}%{_libdir}/systemd/system/xscim.service
106 ln -s ../xscim.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/xscim.service
108 mkdir -p %{buildroot}%{_libdir}/systemd/system/graphical.target.wants
109 install -m 0644 %SOURCE3 %{buildroot}%{_libdir}/systemd/system/xorg.service
110 mkdir -p %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
111 install -m 0644 %SOURCE3 %{buildroot}%{_libdir}/systemd/system/basic.target.wants/xorg.service
112 install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/xresources.service
113 install -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/system/xresources.path
114 ln -s ../xresources.path %{buildroot}%{_libdir}/systemd/system/graphical.target.wants/
117 cp -rf arm-e4412/* %{buildroot}/etc/X11/
120 mkdir -p /opt/var/log
123 %if "%{?tizen_profile_name}" == "wearable"
124 %manifest wearable/xorg-x11-misc-exynos.manifest
126 %manifest mobile/xorg-x11-misc-exynos.manifest
128 %defattr(-,root,root,-)
129 /usr/share/license/%{name}
130 %{_sysconfdir}/profile.d/Xorg.sh
131 %if "%{?tizen_profile_name}" == "mobile"
132 %{_sysconfdir}/rc.d/init.d/*
133 %{_sysconfdir}/rc.d/rc3.d/*
134 %{_sysconfdir}/rc.d/rc4.d/*
136 %attr(-,inhouse,inhouse)
142 /etc/X11/xorg.conf.d/*.conf
143 %if "%{?tizen_profile_name}" == "wearable"
144 /opt/etc/dump.d/module.d/*
147 %if "%{?tizen_profile_name}" == "wearable"
148 %{_libdir}/systemd/system/xorg.service
149 %{_libdir}/systemd/system/basic.target.wants/xorg.service
151 %{_libdir}/systemd/system/xorg.service
152 %{_libdir}/systemd/system/basic.target.wants/xorg.service
154 %{_libdir}/systemd/system/xresources.service
155 %if "%{?tizen_profile_name}" == "wearable"
156 %{_libdir}/systemd/system/xscim.service
157 %{_libdir}/systemd/system/multi-user.target.wants/xresources.service
158 %{_libdir}/systemd/system/multi-user.target.wants/xscim.service
160 %{_libdir}/systemd/system/xresources.path
161 %{_libdir}/systemd/system/graphical.target.wants/xresources.path