1 Patterntype: rpm-md comps
2 Release: <CI_CNT>.<B_CNT>
4 Support: build-compare build-mkbaselibs
5 Support: rpmlint-mini rpmlint-tizen
7 FileProvides: /usr/sbin/groupadd pwdutils
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
17 # | wayland | x | meaning
18 # |----------------------------------------------------
19 # | | 1 | pure X11 platform(no wayland)
20 # | 1 | | pure wayland platform (no X11)
21 # | 1 | 1 | wayland but X compatibility
22 # | | | no X and no wayland
23 # |----------------------------------------------------
26 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
27 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
28 %define _with_wayland 1
33 Prefer: mesa-libGLESv2
34 Prefer: libwayland-egl
39 ############################# emulator repository ############################
41 %if "%_repository" == "emulator"
45 %define _with_emulator 1
54 %define _with_pulseaudio_samsung_policy 1
57 %define gcc_version 49
61 Target: i686-tizen-linux
65 Target: armv7hl-tizen-linux
69 Target: armv7l-tizen-linux
74 # cross build support for the build hosts
75 Preinstall: qemu-linux-user-cross-arm
76 Keep: qemu-linux-user-cross-arm
80 Preinstall: qemu-accel-armv7hl
81 Runscripts: qemu-accel-armv7hl
82 Preinstall: libmount libblkid libuuid
85 Preinstall: qemu-accel-armv7l-cross-arm
86 Runscripts: qemu-accel-armv7l-cross-arm
87 Preinstall: libmount libblkid libuuid
90 Preinstall: qemu-accel-armv7el
91 Runscripts: qemu-accel-armv7el
92 Preinstall: libmount libblkid libuuid
95 ExportFilter: ^qemu-linux-user-.*\.i686\.rpm$ . armv7l
96 ExportFilter: ^qemu-accel-armv7l.*\.i686\.rpm$ . armv7l
97 ExportFilter: \.armv7l\.rpm$ armv7l
98 ExportFilter: \.x86_64\.rpm$ x86_64
100 Preinstall: setup filesystem
103 Preinstall: bash bzip2 coreutils diffutils grep rpm
104 Preinstall: glibc libacl libattr
106 Preinstall: libgcc_s1
107 Preinstall: libpopt sed tar zlib
108 Preinstall: libncurses libreadline
109 Preinstall: libelf libbz2
111 Preinstall: nss nspr libfreebl3 libsoftokn3
114 Preinstall: smack libsmack libxml2 libmagic libmagic-data
115 Preinstall: libsqlite
116 Preinstall: rpm-security-plugin
117 Preinstall: util-linux
119 VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux
121 Required: binutils gcc glibc rpm-build libtool
123 Support: glibc-locale
126 Support: cpio findutils
127 Support: file findutils zlib bzip2
128 Support: gzip hostname net-tools
129 Support: make patch sed gawk tar grep coreutils pkg-config
133 Support: which elfutils
134 Support: update-alternatives
139 Keep: cpp%{gcc_version} gcc%{gcc_version} gcc%{gcc_version}-ada libstdc++%{gcc_version}
140 Keep: libstdc++%{gcc_version}-devel gcc%{gcc_version}-c++
141 Keep: cpp gcc libstdc++
143 Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
144 Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
145 Keep: make gmp libcap groff cpio
146 Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
147 Keep: kernel-headers perl-libs perl
148 Keep: pkgconfig glib2 tizen-rpm-config
149 Keep: libmpc libmpfr libppl libgmp libppl_c
150 Keep: libcloog libppl libgmpxx
151 Keep: nss-softokn-freebl libmagic libmagic-data
153 Keep: update-alternatives
154 Prefer: libstdc++%{gcc_version} libgcc%{gcc_version}
155 Prefer: libstdc++%{gcc_version}-32bit libstdc++%{gcc_version}-64bit
157 Substitute: gettext gettext-tools
161 Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
163 Substitute: glibc-devel-32bit
166 %define __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
168 Optflags: i686 %{__global_cflags} -m32 -march=core2 -mfpmath=sse -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
169 Optflags: x86_64 %{__global_cflags} -m64 -march=core2 -mssse3 -mtune=silvermont -fasynchronous-unwind-tables -fno-omit-frame-pointer -fipa-cp-clone
170 Optflags: armv7l %{__global_cflags} -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -Wp,-D__SOFTFP__ -fmessage-length=0
175 %release_name Tizen IVI 3.0
176 %tizen_version_major 3
177 %tizen_version_minor 0
178 %tizen_version_patch 0
179 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
180 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
181 %tizen %tizen_version
191 %_default_patch_fuzz 2
193 # Macro used to enable qt5 in Tizen project
194 # Set qt5 to 1 also activate build of some sub-package
195 # eg: automotive-message-broker
196 # Tizen (Common, IVI, ...) can be delivered with or without qt5.
199 # Macro used to handle bluetooth popups without syspopup/bt-syspopup which
200 # needs OSP . In IVI, this macro permits to address bluetooth notifications
201 # (using C API) to notification-service daemon. Then homescreen is supposed
202 # to deal with those notifications and display relevant popups.
203 # Affects: bluetooth-frwk
204 %_with_bluetooth_frwk_libnotification 1
206 # Macro used to control how the policy interfaces (using either the Samsung
207 # solution (%_with_audio_session_manager) or Murphy with Samsung ASM
208 # frontend (%_with_audio_session_manager_with_murphy)
209 # Affects: libmm-sound
210 %_with_audio_session_manager_with_murphy 1
212 # This build macro controls whether the OS uses legacy nfc-manager or
213 # neard enabled nfc-manager-neard. If enabled, nfc-manager-neard is used.
214 # Affects: nfc CAPI, emulator-plugin-nfc
217 # Enable certain packages (for example, libgee and glib) to be compiled
218 # with introspection enabled, which was required in IVI to compile Vala
220 %_with_introspection 1
222 # This selects whether or not to use ICO system controller or Murphy
227 # Uses mobile-specific Samsung patches for PulseAudio.
228 # Affects: pulseaudio, libmm-sound
229 %_with_pulseaudio_samsung_policy 1