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 #| 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
25 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
26 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
27 %define _with_wayland 1
32 ############################# emulator repository ############################
34 %if "%_repository" == "emulator"
36 Prefer: mesa-libGLESv2
37 Prefer: libwayland-egl
43 %define _with_emulator 1
52 %define _with_pulseaudio_samsung_policy 1
55 %define gcc_version 48
56 %define profile common
59 Target: i686-tizen-linux
63 Target: armv7hl-tizen-linux
67 Target: armv7l-tizen-linux
72 # cross build support for the build hosts
73 Preinstall: qemu-linux-user-cross-arm
74 Keep: qemu-linux-user-cross-arm
78 Preinstall: qemu-accel-armv7hl
79 Runscripts: qemu-accel-armv7hl
80 Preinstall: libmount libblkid libuuid
83 Preinstall: qemu-accel-armv7l-cross-arm
84 Runscripts: qemu-accel-armv7l-cross-arm
85 Preinstall: libmount libblkid libuuid
88 Preinstall: qemu-accel-armv7el
89 Runscripts: qemu-accel-armv7el
90 Preinstall: libmount libblkid libuuid
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
98 Preinstall: setup filesystem
101 Preinstall: bash bzip2 coreutils diffutils grep rpm
102 Preinstall: glibc libacl libattr
104 Preinstall: libgcc_s1
105 Preinstall: libpopt sed tar zlib
106 Preinstall: libncurses libreadline
107 Preinstall: libelf libbz2
109 Preinstall: nss nspr libfreebl3 libsoftokn3
112 Preinstall: smack libsmack libxml2 libmagic libmagic-data
113 Preinstall: libsqlite
114 Preinstall: rpm-security-plugin
115 Preinstall: util-linux
117 VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux
119 Required: binutils gcc glibc rpm-build libtool
121 Support: glibc-locale
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
131 Support: which elfutils
132 Support: update-alternatives
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++
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
151 Keep: update-alternatives
152 Prefer: libstdc++%{gcc_version} libgcc%{gcc_version}
153 Prefer: libstdc++%{gcc_version}-32bit libstdc++%{gcc_version}-64bit
155 Substitute: gettext gettext-tools
159 Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
161 Substitute: glibc-devel-32bit
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
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
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__
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
189 %_default_patch_fuzz 2
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.
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
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
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
215 # Enable certain packages (for example, libgee and glib) to be compiled
216 # with introspection enabled, which was required in IVI to compile Vala
218 %_with_introspection 1
220 # This selects whether or not to use ICO system controller or Murphy
225 # Uses mobile-specific Samsung patches for PulseAudio.
226 # Affects: pulseaudio, libmm-sound
227 %_with_pulseaudio_samsung_policy 1