Tizen:Unified: add link for RPi3 u-boot
[scm/meta/obs.git] / Tizen:3.0.M14.3:IVI / _config
1 Patterntype: rpm-md comps
2 Release: <CI_CNT>.<B_CNT>
3 Support: build
4 Support: build-compare build-mkbaselibs
5 Support: rpmlint-mini rpmlint-tizen
6
7 FileProvides: /usr/sbin/groupadd pwdutils
8 Prefer: util-linux
9 #Prefer: nfc-manager
10 #Prefer: nfc-manager-devel
11 #Prefer: nfc-common-lib-devel
12 #Prefer: nfc-common-lib
13 #Prefer: nfc-client-lib
14 #Prefer: nfc-client-lib-devel
15 Prefer: libtapi-devel
16
17 #| wayland |  x  | meaning
18 #|---------------------------
19 #|   0     |  1  | pure X11 platform(no wayland)
20 #|   1     |  0  | pure wayland platform (no X11)
21 #|   1     |  1  | wayland but X compatibility
22 #|   0     |  0  | no X and no wayland
23
24 # mesa
25 Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
26 Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
27 %define _with_wayland 1
28 Macros:
29 %_with_wayland 1
30 :Macros
31
32 ############################# emulator repository ############################
33
34 %if "%_repository" == "emulator"
35
36 Prefer: mesa-libGLESv2
37 Prefer: libwayland-egl
38 Prefer: libgbm
39 Prefer: mesa-libGL
40 Prefer: mesa-libEGL
41 Prefer: emulator-yagl
42
43 %define _with_emulator 1
44
45 Macros:
46 %_with_emulator 1
47 :Macros
48
49 %endif
50
51 %define _with_qt5 1
52 %define _with_pulseaudio_samsung_policy 1
53 %define _with_tizen 1
54 %define _with_mesa 1
55 %define gcc_version 48
56 %define profile common
57
58 %ifarch i586
59 Target: i686-tizen-linux
60 %endif
61
62 %ifarch armv7hl
63 Target: armv7hl-tizen-linux
64 %endif
65
66 %ifarch armv7l
67 Target: armv7l-tizen-linux
68 %endif
69
70 %ifarch %arm armv7l
71 Hostarch: x86_64
72 # cross build support for the build hosts
73 Preinstall: qemu-linux-user-cross-arm
74 Keep: qemu-linux-user-cross-arm
75 %endif
76
77 %ifarch armv7hl
78 Preinstall: qemu-accel-armv7hl
79 Runscripts: qemu-accel-armv7hl
80 Preinstall: libmount libblkid libuuid
81 %endif
82 %ifarch armv7l
83 Preinstall: qemu-accel-armv7l-cross-arm
84 Runscripts: qemu-accel-armv7l-cross-arm
85 Preinstall: libmount libblkid libuuid
86 %endif
87 %ifarch armv7el
88 Preinstall: qemu-accel-armv7el
89 Runscripts: qemu-accel-armv7el
90 Preinstall: libmount libblkid libuuid
91 %endif
92
93 ExportFilter: ^qemu-linux-user-.*\.i686\.rpm$ . armv7l
94 ExportFilter: ^qemu-accel-armv7l.*\.i686\.rpm$ .  armv7l
95 ExportFilter: \.armv7l\.rpm$ armv7l
96 ExportFilter: \.x86_64\.rpm$ x86_64
97
98 Preinstall: setup filesystem
99 RunScripts: setup
100
101 Preinstall: bash bzip2 coreutils diffutils grep rpm
102 Preinstall: glibc libacl libattr
103 Preinstall: libcap
104 Preinstall: libgcc_s1
105 Preinstall: libpopt sed tar zlib
106 Preinstall: libncurses libreadline
107 Preinstall: libelf libbz2
108 Preinstall: liblzma
109 Preinstall: nss nspr libfreebl3 libsoftokn3
110 Preinstall: libmagic
111 Preinstall: liblua
112 Preinstall: smack libsmack libxml2 libmagic  libmagic-data
113 Preinstall: libsqlite
114 Preinstall: rpm-security-plugin
115 Preinstall: util-linux
116
117 VMinstall: perl libmount libblkid libext2fs libuuid  grep libpcre util-linux
118
119 Required: binutils gcc glibc rpm-build libtool
120
121 Support: glibc-locale
122 Support: perl
123 Support: hostname
124 Support: cpio findutils
125 Support: file findutils zlib bzip2
126 Support: gzip hostname net-tools
127 Support: make  patch sed  gawk tar grep coreutils pkg-config
128 Support: m4  tzdata
129 Support: util-linux
130 Support: less
131 Support: which  elfutils
132 Support: update-alternatives
133
134 # TO REMOVE
135 Support: gcc-c++
136
137 Keep: cpp%{gcc_version} gcc%{gcc_version} gcc%{gcc_version}-ada libstdc++%{gcc_version}
138 Keep: libstdc++%{gcc_version}-devel gcc%{gcc_version}-c++
139 Keep: cpp gcc libstdc++
140 Keep: pam
141 Keep: binutils cpp  libmagic-data file findutils gawk gcc  gcc-c++
142 Keep: gdbm gzip libada libunwind  glibc-devel libpcre xz-lzma-compat
143 Keep: make  gmp libcap groff cpio
144 Keep: patch rpm-build  nss nspr elfutils python grep libgcc gcc-c++
145 Keep: kernel-headers  perl-libs perl
146 Keep: pkgconfig glib2 tizen-rpm-config
147 Keep: libmpc libmpfr libppl libgmp libppl_c
148 Keep: libcloog libppl libgmpxx
149 Keep: nss-softokn-freebl libmagic libmagic-data
150 Keep: setup
151 Keep: update-alternatives
152 Prefer: libstdc++%{gcc_version} libgcc%{gcc_version}
153 Prefer: libstdc++%{gcc_version}-32bit libstdc++%{gcc_version}-64bit
154
155 Substitute: gettext gettext-tools
156
157
158 %ifarch x86_64
159 Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
160 %else
161 Substitute: glibc-devel-32bit
162 %endif
163
164
165 #%__global_cflags -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  --param=ssp-buffer-size=32 -Wformat -Wformat-security
166
167 Optflags: x86_64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -m64 -march=corei7 -msse4.2  -mtune=corei7-avx -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer  -fipa-cp-clone
168
169 Optflags: armv7l -O2 -g2 -feliminate-unused-debug-types -pipe -Wall  -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector  --param=ssp-buffer-size=32 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian  -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__
170
171 Macros:
172
173 %profile ivi
174 %release_name Tizen IVI 3.0
175 %tizen_version_major 3
176 %tizen_version_minor 0
177 %tizen_version_patch 0
178 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
179 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
180 %tizen %tizen_version
181 %_with_ivi 1
182 %_with_wayland 1
183 %_with_tizen 1
184 %_with_mesa 1
185 %_with_desktop 1
186 %check exit 0
187 %run_check_section 0
188 %opensuse_bs 1
189 %_default_patch_fuzz   2
190
191 # Macro used to enable qt5 in Tizen project
192 # Set qt5 to 1 also activate build of some sub-package
193 # eg: automotive-message-broker
194 # Tizen (Common, IVI, ...) can be delivered with or without qt5.
195 %_with_qt5 1
196
197 # Macro used to handle bluetooth popups without syspopup/bt-syspopup which
198 # needs OSP . In IVI, this macro permits to address bluetooth notifications
199 # (using C API) to notification-service daemon. Then homescreen is supposed
200 # to deal with those notifications and display relevant popups.
201 # Affects: bluetooth-frwk
202 %_with_bluetooth_frwk_libnotification 1
203
204 # Macro used to control how the policy interfaces (using either the Samsung
205 # solution (%_with_audio_session_manager) or Murphy with Samsung ASM
206 # frontend (%_with_audio_session_manager_with_murphy)
207 # Affects: libmm-sound
208 %_with_audio_session_manager_with_murphy 1
209
210 # This build macro controls whether the OS uses legacy nfc-manager or
211 # neard enabled nfc-manager-neard. If enabled, nfc-manager-neard is used.
212 # Affects: nfc CAPI, emulator-plugin-nfc
213 %_with_neard_nfc 1
214
215 # Enable certain packages (for example, libgee and glib) to be compiled
216 # with introspection enabled, which was required in IVI to compile Vala
217 # source.
218 %_with_introspection 1
219
220 # This selects whether or not to use ICO system controller or Murphy
221 # replacement.
222 # Affects: murphy
223 %_with_icosyscon 1
224
225 # Uses mobile-specific Samsung patches for PulseAudio.
226 # Affects: pulseaudio, libmm-sound
227 %_with_pulseaudio_samsung_policy 1
228
229 %vendor tizen
230 %_vendor tizen