1 Patterntype: rpm-md comps
2 Release: <CI_CNT>.<B_CNT>
4 Support: build-compare build-mkbaselibs
5 Support: rpmlint-mini rpmlint-tizen
8 %global aarch64 aarch64 arm64 armv8
14 FileProvides: /usr/sbin/groupadd pwdutils
17 Prefer: nfc-manager-devel
18 Prefer: nfc-common-lib-devel
19 Prefer: nfc-common-lib
20 Prefer: nfc-client-lib
21 Prefer: nfc-client-lib-devel
24 #| wayland | x | meaning
25 #|---------------------------
26 #| 0 | 1 | pure X11 platform(no wayland)
27 #| 1 | 0 | pure wayland platform (no X11)
28 #| 1 | 1 | wayland but X compatibility
29 #| 0 | 0 | no X and no wayland
31 %ifarch %arm armv7l %{aarch64}
32 Substitute: mesa-devel pkgconfig(glesv2)
33 Substitute: pkgconfig(egl)
36 %if "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland"|| "%_repository" == "arm"|| "%_repository" == "arm64" || "%_repository" == "arm64-wayland" || "%_repository" == "wayland" || "%_repository" == "standard"
38 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
39 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
40 %define _with_wayland 1
46 %if "%_repository" == "ia32-x11" || "%_repository" == "x86_64-x11" || "%_repository" == "arm-x11" || "%_repository" == "arm64-x11" || "%_repository" == "x11"
48 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) pkgconfig(gl)
49 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1_cm) pkgconfig(gl)
56 %if "%_repository" == "ia32-xwayland" || "%_repository" == "x86_64-xwayland" || "%_repository" == "arm-xwayland" || "%_repository" == "arm64-xwayland" || "%_repository" == "xwayland"
58 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2) pkgconfig(gl)
59 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1_cm) pkgconfig(gl)
60 %define _with_wayland 1
68 %if "%_repository" == "emulator"
73 Prefer: -emulator-yagl
78 %define _with_pulseaudio_samsung_policy 1
81 %define gcc_version 48
82 %define profile common
85 Target: i686-tizen-linux
89 Target: armv7hl-tizen-linux
93 Target: armv7l-tizen-linux
97 Target: aarch64-tizen-linux
102 # cross build support for the build hosts
103 Preinstall: qemu-linux-user-cross-arm
104 Keep: qemu-linux-user-cross-arm
108 Preinstall: qemu-accel-armv7hl
109 Runscripts: qemu-accel-armv7hl
110 Preinstall: util-linux libmount libblkid libuuid
113 Preinstall: qemu-accel-armv7l
114 Runscripts: qemu-accel-armv7l
115 Preinstall: util-linux libmount libblkid libuuid
118 Preinstall: qemu-accel-armv7el
119 Runscripts: qemu-accel-armv7el
120 Preinstall: util-linux libmount libblkid libuuid
123 Preinstall: qemu-accel-aarch64-cross-arm
124 Runscripts: qemu-accel-aarch64-cross-arm
125 Preinstall: util-linux libmount libblkid libuuid
129 Substitute: cross-aarch64-binutils binutils
130 Substitute: cross-aarch64-gcc48-icecream-backend gcc
131 Preinstall: setup filesystem
132 Preinstall: qemu-accel-aarch64-cross-arm
133 Runscripts: qemu-accel-aarch64-cross-arm setup filesystem
135 Preinstall: rpm rpm-build pam db4
136 Preinstall: libncurses libmpc libmpfr libgmp cloog-isl
140 #hack to start build without proper binfmt
141 Preinstall: !bbb-cross-arm
142 Ignore: bbb-cross-arm
146 #provides until we can build libs correctly
147 #FileProvides: libc.so.6 glibc
148 #FileProvides: libc.so.6(GLIBC_2.4) glibc
149 #FileProvides: libc.so.6(GLIBC_2.6) glibc
150 #FileProvides: libc.so.6(GLIBC_2.7) glibc
151 #FileProvides: libc.so.6(GLIBC_2.8) glibc
152 #FileProvides: libc.so.6(GLIBC_2.11) glibc
153 #FileProvides: libc.so.6(GLIBC_2.15) glibc
154 #FileProvides: libc.so.6(GLIBC_2.17) glibc
155 #FileProvides: ld-linux.so.3 glibc
156 #FileProvides: ld-linux.so.3(GLIBC_2.4) glibc
157 #FileProvides: ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) glibc
158 #FileProvides: ld-linux-aarch64.so.1()(64bit) glibc
159 #FileProvides: libdl.so.2 glibc
160 #FileProvides: libdl.so.2(GLIBC_2.4) glibc
161 #FileProvides: libcrypt.so.1 glibc
162 #FileProvides: libcrypt.so.1(GLIBC_2.4) glibc
163 #FileProvides: libm.so.6 glibc
164 #FileProvides: libm.so.6(GLIBC_2.4) glibc
165 #FileProvides: libpthread.so.0 glibc
166 #FileProvides: libpthread.so.0(GLIBC_2.4) glibc
167 #FileProvides: libacl.so.1 acl
168 #FileProvides: liblua.so.5.1 liblua
169 #FileProvides: liblzma.so.5 xz
170 #FileProvides: libpopt.so.0 popt
171 #FileProvides: libelf.so.1(ELFUTILS_1.0) libelf
172 #FileProvides: libnsl.so.1 glibc
173 #FileProvides: libnsl.so.1(GLIBC_2.4) glibc
174 #FileProvides: libutil.so.1 glibc
175 #FileProvides: libutil.so.1(GLIBC_2.4) glibc
176 #FileProvides: libpopt.so.0(LIBPOPT_0) popt
177 #FileProvides: libacl.so.1(ACL_1.0) acl
178 #FileProvides: libz.so.1(ZLIB_1.2.3.3) zlib
179 #FileProvides: libmagic.so.1 libmagic
180 #FileProvides: libgmp.so.10 libgmp
181 #FileProvides: libmpc.so.3 libmpc
182 #FileProvides: libmpfr.so.4 libmpfr
183 #FileProvides: libnspr4.so nspr
184 #FileProvides: libplc4.so nspr
185 #FileProvides: libplds4.so nspr
186 #FileProvides: libsqlite3.so.0 sqlite
187 #FileProvides: libattr.so.1 attr
188 #FileProvides: libattr.so.1(ATTR_1.0) attr
189 #FileProvides: libsmack.so.1 smack
190 #FileProvides: libsmack.so.1(LIBSMACK_1.0) smack
191 #FileProvides: libxml2.so.2 libxml2
192 #FileProvides: libxml2.so.2(LIBXML2_2.4.30) libxml2
193 #FileProvides: libxml2.so.2(LIBXML2_2.5.0) libxml2
194 #FileProvides: libxml2.so.2(LIBXML2_2.6.0) libxml2
195 #FileProvides: librpm.so.3()(64bit) rpm
196 #FileProvides: librpmio.so.3()(64bit) rpm
199 ExportFilter: ^qemu-linux-user.*\.x86_64\.rpm$ . armv7l armv7hl aarch64
201 ExportFilter: ^qemu-accel-armv7hl.*\.i686\.rpm$ . armv7hl
202 ExportFilter: ^qemu-accel-armv7l.*\.i686\.rpm$ . armv7l
203 ExportFilter: ^qemu-accel-aarch64.*\.i686\.rpm$ . aarch64
204 ExportFilter: \.armv7l\.rpm$ armv7l
205 ExportFilter: \.aarch64\.rpm$ aarch64
206 ExportFilter: \.x86_64\.rpm$ x86_64
209 Preinstall: setup filesystem
212 Preinstall: bash bzip2 coreutils diffutils grep rpm
213 Preinstall: glibc libacl libattr
215 Preinstall: libgcc_s1
216 Preinstall: libpopt sed tar zlib
217 Preinstall: libncurses libreadline
218 Preinstall: libelf libbz2
220 Preinstall: nss nspr libfreebl3 libsoftokn3
223 Preinstall: smack libsmack libxml2 libmagic libmagic-data
224 Preinstall: libsqlite
225 Preinstall: rpm-security-plugin
227 VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux
230 Support: cross-aarch64-binutils cross-aarch64-gcc48-icecream-backend
232 Required: binutils gcc glibc rpm-build libtool
236 Support: cpio findutils
237 Support: file findutils zlib bzip2
238 Support: gzip hostname net-tools
239 Support: make patch sed gawk tar grep coreutils pkg-config
243 Support: which elfutils
244 Support: update-alternatives
249 Keep: cpp%{gcc_version} gcc%{gcc_version} gcc%{gcc_version}-ada libstdc++%{gcc_version}
250 Keep: libstdc++%{gcc_version}-devel gcc%{gcc_version}-c++
251 Keep: cpp gcc libstdc++
253 Keep: binutils cpp libmagic-data file findutils gawk gcc gcc-c++
254 Keep: gdbm gzip libada libunwind glibc-devel libpcre xz-lzma-compat
255 Keep: make gmp libcap groff cpio
256 Keep: patch rpm-build nss nspr elfutils python grep libgcc gcc-c++
257 Keep: kernel-headers perl-libs perl
258 Keep: pkgconfig glib2 tizen-rpm-config
259 Keep: libmpc libmpfr libppl libgmp libppl_c
260 Keep: libcloog libppl libgmpxx
261 Keep: nss-softokn-freebl libmagic libmagic-data
263 Keep: update-alternatives
264 Prefer: libstdc++%{gcc_version} libgcc%{gcc_version}
265 Prefer: libstdc++%{gcc_version}-32bit libstdc++%{gcc_version}-64bit
267 Substitute: gettext gettext-tools
271 Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
273 Substitute: glibc-devel-32bit
277 #%__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
279 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
281 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__
283 Optflags: aarch64 -O2 -g2 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat -Wformat-security -fmessage-length=0
289 %_with_pulseaudio_samsung_policy 1
295 %_default_patch_fuzz 2
296 %_with_dlog_to_systemd_journal 1
297 %_with_bluetooth_frwk_libnotification 1