From 0b0442fd5f0e0492e2b9cbf51b4f84104a0c58b5 Mon Sep 17 00:00:00 2001 From: ronan Date: Fri, 15 Feb 2013 10:16:26 +0100 Subject: [PATCH] - Create *-depends.inc files for each bb files. --- Tizen_TZ_package/create-package-initial.py | 125 +- Tizen_TZ_package/package-provided | 90 + .../recipes-Development/gitCloneAll.sh | 6 + Tizen_TZ_package/recipes-Development/git_path | 30 + Tizen_TZ_package/recipes-Development/list_packages | 30 + .../recipes-Development/package-config-initial | 30 + Tizen_TZ_package/recipes-DevelopmentExtra/git_path | 38 + .../recipes-DevelopmentExtra/list_packages | 34 + .../package-config-initial | 34 + .../specfile-initial/acl.spec | 96 + .../specfile-initial/attr.spec | 119 + .../specfile-initial/bc.spec | 54 + .../specfile-initial/bzip2.spec | 93 + .../specfile-initial/db4.spec | 197 ++ .../specfile-initial/dbus.spec | 225 ++ .../specfile-initial/doxygen.spec | 102 + .../specfile-initial/elfutils.spec | 202 ++ .../specfile-initial/expat.spec | 90 + .../specfile-initial/fdupes.spec | 32 + .../specfile-initial/file.spec | 115 + .../specfile-initial/gcc47.spec | 2710 ++++++++++++++++++++ .../specfile-initial/gdbm.spec | 112 + .../specfile-initial/gettext.spec | 196 ++ .../specfile-initial/glib2.spec | 167 ++ .../specfile-initial/help2man.spec | 44 + .../specfile-initial/hwdata.spec | 32 + .../specfile-initial/iso-codes.spec | 51 + .../specfile-initial/libcap-ng.spec | 86 + .../specfile-initial/libcap.spec | 87 + .../specfile-initial/libgcrypt.spec | 78 + .../specfile-initial/libgpg-error.spec | 60 + .../specfile-initial/libxml2.spec | 153 ++ .../specfile-initial/libzio.spec | 63 + .../specfile-initial/linux-glibc-devel.spec | 157 ++ .../specfile-initial/lua.spec | 135 + .../specfile-initial/ncurses.spec | 705 +++++ .../specfile-initial/nspr.spec | 92 + .../specfile-initial/nss.spec | 327 +++ .../specfile-initial/openssl.spec | 78 + .../specfile-initial/perl-gettext.spec | 52 + .../specfile-initial/perl.spec | 334 +++ .../specfile-initial/pkg-config.spec | 45 + .../specfile-initial/readline.spec | 134 + .../specfile-initial/smack.spec | 81 + .../specfile-initial/texinfo.spec | 227 ++ .../specfile-initial/uthash.spec | 40 + .../specfile-initial/zlib.spec | 142 + .../recipes-BaseSystem/bash/bash-depends.inc | 4 + meta-tizen/recipes-BaseSystem/bash/bash.inc | 7 +- .../ca-certificates-mozilla-depends.inc | 3 + .../ca-certificates-mozilla.inc | 6 +- .../recipes-BaseSystem/connman/connman-depends.inc | 8 + meta-tizen/recipes-BaseSystem/connman/connman.inc | 11 +- .../coreutils/coreutils-depends.inc | 10 + .../recipes-BaseSystem/coreutils/coreutils.inc | 13 +- .../recipes-BaseSystem/curl/curl-depends.inc | 7 + meta-tizen/recipes-BaseSystem/curl/curl.inc | 10 +- .../e2fsprogs/e2fsprogs-depends.inc | 6 + .../recipes-BaseSystem/e2fsprogs/e2fsprogs.inc | 9 +- .../filesystem/filesystem-depends.inc | 3 + .../recipes-BaseSystem/filesystem/filesystem.inc | 6 +- .../recipes-BaseSystem/gdbm/gdbm-depends.inc | 3 + meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc | 6 +- .../recipes-BaseSystem/glibc/glibc-depends.inc | 8 + meta-tizen/recipes-BaseSystem/glibc/glibc.inc | 5 +- meta-tizen/recipes-BaseSystem/kbd/kbd-depends.inc | 5 + meta-tizen/recipes-BaseSystem/kbd/kbd.inc | 8 +- .../recipes-BaseSystem/kmod/kmod-depends.inc | 9 + meta-tizen/recipes-BaseSystem/kmod/kmod.inc | 13 +- .../libcap-ng/libcap-ng-depends.inc | 6 + .../recipes-BaseSystem/libcap-ng/libcap-ng.inc | 10 +- .../net-tools/net-tools-depends.inc | 1 + .../recipes-BaseSystem/net-tools/net-tools.inc | 3 +- .../recipes-BaseSystem/nspr/nspr-depends.inc | 4 + meta-tizen/recipes-BaseSystem/nspr/nspr.inc | 7 +- meta-tizen/recipes-BaseSystem/pam/pam-depends.inc | 11 + meta-tizen/recipes-BaseSystem/pam/pam.inc | 14 +- .../pciutils/pciutils-depends.inc | 4 + .../recipes-BaseSystem/pciutils/pciutils.inc | 7 +- .../recipes-BaseSystem/procps/procps-depends.inc | 6 + meta-tizen/recipes-BaseSystem/procps/procps.inc | 9 +- .../recipes-BaseSystem/psmisc/psmisc-depends.inc | 7 + meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc | 10 +- .../pwdutils/pwdutils-depends.inc | 6 + .../recipes-BaseSystem/pwdutils/pwdutils.inc | 9 +- .../readline/readline-depends.inc | 6 + .../recipes-BaseSystem/readline/readline.inc | 9 +- meta-tizen/recipes-BaseSystem/rpm/rpm-depends.inc | 27 + meta-tizen/recipes-BaseSystem/rpm/rpm.inc | 30 +- .../recipes-BaseSystem/setup/setup-depends.inc | 3 + meta-tizen/recipes-BaseSystem/setup/setup.inc | 6 +- .../recipes-BaseSystem/systemd/systemd-depends.inc | 18 + meta-tizen/recipes-BaseSystem/systemd/systemd.inc | 25 +- .../tizen-release/tizen-release-depends.inc | 1 + .../tizen-release/tizen-release.inc | 3 +- .../recipes-BaseSystem/tzdata/tzdata-depends.inc | 1 + meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc | 3 +- .../util-linux/util-linux-depends.inc | 11 + .../recipes-BaseSystem/util-linux/util-linux.inc | 14 +- .../alsa-utils/alsa-utils-depends.inc | 3 + .../recipes-Development/alsa-utils/alsa-utils.inc | 6 +- .../autoconf/autoconf-depends.inc | 4 + .../recipes-Development/autoconf/autoconf.inc | 8 +- .../automake/automake-depends.inc | 6 + .../recipes-Development/automake/automake.inc | 10 +- .../binutils/binutils-depends.inc | 9 + .../recipes-Development/binutils/binutils.inc | 12 +- .../recipes-Development/bison/bison-depends.inc | 3 + meta-tizen/recipes-Development/bison/bison.inc | 6 +- .../chrpath/chrpath-depends.inc | 1 + meta-tizen/recipes-Development/chrpath/chrpath.inc | 3 +- .../recipes-Development/cmake/cmake-depends.inc | 9 + meta-tizen/recipes-Development/cmake/cmake.inc | 12 +- .../diffutils/diffutils-depends.inc | 3 + .../recipes-Development/diffutils/diffutils.inc | 6 +- .../findutils/findutils-depends.inc | 1 + .../recipes-Development/findutils/findutils.inc | 3 +- .../recipes-Development/flex/flex-depends.inc | 7 + meta-tizen/recipes-Development/flex/flex.inc | 10 +- meta-tizen/recipes-Development/gcc/gcc-depends.inc | 1 + meta-tizen/recipes-Development/gcc/gcc.inc | 3 +- meta-tizen/recipes-Development/gdb/gdb-depends.inc | 12 + meta-tizen/recipes-Development/gdb/gdb.inc | 15 +- .../gstreamer/gstreamer-depends.inc | 10 + .../recipes-Development/gstreamer/gstreamer.inc | 14 +- .../recipes-Development/less/less-depends.inc | 6 + meta-tizen/recipes-Development/less/less.inc | 9 +- .../libtool/libtool-depends.inc | 7 + meta-tizen/recipes-Development/libtool/libtool.inc | 10 +- .../recipes-Development/make/make-depends.inc | 1 + meta-tizen/recipes-Development/make/make.inc | 3 +- .../recipes-Development/nano/nano-depends.inc | 4 + meta-tizen/recipes-Development/nano/nano.inc | 7 +- .../recipes-Development/nasm/nasm-depends.inc | 3 + meta-tizen/recipes-Development/nasm/nasm.inc | 6 +- .../pacrunner/pacrunner-depends.inc | 6 + .../recipes-Development/pacrunner/pacrunner.inc | 9 +- .../recipes-Development/patch/patch-depends.inc | 1 + meta-tizen/recipes-Development/patch/patch.inc | 3 +- .../powertop/powertop-depends.inc | 7 + .../recipes-Development/powertop/powertop.inc | 10 +- .../pulseaudio/pulseaudio-depends.inc | 26 + .../recipes-Development/pulseaudio/pulseaudio.inc | 30 +- .../recipes-Development/strace/strace-depends.inc | 5 + meta-tizen/recipes-Development/strace/strace.inc | 8 +- meta-tizen/recipes-Development/tcl/tcl-depends.inc | 1 + meta-tizen/recipes-Development/tcl/tcl.inc | 3 +- .../recipes-Development/unzip/unzip-depends.inc | 1 + meta-tizen/recipes-Development/unzip/unzip.inc | 3 +- meta-tizen/recipes-Development/vim/vim-depends.inc | 11 + meta-tizen/recipes-Development/vim/vim.inc | 14 +- .../recipes-Development/wdiff/wdiff-depends.inc | 3 + meta-tizen/recipes-Development/wdiff/wdiff.inc | 6 +- meta-tizen/recipes-Development/xz/xz-depends.inc | 3 + meta-tizen/recipes-Development/xz/xz.inc | 6 +- .../recipes-Development/yasm/yasm-depends.inc | 3 + meta-tizen/recipes-Development/yasm/yasm.inc | 6 +- meta-tizen/recipes-Development/zip/zip-depends.inc | 1 + meta-tizen/recipes-Development/zip/zip.inc | 3 +- .../recipes-DevelopmentExtra/acl/acl-depends.inc | 3 + meta-tizen/recipes-DevelopmentExtra/acl/acl.inc | 6 +- .../recipes-DevelopmentExtra/attr/attr-depends.inc | 3 + meta-tizen/recipes-DevelopmentExtra/attr/attr.inc | 6 +- .../recipes-DevelopmentExtra/bc/bc-depends.inc | 3 + meta-tizen/recipes-DevelopmentExtra/bc/bc.inc | 6 +- .../bzip2/bzip2-depends.inc | 4 + .../recipes-DevelopmentExtra/bzip2/bzip2.inc | 7 +- .../recipes-DevelopmentExtra/db4/db4-depends.inc | 5 + meta-tizen/recipes-DevelopmentExtra/db4/db4.inc | 8 +- .../recipes-DevelopmentExtra/dbus/dbus-depends.inc | 10 + meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc | 13 +- .../doxygen/doxygen-depends.inc | 7 + .../recipes-DevelopmentExtra/doxygen/doxygen.inc | 11 +- .../elfutils/elfutils-depends.inc | 8 + .../recipes-DevelopmentExtra/elfutils/elfutils.inc | 11 +- .../expat/expat-depends.inc | 5 + .../recipes-DevelopmentExtra/expat/expat.inc | 8 +- .../fdupes/fdupes-depends.inc | 1 + .../recipes-DevelopmentExtra/fdupes/fdupes.inc | 3 +- .../recipes-DevelopmentExtra/file/file-depends.inc | 5 + meta-tizen/recipes-DevelopmentExtra/file/file.inc | 8 +- .../gcc47/gcc47-depends.inc | 14 + .../recipes-DevelopmentExtra/gcc47/gcc47.inc | 17 +- .../gettext/gettext-depends.inc | 8 + .../recipes-DevelopmentExtra/gettext/gettext.inc | 12 +- .../glib2/glib2-depends.inc | 6 + .../recipes-DevelopmentExtra/glib2/glib2.inc | 9 +- .../help2man/help2man-depends.inc | 4 + .../recipes-DevelopmentExtra/help2man/help2man.inc | 7 +- .../hwdata/hwdata-depends.inc | 1 + .../recipes-DevelopmentExtra/hwdata/hwdata.inc | 3 +- .../iso-codes/iso-codes-depends.inc | 3 + .../iso-codes/iso-codes.inc | 7 +- .../libcap/libcap-depends.inc | 4 + .../recipes-DevelopmentExtra/libcap/libcap.inc | 7 +- .../libgcrypt/libgcrypt-depends.inc | 4 + .../libgcrypt/libgcrypt.inc | 8 +- .../libgpg-error/libgpg-error-depends.inc | 4 + .../libgpg-error/libgpg-error.inc | 7 +- .../libxml2/libxml2-depends.inc | 6 + .../recipes-DevelopmentExtra/libxml2/libxml2.inc | 9 +- .../libzio/libzio-depends.inc | 6 + .../recipes-DevelopmentExtra/libzio/libzio.inc | 9 +- .../linux-glibc-devel-depends.inc | 3 + .../linux-glibc-devel/linux-glibc-devel.inc | 6 +- .../recipes-DevelopmentExtra/lua/lua-depends.inc | 4 + meta-tizen/recipes-DevelopmentExtra/lua/lua.inc | 7 +- .../ncurses/ncurses-depends.inc | 3 + .../recipes-DevelopmentExtra/ncurses/ncurses.inc | 6 +- .../recipes-DevelopmentExtra/nss/nss-depends.inc | 7 + meta-tizen/recipes-DevelopmentExtra/nss/nss.inc | 10 +- .../openssl/openssl-depends.inc | 1 + .../recipes-DevelopmentExtra/openssl/openssl.inc | 3 +- .../perl-gettext/perl-gettext-depends.inc | 4 + .../perl-gettext/perl-gettext.inc | 7 +- .../recipes-DevelopmentExtra/perl/perl-depends.inc | 7 + meta-tizen/recipes-DevelopmentExtra/perl/perl.inc | 10 +- .../pkg-config/pkg-config-depends.inc | 1 + .../pkg-config/pkg-config.inc | 3 +- .../smack/smack-depends.inc | 5 + .../recipes-DevelopmentExtra/smack/smack.inc | 8 +- .../texinfo/texinfo-depends.inc | 9 + .../recipes-DevelopmentExtra/texinfo/texinfo.inc | 12 +- .../uthash/uthash-depends.inc | 1 + .../recipes-DevelopmentExtra/uthash/uthash.inc | 3 +- .../recipes-DevelopmentExtra/zlib/zlib-depends.inc | 3 + meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc | 6 +- 227 files changed, 8691 insertions(+), 697 deletions(-) create mode 100644 Tizen_TZ_package/package-provided create mode 100755 Tizen_TZ_package/recipes-Development/gitCloneAll.sh create mode 100644 Tizen_TZ_package/recipes-Development/git_path create mode 100644 Tizen_TZ_package/recipes-Development/list_packages create mode 100644 Tizen_TZ_package/recipes-Development/package-config-initial create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/git_path create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/list_packages create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/package-config-initial create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/acl.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/attr.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bc.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bzip2.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/db4.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/dbus.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/doxygen.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/elfutils.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/expat.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/fdupes.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/file.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gcc47.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gdbm.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gettext.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/glib2.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/help2man.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/hwdata.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/iso-codes.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap-ng.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgcrypt.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgpg-error.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libxml2.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libzio.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/linux-glibc-devel.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/lua.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/ncurses.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nspr.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nss.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/openssl.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl-gettext.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/pkg-config.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/readline.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/smack.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/texinfo.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/uthash.spec create mode 100644 Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/zlib.spec create mode 100644 meta-tizen/recipes-BaseSystem/bash/bash-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/connman/connman-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/coreutils/coreutils-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/curl/curl-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/filesystem/filesystem-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/gdbm/gdbm-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/glibc/glibc-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/kbd/kbd-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/kmod/kmod-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/net-tools/net-tools-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/nspr/nspr-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/pam/pam-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/pciutils/pciutils-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/procps/procps-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/psmisc/psmisc-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/readline/readline-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/rpm/rpm-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/setup/setup-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/systemd/systemd-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/tzdata/tzdata-depends.inc create mode 100644 meta-tizen/recipes-BaseSystem/util-linux/util-linux-depends.inc create mode 100644 meta-tizen/recipes-Development/alsa-utils/alsa-utils-depends.inc create mode 100644 meta-tizen/recipes-Development/autoconf/autoconf-depends.inc create mode 100644 meta-tizen/recipes-Development/automake/automake-depends.inc create mode 100644 meta-tizen/recipes-Development/binutils/binutils-depends.inc create mode 100644 meta-tizen/recipes-Development/bison/bison-depends.inc create mode 100644 meta-tizen/recipes-Development/chrpath/chrpath-depends.inc create mode 100644 meta-tizen/recipes-Development/cmake/cmake-depends.inc create mode 100644 meta-tizen/recipes-Development/diffutils/diffutils-depends.inc create mode 100644 meta-tizen/recipes-Development/findutils/findutils-depends.inc create mode 100644 meta-tizen/recipes-Development/flex/flex-depends.inc create mode 100644 meta-tizen/recipes-Development/gcc/gcc-depends.inc create mode 100644 meta-tizen/recipes-Development/gdb/gdb-depends.inc create mode 100644 meta-tizen/recipes-Development/gstreamer/gstreamer-depends.inc create mode 100644 meta-tizen/recipes-Development/less/less-depends.inc create mode 100644 meta-tizen/recipes-Development/libtool/libtool-depends.inc create mode 100644 meta-tizen/recipes-Development/make/make-depends.inc create mode 100644 meta-tizen/recipes-Development/nano/nano-depends.inc create mode 100644 meta-tizen/recipes-Development/nasm/nasm-depends.inc create mode 100644 meta-tizen/recipes-Development/pacrunner/pacrunner-depends.inc create mode 100644 meta-tizen/recipes-Development/patch/patch-depends.inc create mode 100644 meta-tizen/recipes-Development/powertop/powertop-depends.inc create mode 100644 meta-tizen/recipes-Development/pulseaudio/pulseaudio-depends.inc create mode 100644 meta-tizen/recipes-Development/strace/strace-depends.inc create mode 100644 meta-tizen/recipes-Development/tcl/tcl-depends.inc create mode 100644 meta-tizen/recipes-Development/unzip/unzip-depends.inc create mode 100644 meta-tizen/recipes-Development/vim/vim-depends.inc create mode 100644 meta-tizen/recipes-Development/wdiff/wdiff-depends.inc create mode 100644 meta-tizen/recipes-Development/xz/xz-depends.inc create mode 100644 meta-tizen/recipes-Development/yasm/yasm-depends.inc create mode 100644 meta-tizen/recipes-Development/zip/zip-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/acl/acl-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/attr/attr-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/bc/bc-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/db4/db4-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/dbus/dbus-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/expat/expat-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/file/file-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/gettext/gettext-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/glib2/glib2-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/help2man/help2man-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libcap/libcap-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/libzio/libzio-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/lua/lua-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/nss/nss-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/openssl/openssl-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/perl/perl-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/smack/smack-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/uthash/uthash-depends.inc create mode 100644 meta-tizen/recipes-DevelopmentExtra/zlib/zlib-depends.inc diff --git a/Tizen_TZ_package/create-package-initial.py b/Tizen_TZ_package/create-package-initial.py index b642af9..56b6c60 100755 --- a/Tizen_TZ_package/create-package-initial.py +++ b/Tizen_TZ_package/create-package-initial.py @@ -248,7 +248,6 @@ def getPackages(spectDico): else: pass #replace macro - return res def cleanPackageName(baseName,packageName): @@ -347,8 +346,8 @@ def getBuildRequires(lines): for r in buildRequires: for tmpClean in cleanPackageLine(r): if len(tmpClean)>=1: - if tmpClean[0] == "gcc-c++": - tmpClean[0]="gcc" +# if tmpClean[0] == "gcc-c++": +# tmpClean[0]="gcc" res.append(tmpClean) return res @@ -443,7 +442,8 @@ def createRecipes(package_name, package_spec_path, spectDico, orderList, - recipesDir): + recipesDir, + packageProvidedFile): if not os.path.isdir(recipesDir): os.mkdir(recipesDir) @@ -460,20 +460,29 @@ def createRecipes(package_name, LICENSE = getLicense( spectDico[__introduction_section] ) packagesDico=getPackages(spectDico) - providesDico=getProvides(spectDico) # rprovidesList=getProvides(spectDico) - dependsDico=getDepends(spectDico) rdependsDico=getRDepends(spectDico) baseFile=package_name+".inc" + baseDependsFile=package_name+"-depends.inc" exctraConfFile=package_name+"-extraconf.inc" gitFile=package_name+"_git.bb" #Just touch a file + open(os.path.join(packageRecipesDir,baseDependsFile), "a").close() open(os.path.join(packageRecipesDir,exctraConfFile), "a").close() + with open(packageProvidedFile, "a") as f: + ProvidesList=[] + + for kp in providesDico.keys(): + for p in providesDico[kp]: + ProvidesList.append(p[0]) + + f.write( "%s:::: %s \n" % (package_name," ".join(ProvidesList) )) + with open(os.path.join(packageRecipesDir,baseFile),"w" ) as f: f.write("DESCRIPTION = \"%s\"\n" % DESCRIPTION) f.write("HOMEPAGE = \"%s\"\n" % HOMEPAGE) @@ -503,23 +512,6 @@ def createRecipes(package_name, # f.write("RPROVIDES += \"%s\"\n" % p) # f.write("\n" ) - f.write("DEPENDS = \"\"\n" ) - for kp in dependsDico.keys(): - if len(dependsDico[kp]) > 0: - f.write("#DEPENDS of %s \n" % kp) - - for p in dependsDico[kp]: - pp=p[0].replace("-devel-static","") - pp=pp.replace("-devel","") - if len(p)==1: - f.write("DEPENDS += \"%s\"\n" % pp) - else: - f.write("# the DEPENDS rules is ignore \"%s %s %s\"\n" % (pp,p[1],p[2])) - f.write("DEPENDS += \"%s\"\n" % pp) - if len(dependsDico[kp]) > 0: - f.write("\n") - f.write("\n" ) - f.write("RDEPENDS = \"\"\n" ) for kp in rdependsDico.keys(): if len(rdependsDico[kp]) > 0: @@ -556,6 +548,7 @@ def createRecipes(package_name, f.write("\n" ) f.write("require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc\n\n") + f.write("require "+baseDependsFile+"\n") f.write("require "+exctraConfFile+"\n") @@ -566,12 +559,66 @@ def createRecipes(package_name, f.write("\n" ) f.write("SRC_URI = %s\n" % package_git_command) - + +def createDepends(package_name, + package_git_command, + package_spec_path, + spectDico, + orderList, + recipesDir, + packageProvidedFile): + + if not os.path.isdir(recipesDir): + os.mkdir(recipesDir) + + packageRecipesDir=os.path.join(recipesDir,package_name) + + if not os.path.isdir(packageRecipesDir): + os.mkdir(packageRecipesDir) + + dependsDico=getDepends(spectDico) + + providesDico={} + with open(packageProvidedFile,"r") as f: + for line in f: + if "::::" in line: + k,v=line.split("::::") + providesDico[k]=v.split(" ") + + baseDependsFile=package_name+"-depends.inc" + with open(os.path.join(packageRecipesDir,baseDependsFile),"w" ) as f: + + f.write("DEPENDS = \"\"\n" ) + + for kp in dependsDico.keys(): + if len(dependsDico[kp]) > 0: + f.write("#DEPENDS of %s \n" % kp) + + for p in dependsDico[kp]: +# pp=p[0].replace("-devel-static","") +# pp=pp.replace("-devel","") + pp=p[0] + + res=None + for k in providesDico.keys(): + + if pp in providesDico[k]: + res=k + break + if res is None: + print "No direct provider for package %s : %s" % (package_name,pp) + res=pp + f.write("DEPENDS += \"%s\"\n" % res) + + def createPackages(): - recipesSourceDir="/home/ronanguirec/Documents/yocto/Tizen_TZ_package" + recipesSourceDir="/home/ronanguirec/Documents/yoctoTest/yoctoTizen/Tizen_TZ_package" recipesList=["recipes-BaseSystem","recipes-Development","recipes-DevelopmentExtra"] + packageProvidedFile=os.path.join(recipesSourceDir,"package-provided") + open(packageProvidedFile, "w").close() + for recipeDir in recipesList: specFileDir=os.path.join(recipesSourceDir,recipeDir,"specfile-initial") @@ -585,7 +632,31 @@ def createPackages(): parsedSpecFile=convertSpecFile(package_spec_path) spectDico,orderList=parseParsedSpecFile(parsedSpecFile) - res=createRecipes(package_name,package_git_command,package_spec_path,spectDico,orderList,recipesDirDest) + res=createRecipes(package_name,package_git_command,package_spec_path,spectDico,orderList,recipesDirDest,packageProvidedFile) + + +def createPackagesDepends(): + recipesSourceDir="/home/ronanguirec/Documents/yoctoTest/yoctoTizen/Tizen_TZ_package" + + recipesList=["recipes-BaseSystem","recipes-Development","recipes-DevelopmentExtra"] + + packageProvidedFile=os.path.join(recipesSourceDir,"package-provided") + + for recipeDir in recipesList: + + specFileDir=os.path.join(recipesSourceDir,recipeDir,"specfile-initial") + packageConfig=os.path.join(recipesSourceDir,recipeDir,"package-config-initial") + + recipesDirDest=os.path.join("/home/ronanguirec/Documents/yocto/openembedded-core-gen-tizen/meta-tizen",recipeDir) + + packageList=listPackage(specFileDir, packageConfig) + + for package_name,package_git_command,package_spec_path in packageList: + parsedSpecFile=convertSpecFile(package_spec_path) + spectDico,orderList=parseParsedSpecFile(parsedSpecFile) + + res=createDepends(package_name,package_git_command,package_spec_path,spectDico,orderList,recipesDirDest,packageProvidedFile) + # return 0 @@ -621,8 +692,8 @@ if __name__ == '__main__': res=0 elif command=="createRecipes": - res=createPackages() + res=createPackagesDepends() else: print command," is not a valid command." diff --git a/Tizen_TZ_package/package-provided b/Tizen_TZ_package/package-provided new file mode 100644 index 0000000..7ba15c7 --- /dev/null +++ b/Tizen_TZ_package/package-provided @@ -0,0 +1,90 @@ +e2fsprogs:::: libext2fs e2fsprogs-devel e2fsprogs libcom_err libcom_err-devel libext2fs-devel +util-linux:::: uuidd libmount-devel util-linux-lang util-linux-lang-all libblkid libuuid libmount util-linux eject base login util uuid-runtime libuuid-devel libblkid-devel +kmod:::: libkmod-devel kmod kmod-compat libkmod +tzdata:::: tzdata timezone +pwdutils:::: pwdutils +pam:::: pam-modules-extra pam pam-devel +setup:::: setup +filesystem:::: filesystem +systemd:::: libsystemd systemd SysVinit sysvinit /bin/systemctl /sbin/shutdown udev libgudev-devel systemd-devel libudev-devel libgudev systemd-analyze +bash:::: bash /bin/bash /bin/sh +coreutils:::: coreutils fileutils mktemp sh-utils stat textutils /bin/chmod /bin/chown /bin/ls /bin/touch /bin/mkdir /bin/cat coreutils-lang coreutils-lang-all +rpm:::: rpm-security-plugin rpm-devel rpm rpminst rpm-libs rpm-build rpmbuildrpm:/usr/bin/rpmbuild +curl:::: libcurl curl webclient libcurl-devel curl-devel +tizen-release:::: tizen-release system-release tizen-release lsb +procps:::: procps-devel procps ps libprocps +psmisc:::: psmisc ps:/usr/bin/killall +net-tools:::: net-tools +kbd:::: kbd-misc kbd +glibc:::: glibc-devel glibc-locale glibc-utils glibc-devel-static glibc-static glibc-extra glibc rtld(GNU_HASH) glibc-obsolete glibc-info nscd glibc:/usr/sbin/nscd glibc-i18ndata glibc-html glibc-profile +pciutils:::: pciutils-devel libpci pciutils +connman:::: connman connman-devel connman-test +ca-certificates-mozilla:::: ca-certificates-mozilla openssl-certs +libcap-ng:::: libcap-ng-devel libcap-ng libcap-ng-utils +readline:::: libreadline readline bash://usr/lib64/libreadline.so.5 readline-devel bash:/usr/lib64/libreadline.a +nspr:::: nspr-devel nspr +gdbm:::: libgdbm gdbm gdbm gdbm-devel gdbm:/usr/lib/libgdbm.so +alsa-utils:::: alsa-utils-doc alsa-utils +autoconf:::: autoconf +automake:::: automake +binutils:::: binutils-devel binutils:/usr/include/bfd.h binutils-gold binutils +bison:::: bison +chrpath:::: chrpath +cmake:::: cmake +diffutils:::: diffutils diff +findutils:::: findutils-locate findutils:/usr/bin/locate findutils findutils-lang findutils-lang-all +flex:::: flex +gcc:::: gcc-gij gcc-gij-32bit gcc-obj-c++ gcc-fortran-32bit gcc-info gcc c_compiler libstdc++-devel gcc-64bit gcc-locale gcc-objc-64bit gcc-c++ c++_compiler gcc-fortran gcc-c++-64bit gcc-z9 gcc-objc-32bit gcc-java libgcj-devel gcc-c++-32bit gcc-ada gcc-32bit gcc-objc gcc-fortran-64bit cpp gcc-gij-64bit +gdb:::: gdb-devel gdb gdb-server gdb-lang gdb-lang-all +gstreamer:::: gstreamer-utils gstreamer:/usr/bin/gst-launch-1.0 gstreamer-utils_versioned gstreamer gstreamer-devel typelib-Gst libgstreamer gstreamer-lang gstreamer-lang-all +less:::: less +libtool:::: libltdl libtool libltdl-devel libtool-ltdl-devel +make:::: make gmake +nano:::: nano-lang nano-lang-all nano +nasm:::: nasm-doc nasm:/usr/share/doc/packages/nasm/nasmdoc.pdf nasm +pacrunner:::: pacrunner-test pacrunner +patch:::: patch +powertop:::: powertop powertop-lang powertop-lang-all +pulseaudio:::: libpulse pulseaudio-lang pulseaudio-lang-all pulseaudio-module-bluetooth libpulse-mainloop-glib pulseaudio-utils pulseaudio pulseaudio-module-x11 pulseaudio-esound-compat pulseaudio-module-devel libpulse-devel pulseaudio-gdm-hooks pulseaudio-module-zeroconf pulseaudio-module-jack pulseaudio-module-gconf +strace:::: strace +tcl:::: tcl +unzip:::: unzip +vim:::: vim-data vim-base vim-enhanced vi vim_client vim vi vim_client +wdiff:::: wdiff wdiff-lang +xz:::: xz lzma xz-lang xz-lang-all liblzma xz-devel lzma-devel lzma-alpha-devel +yasm:::: yasm +zip:::: zip +fdupes:::: fdupes +texinfo:::: info texinfo texi2html texi2roff makeinfo texinfo:/usr/bin/makeinfo +gettext:::: gettext-runtime gettext-libs gettext-tools gettext-devel gettext +help2man:::: help2man +bzip2:::: bzip2-devel bzip2 bzip libbz2 +libzio:::: libzio-devel libzio +ncurses:::: ncurses-utils ncurses:/usr/bin/tput terminfo-base ncurses:/usr/share/tabset ncurses-devel ncurses:/usr/include/ncurses.h ncurses libncurses ncurses libncurses6 ncurses terminfo +perl-gettext:::: perl-gettext +zlib:::: zlib-devel libz:/usr/include/zlib.h zlib libz zlib-devel-static zlib-devel:/usr/lib64/libz.a minizip minizip-devel +expat:::: expat expat-devel expat-doc +openssl:::: openssl openssl-devel +db4:::: db4-doc db4-utils db4 db db4-devel +iso-codes:::: iso-codes-devel iso-codes +libcap:::: libcap libcap-progs libcap-devel +libgcrypt:::: libgcrypt libgcrypt-devel +dbus:::: libdbus dbus dbus-1 dbus-devel-doc dbus-devel +acl:::: libacl libacl-devel acl +glib2:::: glib2 glib2-devel glib2-static +hwdata:::: hwdata pciutils-ids +file:::: file-devel file:/usr/include/magic.h libmagic-data libmagic libfile file +elfutils:::: libasm libasm-devel libdw-devel libebl-devel libelf-devel elfutils libdw libelf libebl libebl +lua:::: lua lua-devel liblua lua-doc +nss:::: libsoftokn3 nss-tools nss-devel libfreebl3 nss-certs nss-sysinit nss +uthash:::: uthash uthash-devel +libxml2:::: libxml2 libxml2-devel libxml2-doc libxml2-tools +attr:::: libattr-devel-static libattr-devel:/usr/lib64/libattr.a libattr-devel attr-devel attr libattr +smack:::: smack-devel smack smack-utils +pkg-config:::: pkg-config pkgconfig pkg-config +perl:::: perl-base perl-Digest perl-Digest-MD5 perl-doc perl:/usr/share/man/man3/CORE.3pm.gz perl /bin/perl perl-500 perl-macros perl(:MODULE_COMPAT_5.16.2) perl-Filter-Simple perl-I18N-LangTags perl-MIME-Base64 perl-Storable perl-Test-Simple perl-Text-Balanced perl-Time-HiRes perl-libnet perl-Compress-Raw-Zlib perl-Compress-Zlib perl-IO-Compress-Base perl-IO-Compress-Zlib perl-IO-Zlib perl-Archive-Tar perl-Module-Build perl(Module::Build) perl-Locale-Maketext-Simple perl-Module-Pluggable perl-Pod-Escapes perl-Pod-Simple perl-ExtUtils-ParseXS perl-version +libgpg-error:::: libgpg-error-devel libgpg-error-lang libgpg-error-lang-all libgpg-error +doxygen:::: doxygen doxygen +linux-glibc-devel:::: linux-glibc-devel kernel-headers linux-kernel-headers +gcc47:::: libgfortran47 libgfortran3 libstdc++47-devel libgcj47-devel libada47-32bit libgnarl-4_7-32bit libgnat-4_7-32bit libstdc++47-devel-32bit libgcj47 libgcj13 libgij13 libgcj-tools13 gcc47-ada-32bit libffi47-devel libffi-devel libmudflap47 libmudflap0 libmudflapth0 gcc47-ada libgfortran47-64bit libgfortran3-64bit gcc47-info gcc47-java libgomp47 libgomp1 libgcc47-32bit libgcc1-32bit libobjc47 libobjc2 gcc47-gij libgcc47-64bit libgcc1-64bit libgomp47-32bit libgomp1-32bit gcc47-locale gcc47-objc libffi47-32bit g-wrap:/usr/lib/libffi.so.4 libffi4-32bit gcc47-64bit libstdc++47-64bit libstdc++6-64bit gcc47-c++ libmudflap47-32bit libmudflap0-32bit libmudflapth0-32bit gcc47 libffi47-devel-64bit libffi-devel-64bit libgcc47 libgcc1 gcc47-ada-64bit libgfortran47-32bit libgfortran3-32bit libffi47 g-wrap:/usr/lib/libffi.so.4 libffi4 libada47 libgnarl-4_7 libgnat-4_7 gcc47-obj-c++ libquadmath47-64bit libquadmath0-64bit libstdc++47-devel-64bit libada47-64bit libgnarl-4_7-64bit libgnat-4_7-64bit gcc47-32bit libffi47-devel-32bit libffi-devel-32bit libquadmath47-32bit libquadmath0-32bit libobjc47-64bit libobjc2-64bit libgomp47-64bit libgomp1-64bit libmudflap47-64bit libmudflap0-64bit libmudflapth0-64bit gcc47-testresults libstdc++47-32bit libstdc++6-32bit gcc47-fortran libobjc47-32bit libobjc2-32bit libstdc++47 libstdc++6 libffi47-64bit g-wrap:/usr/lib/libffi.so.4 libffi4-64bit gcc47-fortran-32bit libstdc++47-doc gcc47-objc-64bit libgcj_bc47 libgcj_bc1 libgcj_bc.so.1()(64bit) libgcj47-jar gcc47-objc-32bit gcc47-fortran-64bit libquadmath47 libquadmath0 cpp47 +bc:::: bc diff --git a/Tizen_TZ_package/recipes-Development/gitCloneAll.sh b/Tizen_TZ_package/recipes-Development/gitCloneAll.sh new file mode 100755 index 0000000..71b8a63 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/gitCloneAll.sh @@ -0,0 +1,6 @@ +cd git_package + +for i in `cat ../git_path `; do + git clone $i +done + diff --git a/Tizen_TZ_package/recipes-Development/git_path b/Tizen_TZ_package/recipes-Development/git_path new file mode 100644 index 0000000..8a78135 --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/git_path @@ -0,0 +1,30 @@ +tz.otcshare.org:profile/base/alsa-utils +tz.otcshare.org:profile/base/autoconf +tz.otcshare.org:profile/base/automake +tz.otcshare.org:profile/base/binutils +tz.otcshare.org:profile/base/bison +tz.otcshare.org:profile/base/cmake +tz.otcshare.org:profile/base/chrpath +tz.otcshare.org:profile/base/diffutils +tz.otcshare.org:profile/base/flex +tz.otcshare.org:profile/base/gcc +tz.otcshare.org:profile/base/gdb +tz.otcshare.org:profile/base/gstreamer +tz.otcshare.org:profile/base/less +tz.otcshare.org:profile/base/libtool +tz.otcshare.org:profile/base/make +tz.otcshare.org:profile/base/nano +tz.otcshare.org:profile/base/nasm +tz.otcshare.org:profile/base/powertop +tz.otcshare.org:profile/base/pulseaudio +tz.otcshare.org:profile/base/pacrunner +tz.otcshare.org:profile/base/patch +tz.otcshare.org:profile/base/unzip +tz.otcshare.org:profile/base/xz +tz.otcshare.org:profile/base/tcl +tz.otcshare.org:profile/base/strace +tz.otcshare.org:profile/base/yasm +tz.otcshare.org:profile/base/findutils +tz.otcshare.org:profile/base/wdiff +tz.otcshare.org:profile/base/vim +tz.otcshare.org:profile/base/zip diff --git a/Tizen_TZ_package/recipes-Development/list_packages b/Tizen_TZ_package/recipes-Development/list_packages new file mode 100644 index 0000000..4fd4e2b --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/list_packages @@ -0,0 +1,30 @@ +alsa-utils +autoconf +automake +binutils +bison +chrpath +cmake +diffutils +findutils +flex +gcc +gdb +gstreamer +less +libtool +make +nano +nasm +pacrunner +patch +powertop +pulseaudio +strace +tcl +unzip +vim +wdiff +xz +yasm +zip diff --git a/Tizen_TZ_package/recipes-Development/package-config-initial b/Tizen_TZ_package/recipes-Development/package-config-initial new file mode 100644 index 0000000..acb05da --- /dev/null +++ b/Tizen_TZ_package/recipes-Development/package-config-initial @@ -0,0 +1,30 @@ +alsa-utils "git://tz.otcshare.org/profile/base/alsa-utils.git;protocol=ssh;tag=master" alsa-utils.spec +autoconf "git://tz.otcshare.org/profile/base/autoconf.git;protocol=ssh;tag=master" autoconf.spec +automake "git://tz.otcshare.org/profile/base/automake.git;protocol=ssh;tag=master" automake.spec +binutils "git://tz.otcshare.org/profile/base/binutils.git;protocol=ssh;tag=master" binutils.spec +bison "git://tz.otcshare.org/profile/base/bison.git;protocol=ssh;tag=master" bison.spec +chrpath "git://tz.otcshare.org/profile/base/chrpath.git;protocol=ssh;tag=master" chrpath.spec +cmake "git://tz.otcshare.org/profile/base/cmake.git;protocol=ssh;tag=master" cmake.spec +diffutils "git://tz.otcshare.org/profile/base/diffutils.git;protocol=ssh;tag=master" diffutils.spec +findutils "git://tz.otcshare.org/profile/base/findutils.git;protocol=ssh;tag=master" findutils.spec +flex "git://tz.otcshare.org/profile/base/flex.git;protocol=ssh;tag=master" flex.spec +gcc "git://tz.otcshare.org/profile/base/gcc.git;protocol=ssh;tag=master" gcc.spec +gdb "git://tz.otcshare.org/profile/base/gdb.git;protocol=ssh;tag=master" gdb.spec +gstreamer "git://tz.otcshare.org/profile/base/gstreamer.git;protocol=ssh;tag=master" gstreamer.spec +less "git://tz.otcshare.org/profile/base/less.git;protocol=ssh;tag=master" less.spec +libtool "git://tz.otcshare.org/profile/base/libtool.git;protocol=ssh;tag=master" libtool.spec +make "git://tz.otcshare.org/profile/base/make.git;protocol=ssh;tag=master" make.spec +nano "git://tz.otcshare.org/profile/base/nano.git;protocol=ssh;tag=master" nano.spec +nasm "git://tz.otcshare.org/profile/base/nasm.git;protocol=ssh;tag=master" nasm.spec +pacrunner "git://tz.otcshare.org/profile/base/pacrunner.git;protocol=ssh;tag=master" pacrunner.spec +patch "git://tz.otcshare.org/profile/base/patch.git;protocol=ssh;tag=master" patch.spec +powertop "git://tz.otcshare.org/profile/base/powertop.git;protocol=ssh;tag=master" powertop.spec +pulseaudio "git://tz.otcshare.org/profile/base/pulseaudio.git;protocol=ssh;tag=master" pulseaudio.spec +strace "git://tz.otcshare.org/profile/base/strace.git;protocol=ssh;tag=master" strace.spec +tcl "git://tz.otcshare.org/profile/base/tcl.git;protocol=ssh;tag=master" tcl.spec +unzip "git://tz.otcshare.org/profile/base/unzip.git;protocol=ssh;tag=master" unzip.spec +vim "git://tz.otcshare.org/profile/base/vim.git;protocol=ssh;tag=master" vim.spec +wdiff "git://tz.otcshare.org/profile/base/wdiff.git;protocol=ssh;tag=master" wdiff.spec +xz "git://tz.otcshare.org/profile/base/xz.git;protocol=ssh;tag=master" xz.spec +yasm "git://tz.otcshare.org/profile/base/yasm.git;protocol=ssh;tag=master" yasm.spec +zip "git://tz.otcshare.org/profile/base/zip.git;protocol=ssh;tag=master" zip.spec diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/git_path b/Tizen_TZ_package/recipes-DevelopmentExtra/git_path new file mode 100644 index 0000000..d35b746 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/git_path @@ -0,0 +1,38 @@ +tz.otcshare.org:profile/base/fdupes +tz.otcshare.org:profile/base/texinfo +tz.otcshare.org:profile/base/gettext +tz.otcshare.org:profile/base/help2man +tz.otcshare.org:profile/base/bzip2 +tz.otcshare.org:profile/base/libzio +tz.otcshare.org:profile/base/ncurses +tz.otcshare.org:profile/base/perl-gettext +tz.otcshare.org:profile/base/zlib +tz.otcshare.org:external/expat +tz.otcshare.org:framework/security/openssl +tz.otcshare.org:profile/base/db4 +tz.otcshare.org:toolchains/iso-codes +tz.otcshare.org:profile/base/libcap +tz.otcshare.org:profile/base/libgcrypt +tz.otcshare.org:profile/base/dbus +tz.otcshare.org:profile/base/acl +tz.otcshare.org:toolchains/glib2 +tz.otcshare.org:profile/base/hwdata +tz.otcshare.org:profile/base/file +tz.otcshare.org:profile/base/elfutils +tz.otcshare.org:profile/base/lua +tz.otcshare.org:profile/base/nss +tz.otcshare.org:profile/base/uthash +tz.otcshare.org:profile/base/libxml2 +tz.otcshare.org:profile/base/attr +tz.otcshare.org:profile/base/smack +tz.otcshare.org:profile/base/pkg-config +tz.otcshare.org:profile/base/perl +tz.otcshare.org:profile/base/libgpg-error +tz.otcshare.org:profile/base/doxygen +tz.otcshare.org:profile/base/libcap-ng +tz.otcshare.org:profile/base/readline +tz.otcshare.org:profile/base/nspr +tz.otcshare.org:profile/base/gdbm +tz.otcshare.org:profile/base/linux-glibc-devel +tz.otcshare.org:profile/base/gcc47 +tz.otcshare.org:profile/base/bc diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/list_packages b/Tizen_TZ_package/recipes-DevelopmentExtra/list_packages new file mode 100644 index 0000000..34a50ec --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/list_packages @@ -0,0 +1,34 @@ +fdupes +texinfo +gettext +help2man +bzip2 +libzio +ncurses +perl-gettext +zlib +expat +openssl +db4 +iso-codes +libcap +libgcrypt +dbus +acl +glib2 +hwdata +file +elfutils +lua +nss +uthash +libxml2 +attr +smack +pkg-config +perl +libgpg-error +doxygen +linux-glibc-devel +gcc47 +bc diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/package-config-initial b/Tizen_TZ_package/recipes-DevelopmentExtra/package-config-initial new file mode 100644 index 0000000..4771f66 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/package-config-initial @@ -0,0 +1,34 @@ +fdupes "git://tz.otcshare.org/profile/base/fdupes.git;protocol=ssh;tag=master" fdupes.spec +texinfo "git://tz.otcshare.org/profile/base/texinfo.git;protocol=ssh;tag=master" texinfo.spec +gettext "git://tz.otcshare.org/profile/base/gettext.git;protocol=ssh;tag=master" gettext.spec +help2man "git://tz.otcshare.org/profile/base/help2man.git;protocol=ssh;tag=master" help2man.spec +bzip2 "git://tz.otcshare.org/profile/base/bzip2.git;protocol=ssh;tag=master" bzip2.spec +libzio "git://tz.otcshare.org/profile/base/libzio.git;protocol=ssh;tag=master" libzio.spec +ncurses "git://tz.otcshare.org/profile/base/ncurses.git;protocol=ssh;tag=master" ncurses.spec +perl-gettext "git://tz.otcshare.org/profile/base/perl-gettext.git;protocol=ssh;tag=master" perl-gettext.spec +zlib "git://tz.otcshare.org/profile/base/zlib.git;protocol=ssh;tag=master" zlib.spec +expat "git://tz.otcshare.org/external/expat.git;protocol=ssh;tag=master" expat.spec +openssl "git://tz.otcshare.org/framework/security/openssl.git;protocol=ssh;tag=master" openssl.spec +db4 "git://tz.otcshare.org/profile/base/db4.git;protocol=ssh;tag=master" db4.spec +iso-codes "git://tz.otcshare.org/toolchains/iso-codes.git;protocol=ssh;tag=master" iso-codes.spec +libcap "git://tz.otcshare.org/profile/base/libcap.git;protocol=ssh;tag=master" libcap.spec +libgcrypt "git://tz.otcshare.org/profile/base/libgcrypt.git;protocol=ssh;tag=master" libgcrypt.spec +dbus "git://tz.otcshare.org/profile/base/dbus.git;protocol=ssh;tag=master" dbus.spec +acl "git://tz.otcshare.org/profile/base/acl.git;protocol=ssh;tag=master" acl.spec +glib2 "git://tz.otcshare.org/toolchains/glib2.git;protocol=ssh;tag=master" glib2.spec +hwdata "git://tz.otcshare.org/profile/base/hwdata.git;protocol=ssh;tag=master" hwdata.spec +file "git://tz.otcshare.org/profile/base/file.git;protocol=ssh;tag=master" file.spec +elfutils "git://tz.otcshare.org/profile/base/elfutils.git;protocol=ssh;tag=master" elfutils.spec +lua "git://tz.otcshare.org/profile/base/lua.git;protocol=ssh;tag=master" lua.spec +nss "git://tz.otcshare.org/profile/base/nss.git;protocol=ssh;tag=master" nss.spec +uthash "git://tz.otcshare.org/profile/base/uthash.git;protocol=ssh;tag=master" uthash.spec +libxml2 "git://tz.otcshare.org/profile/base/libxml2.git;protocol=ssh;tag=master" libxml2.spec +attr "git://tz.otcshare.org/profile/base/attr.git;protocol=ssh;tag=master" attr.spec +smack "git://tz.otcshare.org/profile/base/smack.git;protocol=ssh;tag=master" smack.spec +pkg-config "git://tz.otcshare.org/profile/base/pkg-config.git;protocol=ssh;tag=master" pkg-config.spec +perl "git://tz.otcshare.org/profile/base/perl.git;protocol=ssh;tag=master" perl.spec +libgpg-error "git://tz.otcshare.org/profile/base/libgpg-error.git;protocol=ssh;tag=master" libgpg-error.spec +doxygen "git://tz.otcshare.org/profile/base/doxygen.git;protocol=ssh;tag=master" doxygen.spec +linux-glibc-devel "git://tz.otcshare.org/profile/base/linux-glibc-devel.git;protocol=ssh;tag=master" linux-glibc-devel.spec +gcc47 "git://tz.otcshare.org/profile/base/gcc47.git;protocol=ssh;tag=master" gcc47.spec +bc "git://tz.otcshare.org/profile/base/bc.git;protocol=ssh;tag=master" bc.spec diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/acl.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/acl.spec new file mode 100644 index 0000000..3bc2199 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/acl.spec @@ -0,0 +1,96 @@ +Name: acl +%define lname libacl +BuildRequires: libattr-devel +Summary: Commands for Manipulating POSIX Access Control Lists +License: GPL-2.0+ ; LGPL-2.1+ +Group: System/Filesystems +Version: 2.2.51 +Release: 0 +Source: %name-%version.src.tar.gz +Source2: baselibs.conf +Url: http://download.savannah.gnu.org/releases-noredirect/acl/ + +%description +getfacl and setfacl commands for retrieving and setting POSIX access +control lists. + +%package -n %lname +Summary: A dynamic library for accessing POSIX Access Control Lists +Group: System/Libraries + +%description -n %lname +This package contains the libacl.so dynamic library which contains the +POSIX 1003.1e draft standard 17 functions for manipulating access +control lists. + +%package -n libacl-devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %lname = %version +Requires: glibc-devel +# the .so file references libattr.so.x, so require libattr-devel +Requires: libattr-devel + +%description -n libacl-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q -n acl-%version + +%build +export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" +export DEBUG=-DNDEBUG +CFLAGS="$RPM_OPT_FLAGS" +%configure \ + --prefix=/ \ + --exec-prefix=/ \ + --libdir=%{_libdir} \ + --libexecdir=%{_libdir} \ + --enable-gettext=no \ + --disable-static \ + --with-pic +%{__make} %{?_smp_mflags} + +%install +DIST_ROOT="$RPM_BUILD_ROOT" +DIST_INSTALL=`pwd`/install.manifest +DIST_INSTALL_DEV=`pwd`/install-dev.manifest +DIST_INSTALL_LIB=`pwd`/install-lib.manifest +export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB +/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL" +/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" +/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB" + +rm -f %{buildroot}/%{_libdir}/*.{a,la} + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + + +%docs_package + +%files +%defattr(-,root,root) +%attr(755,root,root) %{_bindir}/chacl +%attr(755,root,root) %{_bindir}/getfacl +%attr(755,root,root) %{_bindir}/setfacl +%dir %attr(755,root,root) /usr/share/doc/packages/acl +%doc %attr(644,root,root) /usr/share/doc/packages/acl/CHANGES.gz +%doc %attr(644,root,root) /usr/share/doc/packages/acl/COPYING +%doc %attr(644,root,root) /usr/share/doc/packages/acl/COPYING.LGPL +%doc %attr(644,root,root) /usr/share/doc/packages/acl/PORTING +%doc %attr(644,root,root) /usr/share/doc/packages/acl/README + +%files -n libacl-devel +%defattr(-,root,root) +%dir %attr(755,root,root) %{_includedir}/acl +%attr(644,root,root) %{_includedir}/acl/libacl.h +%attr(644,root,root) %{_includedir}/sys/acl.h +%attr(755,root,root) %{_libdir}/libacl.so + +%files -n %lname +%defattr(755,root,root,755) +%{_libdir}/libacl.so.1* + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/attr.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/attr.spec new file mode 100644 index 0000000..ec650c2 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/attr.spec @@ -0,0 +1,119 @@ +Name: attr +%define lname libattr +Summary: Commands for Manipulating Extended Attributes +License: GPL-2.0+ ; LGPL-2.1+ +Group: System/Filesystems +Version: 2.4.46 +Release: 0 +Source: %{name}-%{version}.src.tar.gz +Source1: xattr.conf +Source2: baselibs.conf +Url: http://download.savannah.gnu.org/releases-noredirect/attr/ +BuildRequires: autoconf + +%description +A set of tools for manipulating extended attributes on file system +objects, in particular getfattr(1) and setfattr(1). An attr(1) command +is also provided, which is largely compatible with the SGI IRIX tool of +the same name. + +%package -n %lname +Summary: A dynamic library for filesystem extended attribute support +Group: System/Libraries + +%description -n %lname +This package contains the libattr.so dynamic library, which contains +the extended attribute library functions. + +%package -n libattr-devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Provides: attr-devel +Obsoletes: attr-devel +Requires: %lname = %version, glibc-devel + +%description -n libattr-devel +This package contains the libraries and header files needed to develop +programs which make use of extended attributes. For Linux programs, the +documented system call API is the recommended interface, but an SGI +IRIX compatibility interface is also provided. + +%package -n libattr-devel-static +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Provides: libattr-devel:%{_libdir}/libattr.a +Requires: libattr-devel = %version + +%description -n libattr-devel-static +This package contains the static library of libattr which is needed to develop +statically linked programs which make use of extended attributes. + +%prep +%setup -q + +%build +export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" +export DEBUG=-DNDEBUG +autoconf +CFLAGS="$RPM_OPT_FLAGS" \ +%configure \ + --prefix=/ \ + --enable-gettext=no \ + --exec-prefix=/ \ + --sbindir=%_sbindir \ + --libdir=%{_libdir} \ + --libexecdir=%{_libdir} \ + --with-pic +%{__make} %{?_smp_mflags} + +%install +DIST_ROOT="$RPM_BUILD_ROOT" +DIST_INSTALL=`pwd`/install.manifest +DIST_INSTALL_DEV=`pwd`/install-dev.manifest +DIST_INSTALL_LIB=`pwd`/install-lib.manifest +export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB +/usr/bin/make install DIST_MANIFEST="$DIST_INSTALL" +/usr/bin/make install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" +/usr/bin/make install-lib DIST_MANIFEST="$DIST_INSTALL_LIB" +rm -f $RPM_BUILD_ROOT%{_mandir}/man2/*xattr.2* +rm -f $RPM_BUILD_ROOT/%{_libdir}/libattr.la +install -d -m 755 $RPM_BUILD_ROOT/%{_sysconfdir} +install -m 644 %_sourcedir/xattr.conf $RPM_BUILD_ROOT/%{_sysconfdir} +chmod 755 $RPM_BUILD_ROOT/%{_libdir}/libattr.so.1* + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%docs_package + +%files +%defattr (-,root,root) +%dir %attr(755,root,root) /usr/share/doc/packages/attr +%doc %attr(644,root,root) /usr/share/doc/packages/attr/README +%doc %attr(644,root,root) /usr/share/doc/packages/attr/CHANGES.gz +%doc %attr(644,root,root) /usr/share/doc/packages/attr/COPYING +%doc %attr(644,root,root) /usr/share/doc/packages/attr/PORTING +%attr(755,root,root) %{_bindir}/attr +%attr(755,root,root) %{_bindir}/getfattr +%attr(755,root,root) %{_bindir}/setfattr + +%files -n libattr-devel +%defattr(-,root,root) +%dir %attr(755,root,root) %{_includedir}/attr +%attr(644,root,root) %{_includedir}/attr/attributes.h +%attr(644,root,root) %{_includedir}/attr/error_context.h +%attr(644,root,root) %{_includedir}/attr/libattr.h +%attr(644,root,root) %{_includedir}/attr/xattr.h +%attr(755,root,root) %{_libdir}/libattr.so + +%files -n libattr-devel-static +%defattr(-,root,root) +%{_libdir}/libattr.a + +%files -n %lname +%defattr (-,root,root) +%{_libdir}/libattr.so.1* +%config %{_sysconfdir}/xattr.conf + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bc.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bc.spec new file mode 100644 index 0000000..517c25e --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bc.spec @@ -0,0 +1,54 @@ +Name: bc +BuildRequires: automake bison ed flex readline-devel +Url: ftp://ftp.gnu.org/pub/gnu/bc +License: GPL-2.0+ +Group: Productivity/Scientific/Math +Version: 1.06 +Release: 0 +Summary: GNU Command Line Calculator +Source: %{name}-%{version}.tar.bz2 + +%description +bc is an interpreter that supports numbers of arbitrary precision and +the interactive execution of statements. The syntax has some +similarities to the C programming language. A standard math library is +available through command line options. When used, the math library is +read in before any other input files. bc then reads in all other files +from the command line, evaluating their contents. Then bc reads from +standard input (usually the keyboard). + +The dc program is also included. dc is a calculator that supports +reverse-polish notation and allows unlimited precision arithmetic. +Macros can also be defined. Normally, dc reads from standard input but +can also read in files specified on the command line. A calculator with +reverse-polish notation saves numbers to a stack. Arguments to +mathematical operations (operands) are "pushed" onto the stack until +the next operator is read in, which "pops" its arguments off the stack +and "pushes" its results back onto the stack. + +%prep +%setup -q + +%build +autoreconf -fi +./configure CFLAGS="$RPM_OPT_FLAGS" \ + --with-readline \ + --prefix=/usr \ + --infodir=%{_infodir} \ + --mandir=%{_mandir} \ + --build=%{_target_cpu}-suse-linux +rm bc/libmath.h +make + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING +/usr/bin/bc +/usr/bin/dc +%{_infodir}/*.info* +%{_mandir}/man1/* + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bzip2.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bzip2.spec new file mode 100644 index 0000000..2eb42ea --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/bzip2.spec @@ -0,0 +1,93 @@ +Name: bzip2 +Version: 1.0.6 +Release: 0 +Provides: bzip +Obsoletes: bzip +BuildRequires: libtool +BuildRequires: pkg-config +Url: http://www.bzip.org/ +Summary: A Program for Compressing Files +License: BSD-3-Clause +Group: Productivity/Archiving/Compression +Source: bzip2-%{version}.tar.gz +Source1: bznew.gz +Source2: bznew.1.gz +Source3: baselibs.conf +Source100: rpmlintrc + +%description +The bzip2 program is a very powerful program for compressing files. + + +%package -n libbz2 +Summary: The bzip2 runtime library +Group: Productivity/Archiving/Compression + +%description -n libbz2 +The bzip2 runtime library + +%package devel +Summary: The bzip2 runtime library development files +Group: Development/Libraries/Other +Requires: libbz2 = %{version} glibc-devel + +%description devel +The bzip2 runtime library development files. + +%prep +%setup -q + +%build +profile_bzip2() +{ + tmpfile=$(mktemp) + trap "rm -f $tmpfile $tmpfile.bz2" EXIT + tar -cjf $tmpfile.bz2 /usr/src || true + # time ./bzip2 $tmpfile + time ./bzip2 -d < $tmpfile.bz2 > /dev/null +} +autoreconf -fiv +%if %{do_profiling} +export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}" +%endif +%configure --with-pic --disable-static +%if %{do_profiling} +make %{?_smp_mflags} +profile_bzip2 +mkdir .libs.save +mv .libs/*.gcda .libs.save/ +make clean +mv .libs.save .libs +export CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}" +%configure --with-pic --disable-static +%endif +make %{?_smp_mflags} + +%install +%make_install +gzip -dc %{SOURCE1} > bznew +install -D -m 755 bznew $RPM_BUILD_ROOT%{_bindir}/bznew +install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1 + +%post -n libbz2 -p /sbin/ldconfig + +%postun -n libbz2 -p /sbin/ldconfig + +%docs_package + +%files +%defattr(-,root,root) +%{_bindir}/* + +%files -n libbz2 +%defattr(-,root,root) +%{_libdir}/libbz2.so.1 +%{_libdir}/libbz2.so.1.* + +%files devel +%doc LICENSE +%{_includedir}/bzlib.h +%{_libdir}/libbz2.so +%{_libdir}/pkgconfig/bzip2.pc + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/db4.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/db4.spec new file mode 100644 index 0000000..4845063 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/db4.spec @@ -0,0 +1,197 @@ +%define generic_name db +%define docdir %{_defaultdocdir}/%{name} +%define major 4 +%define minor 8 + +Name: db4 +Version: %{major}.%{minor}.30.NC +Release: 0 +Summary: Berkeley DB Database Library Version 4.8 +License: BSD-3-Clause +Group: System/Libraries +Url: http://www.sleepycat.com +Source: db-%{version}.tar.gz +Source1: %{name}.changes +Source9: getpatches +BuildRequires: autoconf +BuildRequires: fdupes +BuildRequires: gcc-c++ +Provides: db = %{version} + +%description +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the necessary runtime libraries. + +%package utils +Summary: Command Line tools for Managing Berkeley DB Databases +Group: Productivity/Databases/Tools + +%description utils +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the command line tools for managing Berkeley DB +databases. + +%package doc +Summary: Documentation for Berkeley DB +Group: Development/Libraries/C and C++ +BuildArch: noarch + +%description doc +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the documentation. + +%package devel +Summary: Development Files and Libraries for the Berkeley DB library Version 4.8 +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: glibc-devel + +%description devel +The Berkeley DB Database is a programmatic toolkit that provides +database support for applications. + +This package contains the header files and libraries. + +%prep +%setup -q -n %{generic_name}-%{version} +cd .. +tar -jcf %{generic_name}-%{version}.tar.bz2 %{generic_name}-%{version} + +%build +cd dist +# dist/RELEASE codes the build date into the binary. +# Use last change of changes file instead +LAST_MOD=`stat --format="%Y" %SOURCE1` +DIST_DATE=`date '+%B %e, %Y' --date="@$LAST_MOD"` +sed -i -e "s/^DB_RELEASE_DATE=.*$/DB_RELEASE_DATE=\"$DIST_DATE\"/" RELEASE +./s_config +CFLAGS="%{optflags} -fno-strict-aliasing" +CC=gcc +export CFLAGS CXXFLAGS CC +# +# Build now the NPTL version +# +mkdir ../build_nptl +cd ../build_nptl +../dist/configure --prefix=%{_prefix} \ + --libdir=%{_libdir} --enable-compat185 --disable-dump185 \ + --enable-shared --disable-static --enable-cxx \ + --with-mutex="POSIX/pthreads/library" \ +%ifarch %arm + %{_target_cpu}-suse-linux-gnueabi +%else + %{_target_cpu}-suse-linux +%endif +# Make sure O_DIRECT is really disabled (build host could have old kernel) +perl -pi -e 's/#define HAVE_O_DIRECT 1/#undef HAVE_O_DIRECT/' db_config.h +# Remove libtool predep_objects and postdep_objects wonkiness +perl -pi -e 's/^predep_objects=".*$/predep_objects=""/' libtool +perl -pi -e 's/^postdep_objects=".*$/postdep_objects=""/' libtool +perl -pi -e 's/-shared -nostdlib/-shared/' libtool + +make %{?_smp_mflags} LIBSO_LIBS='$(LIBS)' LIBXSO_LIBS='$(LIBS)'" -L%{_libdir} -lstdc++" + +%install +mkdir -p %{buildroot}%{_includedir}/db4 +CONFIG_ARGS=$(find . -name "config.log" -exec grep "\$ \.\./dist\/configure" {} \; | sed 's/.*configure\( --.*\)/\1/g') +if [ -z "$CONFIG_ARGS" ] +then + echo "could not find configure arguments ... exiting" + exit 42 +fi +mkdir -p %{buildroot}%{_libdir} +cd build_nptl +make prefix=%{buildroot}%{_prefix} libdir=%{buildroot}%{_libdir} strip=true install +cd .. +# make ldd happy: +chmod 755 %{buildroot}%{_libdir}/libdb*.so +# Fix header file installation +mv %{buildroot}%{_includedir}/*.h %{buildroot}%{_includedir}/db4 +echo "#include " > %{buildroot}%{_includedir}/db.h +echo "#include " > %{buildroot}%{_includedir}/db_185.h +echo "#include " > %{buildroot}%{_includedir}/db_cxx.h +# remove dangling tags symlink from examples. +rm -f examples_cxx/tags +rm -f examples_c/tags +# Move documentation to the right directory +mkdir -p %{buildroot}%{docdir} +mv %{buildroot}%{_prefix}/docs/* %{buildroot}/%{docdir} +cp -a examples_cxx examples_c %{buildroot}/%{docdir} +cp -a LICENSE README %{buildroot}/%{docdir} +# +# Remove api documentation for C++, Java and TCL +rm -rf %{buildroot}/%{docdir}/csharp +rm -rf %{buildroot}/%{docdir}/java +rm -rf %{buildroot}/%{docdir}/api_reference/CXX +rm -rf %{buildroot}/%{docdir}/api_reference/STL +rm -rf %{buildroot}/%{docdir}/api_reference/TCL +rm -rf %{buildroot}/%{docdir}/gsg*/CXX +rm -rf %{buildroot}/%{docdir}/gsg*/JAVA +mv %{buildroot}/%{docdir}/collections/tutorial %{buildroot}/%{docdir}/ +# Remove crappy *.la files +rm -rf %{buildroot}%{_libdir}/*.la +rm -rf %{buildroot}%{_libdir}/tls/*.la +%fdupes %{buildroot}%{_libdir} +%fdupes %{buildroot}%{docdir} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libdb-%{major}.%{minor}.so +%{_libdir}/libdb_cxx-%{major}.%{minor}.so + +%files doc +%defattr(-,root,root) +%dir %{docdir} +%doc %{docdir}/LICENSE +%doc %{docdir}/README +%doc %{docdir}/index.html +%doc %{docdir}/license +%doc %{docdir}/articles +%doc %{docdir}/api_reference +%doc %{docdir}/examples_c +%doc %{docdir}/examples_cxx +%doc %{docdir}/gsg* +%doc %{docdir}/porting +%doc %{docdir}/programmer_reference +%doc %{docdir}/tutorial + +%files utils +%defattr(-,root,root) +%{_bindir}/db_archive +%{_bindir}/db_checkpoint +%{_bindir}/db_deadlock +%{_bindir}/db_dump +%{_bindir}/db_load +%{_bindir}/db_printlog +%{_bindir}/db_recover +%{_bindir}/db_sql +%{_bindir}/db_stat +%{_bindir}/db_upgrade +%{_bindir}/db_verify +%{_bindir}/db_hotbackup + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/db4 +%{_includedir}/db.h +%{_includedir}/db_185.h +%{_includedir}/db_cxx.h +%{_includedir}/db4/db.h +%{_includedir}/db4/db_185.h +%{_includedir}/db4/db_cxx.h +%{_libdir}/libdb.so +%{_libdir}/libdb-%{major}.so +%{_libdir}/libdb_cxx.so +%{_libdir}/libdb_cxx-%{major}.so + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/dbus.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/dbus.spec new file mode 100644 index 0000000..eb09514 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/dbus.spec @@ -0,0 +1,225 @@ +%define dbus_user_uid 81 + +Name: dbus +%define _libname libdbus +Url: http://dbus.freedesktop.org/ +Summary: D-Bus Message Bus System +License: GPL-2.0+ or AFL-2.1 +Group: System/Daemons +# COMMON1-BEGIN + +# We can't enable this right now, because it will create a build cycle between +# dbus-1 and systemd. Fun! +%define with_systemd 1 + +BuildRequires: doxygen +BuildRequires: expat-devel +BuildRequires: libtool +BuildRequires: libzio +BuildRequires: pkg-config +%if %{with_systemd} +BuildRequires: pkgconfig(libsystemd-daemon) +BuildRequires: pkgconfig(libsystemd-login) +%endif +Version: 1.6.8 +Release: 0 +Source0: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz +Source1: rc.boot.dbus +Source3: dbus_at_console.ck +Source4: baselibs.conf +Source5: dbus-user.service +Source6: dbus-user.socket +BuildRequires: libcap-ng-devel +# COMMON1-END +Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd + +Provides: dbus-1 + +%package -n %{_libname} + +Summary: Library package for D-Bus +Group: Development/Libraries/Other + +%package devel + +Summary: Developer package for D-Bus +Group: Development/Libraries/Other +Requires: %{_libname} = %{version} +Requires: dbus +Requires: glibc-devel + +%package devel-doc + +Summary: Developer documentation package for D-Bus +Group: Development/Libraries/Other +Requires: %{name} = %{version} +BuildArch: noarch + +%description +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-Bus supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%description -n %{_libname} +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-Bus supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%description devel +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-Bus supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%description devel-doc +D-Bus is a message bus system, a simple way for applications to talk to +one another. D-BUS supplies both a system daemon and a +per-user-login-session daemon. Also, the message bus is built on top of +a general one-to-one message passing framework, which can be used by +any two apps to communicate directly (without going through the message +bus daemon). + +%prep +# COMMON2-BEGIN +%setup -n dbus-%{version} -q + +%build +autoreconf -fi +# We use -fpie/-pie for the whole build; this is the recommended way to harden +# the build upstream, see discussion in fdo#46570 +export CFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing -fPIC -fpie" +export LDFLAGS="-pie" +export CXXFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing" +export CFLAGS="$CFLAGS -fstack-protector" +export CXXFLAGS="$CXXFLAGS -fstack-protector" +export V=1 +%configure \ + --disable-static \ + --with-pic \ + --with-dbus-user=dbus \ + --libexecdir=%{_libdir}/%{name} \ + --libdir=%{_libdir} \ + --with-init-scripts=suse \ + --enable-inotify \ + --enable-doxygen-docs \ +%if %{with_systemd} + --enable-systemd \ +%endif + --with-console-auth-dir=/var/run/dbus/at_console/ \ + --with-systemdsystemunitdir=%{_unitdir} +make %{?_smp_mflags} + +%install +# COMMON2-END +make DESTDIR=%{buildroot} install +mkdir -p %{buildroot}/etc/init.d +mkdir -p %{buildroot}/usr/sbin +install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/init.d/dbus +install -d %{buildroot}/%{_localstatedir}/run/dbus +mkdir -p %{buildroot}/%{_libdir}/pkgconfig +mkdir -p %{buildroot}/lib/dbus-1/system-services +mkdir -p %{buildroot}/%{_datadir}/dbus-1/system-services +mkdir -p %{buildroot}/%{_datadir}/dbus-1/interfaces +#mkdir -p %{buildroot}/%{_libdir}/dbus-1.0/include/ +rm -f %{buildroot}/%{_libdir}/*.la +# +rm -f %{buildroot}/%{_bindir}/dbus-launch +rm -f %{buildroot}/%{_mandir}/man1/dbus-launch.1* +chmod a-x AUTHORS COPYING HACKING NEWS README doc/*.txt doc/file-boilerplate.c doc/TODO +# +install -d %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d +install -m 755 %{SOURCE3} %{buildroot}%{_sysconfdir}/ConsoleKit/run-session.d +mkdir -p %{buildroot}%{_localstatedir}%{_libdir}/dbus +touch %{buildroot}/%{_localstatedir}%{_libdir}/dbus/machine-id + +mkdir -p %{buildroot}%{_unitdir_user} +install -m0644 %{SOURCE5} %{buildroot}%{_unitdir_user}/dbus.service +install -m0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket + + +%pre +# Add the "dbus" user and group +/usr/sbin/groupadd -r -g %{dbus_user_uid} dbus 2>/dev/null || : +/usr/sbin/useradd -c 'System message bus' -u %{dbus_user_uid} -g %{dbus_user_uid} \ + -s /sbin/nologin -r -d '/' dbus 2> /dev/null || : + +%post -n %{_libname} -p /sbin/ldconfig + +%postun -n %{_libname} -p /sbin/ldconfig + +%docs_package + +%files +%defattr(-, root, root) +%dir %{_localstatedir}%{_libdir}/dbus +%dir /lib/dbus-1 +%dir /lib/dbus-1/system-services +%license COPYING +%config(noreplace) %{_sysconfdir}/dbus-1/session.conf +%config(noreplace) %{_sysconfdir}/dbus-1/system.conf +%{_sysconfdir}/init.d/dbus +%{_sysconfdir}/ConsoleKit +%{_bindir}/dbus-cleanup-sockets +%{_bindir}/dbus-daemon +%{_bindir}/dbus-monitor +%{_bindir}/dbus-send +%{_bindir}/dbus-uuidgen +# See doc/system-activation.txt in source tarball for the rationale +# behind these permissions +%attr(4750,root,dbus) %verify(not mode) %{_libdir}/dbus/dbus-daemon-launch-helper +%ghost %{_localstatedir}/run/dbus +%ghost %{_localstatedir}%{_libdir}/dbus/machine-id +%dir %{_unitdir} +%{_unitdir}/dbus.service +%{_unitdir}/dbus.socket +%{_unitdir_user}/dbus.service +%{_unitdir_user}/dbus.socket +%dir %{_unitdir}/dbus.target.wants +%{_unitdir}/dbus.target.wants/dbus.socket +%dir %{_unitdir}/multi-user.target.wants +%{_unitdir}/multi-user.target.wants/dbus.service +%dir %{_unitdir}/sockets.target.wants +%{_unitdir}/sockets.target.wants/dbus.socket + +%files -n %{_libname} +%defattr(-, root, root) +%{_libdir}/libdbus-1.so.* +# Own those directories in the library instead of dbus-1, since dbus users +# often ship files there +%dir %{_sysconfdir}/dbus-1 +%dir %{_sysconfdir}/dbus-1/session.d +%dir %{_sysconfdir}/dbus-1/system.d +%dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/interfaces +%dir %{_datadir}/dbus-1/services +%dir %{_datadir}/dbus-1/system-services + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/libdbus-1.so +%dir %{_libdir}/dbus-1.0 +%{_libdir}/dbus-1.0/include +%{_libdir}/pkgconfig/dbus-1.pc + +%files devel-doc +%defattr(-,root,root) +%dir %{_datadir}/doc/dbus +%{_datadir}/doc/dbus/api/ +%doc %{_datadir}/doc/dbus/dbus-faq.html +%doc %{_datadir}/doc/dbus/dbus-specification.html +%doc %{_datadir}/doc/dbus/dbus-test-plan.html +%doc %{_datadir}/doc/dbus/dbus-tutorial.html +%doc %{_datadir}/doc/dbus/diagram.* +%doc %{_datadir}/doc/dbus/system-activation.txt +%doc doc/*.txt doc/file-boilerplate.c doc/TODO + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/doxygen.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/doxygen.spec new file mode 100644 index 0000000..35d23cf --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/doxygen.spec @@ -0,0 +1,102 @@ +%define version 1.8.2 +%define revision 1 +%define mmn 1 +%define name doxygen + +# optionally pass --with-doxywizard to rpmbuild + +%define contentdir /var/www +%define suexec_caller doxygen +%define buildroot /var/tmp/%{name}-%{version}-%{revision}root + +Summary: A documentation system for C/C++. +Name: doxygen +Version: %{version} +Release: %{revision} +URL: http://www.stack.nl/~dimitri/doxygen/index.html +Vendor: Dimitri van Heesch +License: GNU General Public License +Group: Development/Tools +Source: %{name}-%{version}.src.tar.gz +BuildRoot: %{buildroot} +BuildRequires: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips, /usr/bin/gs +Requires: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 +Provides: doxygen = %{mmn} + +%description +Doxygen can generate an online class browser (in HTML) and/or a +reference manual (in LaTeX) from a set of documented source files. The +documentation is extracted directly from the sources. Doxygen can +also be configured to extract the code structure from undocumented +source files. + +%if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} +%package doxywizard +Group: Development/Libraries +Summary: GUI Interface for doxygen. +Requires: doxygen = %{mmn} +Requires: qt >= 3.3 +Provides: doxywizard = %{mmn} +# Obsoletes: + +%description doxywizard +Doxygen can generate an online class browser (in HTML) and/or a +reference manual (in LaTeX) from a set of documented source files. The +documentation is extracted directly from the sources. Doxygen can +also be configured to extract the code structure from undocumented +source files. + +This is the GUI interface for doxygen. It requires qt and X11 to +install. +%endif + +%prep +%setup -q -n %{name}-%{version} +./configure %{?_with_doxywizard} --prefix $RPM_BUILD_ROOT/usr + +%build +make %{?_smp_mflags} +make %{?_smp_mflags} pdf + +%install +rm -rf $RPM_BUILD_ROOT +make install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) + +%doc README LICENSE LANGUAGE.HOWTO examples ./latex/*.pdf +%doc /usr/man/man1/doxygen.1.gz + +%{_bindir}/doxygen + +%if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} +%files doxywizard +%defattr(-,root,root) +%{_bindir}/doxywizard +%doc /usr/man/man1/doxywizard.1.gz +%endif + +%changelog +* Fri Apr 18 2008 Kenneth Porter 1.5.5-1 +- consolidate with and without doxywizard spec files with rpm macro +- add gs BuildPrereq + +* Sun Nov 18 2007 Kevin McBride 1.5.4 +- consolidated manual package in lieu of --excludedocs flag for rpm --install + +* Mon Oct 10 2005 Kevin McBride 1.4.5 +- fixed versioning bugs. + +* Tue Oct 4 2005 Kevin McBride 1.4.5 +- added obsoletes and proides sections. + +* Sun Sep 20 2005 Kevin McBride 1.4.4 +- modified rpm spec file for Fedora Core acceptance criteria. + +* Sun Aug 7 2005 Kevin McBride 1.4.4 +- created initial rpm spec file for doxygen-1.4.4 + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/elfutils.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/elfutils.spec new file mode 100644 index 0000000..f91e3f0 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/elfutils.spec @@ -0,0 +1,202 @@ +Name: elfutils +Version: 0.153 +Release: 0 +License: GPL-2.0-with-osi-exception +Summary: Higher-level library to access ELF +Url: http://elfutils.fedorahosted.org +Group: System/Libraries +Source: elfutils-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: automake +BuildRequires: bison +BuildRequires: bzip2-devel +BuildRequires: flex +BuildRequires: xz-devel +BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package provides a higher-level library to access ELF files. This +is a part of elfutils package. + +%package -n libasm +Summary: A collection of utilities and DSOs to handle compiled objects +Group: Development/Tools/Other + +%description -n libasm +Elfutils is a collection of utilities, including ld (a linker), nm (for +listing symbols from object files), size (for listing the section sizes +of an object or archive file), strip (for discarding symbols), readline +(the see the raw ELF file structures), and elflint (to check for +well-formed ELF files). Also included are numerous helper libraries +which implement DWARF, ELF, and machine-specific ELF handling. + +%package -n libasm-devel +License: GPL-2.0-with-osi-exception +Summary: A collection of utilities and DSOs to handle compiled objects +Group: Development/Tools/Other +Requires: glibc-devel, +Requires: libasm = %{version} + +%description -n libasm-devel +Elfutils is a collection of utilities, including ld (a linker), nm (for +listing symbols from object files), size (for listing the section sizes +of an object or archive file), strip (for discarding symbols), readline +(the see the raw ELF file structures), and elflint (to check for +well-formed ELF files). Also included are numerous helper libraries +which implement DWARF, ELF, and machine-specific ELF handling. + +%package -n libebl +License: GPL-2.0-with-osi-exception +Summary: A collection of utilities and DSOs to handle compiled objects +Group: Development/Tools/Other +Provides: libebl = %{version} +Obsoletes: libebl < %{version} + +%description -n libebl +Elfutils is a collection of utilities, including ld (a linker), nm (for +listing symbols from object files), size (for listing the section sizes +of an object or archive file), strip (for discarding symbols), readline +(the see the raw ELF file structures), and elflint (to check for +well-formed ELF files). Also included are numerous helper libraries +which implement DWARF, ELF, and machine-specific ELF handling. + +%package -n libebl-devel +License: GPL-2.0-with-osi-exception +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: glibc-devel, +Requires: libdw-devel = %{version} +Requires: libebl = %{version} + +%description -n libebl-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n libelf +License: GPL-2.0-with-osi-exception +Summary: Library to read and write ELF files + +%description -n libelf +This package provides a high-level library to read and write ELF files. +This is a part of elfutils package. + +%package -n libelf-devel +License: GPL-2.0-with-osi-exception +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: glibc-devel, +Requires: libelf = %{version} +Conflicts: libelf0-devel + +%description -n libelf-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n libdw +License: GPL-2.0-with-osi-exception +Summary: Library to access DWARF debugging information + +%description -n libdw +This package provides a high-level library to access the DWARF debugging +information. This is a part of elfutils package. + +%package -n libdw-devel +License: GPL-2.0-with-osi-exception +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: glibc-devel, +Requires: libdw = %{version} +Requires: libelf-devel = %{version} + +%description -n libdw-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q -n elfutils-%{version} + +%build +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changed")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + +autoreconf -fi +%configure --program-prefix=eu- +make %{?_smp_mflags} + +%install +%make_install +# remove unneeded files +ls -lR %{buildroot}%{_libdir}/libelf* + +%post -n libebl -p /sbin/ldconfig + +%post -n libelf -p /sbin/ldconfig + +%post -n libdw -p /sbin/ldconfig + +%postun -n libebl -p /sbin/ldconfig + +%postun -n libelf -p /sbin/ldconfig + +%postun -n libdw -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* + +%files -n libasm +%defattr(-,root,root) +%{_libdir}/libasm.so.* +%{_libdir}/libasm-%{version}.so + +%files -n libasm-devel +%defattr(-,root,root) +%{_libdir}/libasm.so +%{_libdir}/libasm.a +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/libasm.h + +%files -n libebl +%defattr(-,root,root) +%{_libdir}/elfutils + +%files -n libebl-devel +%defattr(-,root,root) +%{_libdir}/libebl.a +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/libebl.h + +%files -n libelf +%defattr(-,root,root) +%{_libdir}/libelf.so.* +%{_libdir}/libelf-%{version}.so + +%files -n libelf-devel +%defattr(-,root,root) +%{_libdir}/libelf.so +%{_libdir}/libelf.a +#%{_libdir}/libelf_pic.a +%{_includedir}/libelf.h +%{_includedir}/gelf.h +%{_includedir}/nlist.h +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/elf-knowledge.h +%{_includedir}/elfutils/version.h + +%files -n libdw +%defattr(-,root,root) +%{_libdir}/libdw.so.* +%{_libdir}/libdw-%{version}.so + +%files -n libdw-devel +%defattr(-,root,root) +%{_libdir}/libdw.a +%{_libdir}/libdw.so +%{_includedir}/dwarf.h +%dir %{_includedir}/elfutils +%{_includedir}/elfutils/libdw.h +%{_includedir}/elfutils/libdwfl.h + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/expat.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/expat.spec new file mode 100644 index 0000000..aeb242d --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/expat.spec @@ -0,0 +1,90 @@ +Name: expat +Version: 2.0.1 +Release: 8 +Summary: An XML parser library +Group: System/Libraries +Source: http://download.sourceforge.net/expat/expat-%{version}.tar.gz +Patch0: expat-2.0.1-CVE-2009-3720.diff +Patch1: expat-2.0.1-confcxx.patch + +License: MIT +Url: http://www.libexpat.org/ +BuildRequires: autoconf, +BuildRequires: automake, +BuildRequires: libtool + +%description +This is expat, the C library for parsing XML, written by James Clark. Expat +is a stream oriented XML parser. This means that you register handlers with +the parser prior to starting the parse. These handlers are called when the +parser discovers the associated structures in the document being parsed. A +start tag is an example of the kind of structures for which you may +register handlers. + +%package devel +Summary: Libraries and header files to develop applications using expat +Group: Development/Libraries +Requires: expat = %{version} + +%description devel +The expat-devel package contains the libraries, include files and documentation +to develop XML applications with expat. + +%package doc +Summary: Documentation for the expat package +Group: Development/Documentation +Requires: expat = %{version} + +%description doc +Documentation for the expat package + +%prep +%setup -q +%patch0 -p0 -b .CVE-2009-3720 +%patch1 -p1 -b .confcxx +%build +rm -rf autom4te*.cache +cp `aclocal --print-ac-dir`/libtool.m4 conftools || exit 1 +libtoolize --copy --force --automake && aclocal && autoheader && autoconf +export CFLAGS="%{optflags} -fPIC" +%configure --libdir=/%{_lib} +make %{?_smp_mflags} + +%install + +rm -f examples/*.dsp +chmod 644 README COPYING Changes doc/* examples/* + +%make_install + +mkdir -p %{buildroot}%{_libdir} +mv %{buildroot}/%{_lib}/libexpat.so %{buildroot}%{_libdir} + +lib=`echo %{buildroot}/%{_lib}/libexpat.so.*.*` +ln -sf ../../%{_lib}/`basename ${lib}` %{buildroot}%{_libdir}/libexpat.so + +%check +make check + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/* +/%{_lib}/lib*.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/lib*.so +%{_includedir}/*.h + +%files doc +%defattr(-,root,root,-) +%doc %{_mandir}/*/* +%doc README +%doc Changes doc examples diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/fdupes.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/fdupes.spec new file mode 100644 index 0000000..43c981c --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/fdupes.spec @@ -0,0 +1,32 @@ +Name: fdupes +Version: 1.40 +Release: 42.66 +License: X11/MIT +Summary: Identifying or deleting duplicate files +Url: http://premium.caribe.net/~adrian2/fdupes.html +Group: Productivity/Archiving/Compression +Source0: %{name}-%{version}.tar.bz2 +Source1: macros.fdupes + +%description +FDUPES is a program for identifying or deleting duplicate files +residing within specified directories + +%prep +%setup -q + +%build +make + +%install +install -D -m755 fdupes %{buildroot}/usr/bin/fdupes +install -D -m644 fdupes.1 %{buildroot}/usr/share/man/man1/fdupes.1 +install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes + +%files +%defattr(-, root, root) +%doc CHANGES +%{_bindir}/fdupes +%{_mandir}/*/* +%{_sysconfdir}/rpm + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/file.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/file.spec new file mode 100644 index 0000000..721988e --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/file.spec @@ -0,0 +1,115 @@ +Name: file +BuildRequires: findutils +BuildRequires: libtool +BuildRequires: zlib-devel +Url: http://www.darwinsys.com/file/ +Version: 5.11 +Release: 0 +Summary: A Tool to Determine File Types +License: BSD-2-Clause +Group: Productivity/File utilities +Source: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz +Source2: baselibs.conf +%global _sysconfdir /etc +%global _miscdir %{_datadir}/misc +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +With the file command, you can obtain information on the file type of a +specified file. File type recognition is controlled by the file +/etc/magic, which contains the classification criteria. This command is +used by apsfilter to permit automatic printing of different file types. + +%package -n libmagic-data +Summary: The magic files for libmagic to use +Group: Development/Libraries/Other + +%description -n libmagic-data +This package contains the basic magic files that libmagic reads and uses +to estimate a file's type. + +%package -n libmagic +Summary: Library with file's functionality +Group: Development/Libraries/Other +Requires: libmagic-data = %{version} +Provides: libfile +Obsoletes: libfile =< 5.04 + +%description -n libmagic +This library reads magic files and detects file types. Used by file command + +%package -n file-devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/Other +Provides: file:/usr/include/magic.h +Requires: glibc-devel +Requires: libmagic = %{version} + +%description -n file-devel +This package contains all necessary include files and libraries needed +to develop applications that require the magic "file" interface. + +%prep +%setup -q -n file-%{version} +%build +export LANG=POSIX +export LC_ALL=POSIX +rm -f Magdir/*,v Magdir/*~ +rm -f ltcf-c.sh ltconfig ltmain.sh +autoreconf -fiv +CFLAGS="$RPM_OPT_FLAGS -DHOWMANY=69632" +%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --with-pic --enable-fsect-man5 +%{__make} %{?_smp_mflags} pkgdatadir='$(datadir)' +%if 0%{?build_python_bindings:1} +pushd python +python setup.py build +popd +%endif + +%install +export LANG=POSIX +export LC_ALL=POSIX +mkdir %{buildroot}/etc +make DESTDIR=%{buildroot} install pkgdatadir='$(datadir)' +rm -vf %{buildroot}%{_sysconfdir}/magic +echo '# Localstuff: file(1) magic(5) for locally observed files' > %{buildroot}%{_sysconfdir}/magic +echo '# global magic file is %{_miscdir}/magic(.mgc)' >> %{buildroot}%{_sysconfdir}/magic +%{nil install -s dcore %{buildroot}%{_bindir}} +# Check out that the binary does not bail out: +LD_LIBRARY_PATH=%{buildroot}%{_libdir} +export LD_LIBRARY_PATH +find %{buildroot}%{_bindir}/file %{_bindir}/ /%{_lib}/ %{_libdir}/ | \ + xargs %{buildroot}%{_bindir}/file -m %{buildroot}%{_miscdir}/magic +unset LD_LIBRARY_PATH +%{__rm} -f %{buildroot}%{_libdir}/*.la + +%post -n libmagic -p /sbin/ldconfig + +%postun -n libmagic -p /sbin/ldconfig + +%files -n libmagic +%defattr (644,root,root,755) +%{_libdir}/lib*.so.* + +%files -n libmagic-data +%defattr (644,root,root,755) +%config(noreplace) %{_sysconfdir}/magic +#%{_miscdir}/magic +%{_miscdir}/magic.mgc +%doc %{_mandir}/man5/magic.5.gz + +%files +%defattr (644,root,root,755) +%{nil %{_bindir}/dcore} +%attr(755,root,root) %{_bindir}/file +%doc %{_mandir}/man1/file.1.gz +%doc COPYING + +%files -n file-devel +%defattr (644,root,root,755) +%{_libdir}/lib*.so +%{_includedir}/magic.h +%doc %{_mandir}/man3/libmagic.3.gz +%doc README COPYING + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gcc47.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gcc47.spec new file mode 100644 index 0000000..29182bd --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gcc47.spec @@ -0,0 +1,2710 @@ +%define fast_build 1 + +# Ada currently fails to build on a few platforms, enable it only +# on those that work +# Note that AdaCore only supports %ix86, x86_64 and ia64 +%ifarch %ix86 x86_64 +%define build_ada !0%{?building_libjava:1}%{?building_libffi:1} +%else +%define build_ada 0 +%endif + +%define quadmath_arch %ix86 x86_64 + +# We don't want to build java +%define build_java 1 +%define build_libjava 0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1} + +%define build_cp 1 +%define build_fortran 1 +%define build_objc 1 +%define build_objcp !0%{?building_libjava:1}%{?building_libffi:1} +%define build_with_mudflap 0 + +%if %{build_objcp} +%define build_cp 1 +%define build_objc 1 +%endif + +%if %{build_libjava} +%define build_cp 1 +%endif + +# For optional compilers only build C, C++ and Fortran +##%if 0%{?build_optional_compiler:1}%{?build_optional_compiler_languages:1} +%if 0%{!?building_libffi:1} +%define build_ada 0 +%define build_java 0 +%define build_libjava 0 +%define build_objc 1 +%define build_objcp 1 +%endif + + +Name: gcc47 +BuildRequires: bison +BuildRequires: flex +BuildRequires: gettext-tools +BuildRequires: makeinfo +BuildRequires: glibc-devel-32bit +BuildRequires: mpc-devel +BuildRequires: mpfr-devel +BuildRequires: perl +BuildRequires: texinfo +BuildRequires: zlib-devel +%ifarch %ix86 x86_64 %arm +BuildRequires: cloog-devel +BuildRequires: ppl-devel +%endif +%if %{build_ada} +%define hostsuffix -4.7 +BuildRequires: gcc47-ada +%endif +%if 0%{?building_libjava:1}%{?building_testsuite:1} +BuildRequires: fastjar +BuildRequires: unzip +%endif +%if 0%{?building_libffi:1} +BuildRequires: pkg-config +%endif +%if 0%{?run_tests:1} +BuildRequires: dejagnu +BuildRequires: expect +BuildRequires: gdb +%endif + +# Define version number of libgcc_s +%define libgcc_s 1 +%define build_nof 0 + +%define separate_bi32 0 +%define separate_bi64 0 +%ifarch x86_64 +%define separate_bi32 1 +%endif + +# Define two macros to trigger -32bit or -64bit package variants +%define separate_biarch 0 +%if %{separate_bi32} +%define separate_biarch 1 +%define separate_biarch_suffix -32bit +%endif +%if %{separate_bi64} +%define separate_biarch 1 +%define separate_biarch_suffix -64bit +%endif + +%ifarch x86_64 +# 64-bit is primary build target +%define build_primary_64bit 1 +%else +%define build_primary_64bit 0 +%endif + +%define biarch_libjava 0 + +# COMMON-BEGIN +%define biarch_targets x86_64 + +URL: http://gcc.gnu.org/ +Version: 4.7.2 +Release: 1 +%define gcc_version %(echo %version | sed 's/_.*//') +%define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1-2) +%define snapshot_date %(echo %version | sed 's/[34]\.[0-9]\.[0-6]//' | sed 's/_/-/') +%define binsuffix -4.7 +# COMMON-END + +%if !0%{?building_libjava:1}%{?building_libffi:1}%{?building_testsuite:1} +Requires: binutils glibc-devel +Requires: cpp47 = %{version}-%{release} +%if 0%{!?build_optional_compiler:1} +Requires: libgcc%{libgcc_s} >= %{version}-%{release} +Requires: libgomp1 >= %{version}-%{release} +%if %{build_with_mudflap} +Requires: libmudflap0 >= %{version}-%{release} +Requires: libmudflapth0 >= %{version}-%{release} +%endif +%else +Requires: libgcc47 = %{version}-%{release} +Requires: libgomp47 = %{version}-%{release} +%endif +%endif + +# COMMON-BEGIN +BuildRoot: %{_tmppath}/%{name}-%{version}-build +#Source: gcc-%{gcc_version}%{snapshot_date}.tar.bz2 +Source: gcc-%{version}.tar.bz2 + +Source1: change_spec +Source2: libgcj47-rpmlintrc +Source3: gcc47-rpmlintrc +Source4: ecj.jar +Source6: baselibs.conf +# Patches auto-generated by git-buildpackage: +Patch0: 0001-dir-version.patch +Patch1: 0002-textdomain.patch +Patch2: 0003-rename-info-files.patch +Patch3: 0004-ARM-linker.patch + +# GCC-TESTSUITE-DELETE-BEGIN +# LIBFFI-DELETE-BEGIN +# LIBJAVA-DELETE-BEGIN +Group: Development/Languages/C and C++ +Summary: The GNU C Compiler and Support Files +License: GPL-3.0+ + +%description +Core package for the GNU Compiler Collection, including the C language +frontend. + +Language frontends other than C are split to different sub-packages, +namely gcc-ada, gcc-c++, gcc-fortran, gcc-java, gcc-objc and +gcc-obj-c++. + + + +# COMMON-END +%package -n gcc47-32bit +Summary: The GNU C Compiler 32bit support +Group: Development/Languages/C and C++ +Requires: gcc47 = %{version}-%{release} +%if 0%{!?build_optional_compiler:1} +Requires: libgcc%{libgcc_s}-32bit >= %{version}-%{release} +Requires: libgomp1-32bit >= %{version}-%{release} +%if %{build_with_mudflap} +Requires: libmudflap0-32bit >= %{version}-%{release} +Requires: libmudflapth0-32bit >= %{version}-%{release} +%endif +%else +Requires: libgcc47-32bit = %{version}-%{release} +Requires: libgomp47-32bit = %{version}-%{release} +%endif +Requires: glibc-devel-32bit + +%description -n gcc47-32bit +This package contains 32bit support for the GNU Compiler Collection. + +%package -n gcc47-64bit +Summary: The GNU C Compiler 64bit support +Group: Development/Languages/C and C++ +Requires: gcc47 = %{version}-%{release} +%if 0%{!?build_optional_compiler:1} +Requires: libgcc%{libgcc_s}-64bit >= %{version}-%{release} +Requires: libgomp1-64bit >= %{version}-%{release} +%if %{build_with_mudflap} +Requires: libmudflap0-64bit >= %{version}-%{release} +Requires: libmudflapth0-64bit >= %{version}-%{release} +%endif +%else +Requires: libgcc47-64bit = %{version}-%{release} +Requires: libgomp47-64bit = %{version}-%{release} +%endif +Requires: glibc-devel-64bit + +%description -n gcc47-64bit +This package contains 64bit support for the GNU Compiler Collection. + + +%package locale +Summary: Locale Data for the GNU Compiler Collection +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc47 = %{version}-%{release} + +%description locale +Locale data for the GNU Compiler Collection (GCC) to give error message +in the current locale. + + +%package c++ +Summary: The GNU C++ Compiler +License: GPL-3.0+ +Group: Development/Languages/C and C++ +Requires: gcc47 = %{version}-%{release} +Requires: libstdc++47-devel = %{version}-%{release} + +%description c++ +This package contains the GNU compiler for C++. + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libstdc++47-devel +Summary: Include Files and Libraries mandatory for Development +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/C and C++ +%if 0%{!?build_optional_compiler:1} +Requires: libstdc++6 >= %{version}-%{release} +%else +Requires: libstdc++47 = %{version}-%{release} +%endif +Requires: glibc-devel + +%description -n libstdc++47-devel +This package contains all the headers and libraries of the standard C++ +library. It is needed for compiling C++ code. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libstdc++47-devel-32bit +Summary: Include Files and Libraries mandatory for Development +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/C and C++ +%if 0%{!?build_optional_compiler:1} +Requires: libstdc++6-32bit >= %{version}-%{release} +%else +Requires: libstdc++47-32bit = %{version}-%{release} +%endif +Requires: glibc-devel-32bit + +%description -n libstdc++47-devel-32bit +This package contains all the headers and libraries of the standard C++ +library. It is needed for compiling C++ code. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libstdc++47-devel-64bit +Summary: Include Files and Libraries mandatory for Development +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/C and C++ +%if 0%{!?build_optional_compiler:1} +Requires: libstdc++6-64bit >= %{version}-%{release} +%else +Requires: libstdc++47-64bit = %{version}-%{release} +%endif +Requires: glibc-devel-64bit + +%description -n libstdc++47-devel-64bit +This package contains all the headers and libraries of the standard C++ +library. It is needed for compiling C++ code. +# PACKAGE-END + +%package -n libstdc++47-doc +Summary: Documentation for the GNU C++ standard library +License: GPL-3.0+ +Group: Documentation/HTML +BuildArch: noarch + +%description -n libstdc++47-doc +Extensive HTML documentation for the GNU C++ standard library. + + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgcc47 +Summary: C compiler runtime library +License: GPL-3.0-with-GCC-exception +Group: System/Base +%if 0%{!?build_optional_compiler:1} +Provides: libgcc%{libgcc_s} = %{version}-%{release} +Conflicts: libgcc%{libgcc_s} < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libgcc47 +Libgcc is needed for dynamically linked C programs. + +%post -n libgcc47 +/sbin/ldconfig + +%postun -n libgcc47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgcc47-32bit +Summary: C compiler runtime library +License: GPL-3.0-with-GCC-exception +Group: System/Base +%if 0%{!?build_optional_compiler:1} +Provides: libgcc%{libgcc_s}-32bit = %{version}-%{release} +Conflicts: libgcc%{libgcc_s}-32bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libgcc47-32bit +Libgcc is needed for dynamically linked C programs. + +%post -n libgcc47-32bit +/sbin/ldconfig + +%postun -n libgcc47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgcc47-64bit +Summary: C compiler runtime library +License: GPL-3.0-with-GCC-exception +Group: System/Base +%if 0%{!?build_optional_compiler:1} +Provides: libgcc%{libgcc_s}-64bit = %{version}-%{release} +Conflicts: libgcc%{libgcc_s}-64bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libgcc47-64bit +Libgcc is needed for dynamically linked C programs. + +%post -n libgcc47-64bit +/sbin/ldconfig + +%postun -n libgcc47-64bit +/sbin/ldconfig +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgomp47 +Summary: The GNU compiler collection OpenMP runtime library +License: GPL-3.0-with-GCC-exception +Group: System/Base +%if 0%{!?build_optional_compiler:1} +Provides: libgomp1 = %{version}-%{release} +Conflicts: libgomp1 < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libgomp47 +This is the OpenMP runtime library needed by OpenMP enabled programs +that were built with the -fopenmp compiler option and by programs that +were auto-parallelized via the -ftree-parallelize-loops compiler +option. + + +%post -n libgomp47 +/sbin/ldconfig + +%postun -n libgomp47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgomp47-32bit +Summary: The GNU compiler collection OpenMP runtime library +License: GPL-3.0-with-GCC-exception +Group: System/Base +%if 0%{!?build_optional_compiler:1} +Provides: libgomp1-32bit = %{version}-%{release} +Conflicts: libgomp1-32bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libgomp47-32bit +This is the OpenMP runtime library needed by OpenMP enabled programs +that were built with the -fopenmp compiler option and by programs that +were auto-parallelized via the -ftree-parallelize-loops compiler +option. + + +%post -n libgomp47-32bit +/sbin/ldconfig + +%postun -n libgomp47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgomp47-64bit +Summary: The GNU compiler collection OpenMP runtime library +License: GPL-3.0-with-GCC-exception +Group: System/Base +%if 0%{!?build_optional_compiler:1} +Provides: libgomp1-64bit = %{version}-%{release} +Conflicts: libgomp1-64bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libgomp47-64bit +This is the OpenMP runtime library needed by OpenMP enabled programs +that were built with the -fopenmp compiler option and by programs that +were auto-parallelized via the -ftree-parallelize-loops compiler +option. + + +%post -n libgomp47-64bit +/sbin/ldconfig + +%postun -n libgomp47-64bit +/sbin/ldconfig +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libstdc++47 +Summary: The standard C++ shared library +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +%if 0%{!?build_optional_compiler:1} +Provides: libstdc++6 = %{version}-%{release} +Conflicts: libstdc++6 < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libstdc++47 +The standard C++ library, needed for dynamically linked C++ programs. + + +%post -n libstdc++47 +/sbin/ldconfig + +%postun -n libstdc++47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libstdc++47-32bit +Summary: The standard C++ shared library +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +%if 0%{!?build_optional_compiler:1} +Provides: libstdc++6-32bit = %{version}-%{release} +Conflicts: libstdc++6-32bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libstdc++47-32bit +The standard C++ library, needed for dynamically linked C++ programs. + + +%post -n libstdc++47-32bit +/sbin/ldconfig + +%postun -n libstdc++47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libstdc++47-64bit +Summary: The standard C++ shared library +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +%if 0%{!?build_optional_compiler:1} +Provides: libstdc++6-64bit = %{version}-%{release} +Conflicts: libstdc++6-64bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libstdc++47-64bit +The standard C++ library, needed for dynamically linked C++ programs. + + +%post -n libstdc++47-64bit +/sbin/ldconfig + +%postun -n libstdc++47-64bit +/sbin/ldconfig +# PACKAGE-END + + +%package info +Summary: Documentation for the GNU compiler collection +License: GFDL-1.2 +Group: Documentation/Other +BuildArch: noarch + +%description info +GNU info-pages for the GNU compiler collection covering both user-level +and internals documentation. + + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package objc +Summary: GNU Objective C Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47 = %{version}-%{release} +Requires: libobjc2 >= %{version}-%{release} + +%description objc +This package contains the GNU Objective C compiler. Objective C is an +object oriented language, created by Next Inc. and used in their +Nextstep OS. The source code is available in the gcc package. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package objc-32bit +Summary: GNU Objective C Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47 = %{version}-%{release} +Requires: libobjc2-32bit >= %{version}-%{release} + +%description objc-32bit +This package contains the GNU Objective C compiler. Objective C is an +object oriented language, created by Next Inc. and used in their +Nextstep OS. The source code is available in the gcc package. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package objc-64bit +Summary: GNU Objective C Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47 = %{version}-%{release} +Requires: libobjc2-64bit >= %{version}-%{release} + +%description objc-64bit +This package contains the GNU Objective C compiler. Objective C is an +object oriented language, created by Next Inc. and used in their +Nextstep OS. The source code is available in the gcc package. +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libobjc47 +Summary: Library for the GNU Objective C Compiler +License: GPL-3.0-with-GCC-exception +Group: Development/Libraries/Other +Provides: libobjc2 = %{version}-%{release} +Conflicts: libobjc2 < %{version}-%{release} + +%description -n libobjc47 +The library for the GNU Objective C compiler. + +%post -n libobjc47 +/sbin/ldconfig + +%postun -n libobjc47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libobjc47-32bit +Summary: Library for the GNU Objective C Compiler +License: GPL-3.0-with-GCC-exception +Group: Development/Libraries/Other +Provides: libobjc2-32bit = %{version}-%{release} +Conflicts: libobjc2-32bit < %{version}-%{release} + +%description -n libobjc47-32bit +The library for the GNU Objective C compiler. + +%post -n libobjc47-32bit +/sbin/ldconfig + +%postun -n libobjc47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libobjc47-64bit +Summary: Library for the GNU Objective C Compiler +License: GPL-3.0-with-GCC-exception +Group: Development/Libraries/Other +Provides: libobjc2-64bit = %{version}-%{release} +Conflicts: libobjc2-64bit < %{version}-%{release} + +%description -n libobjc47-64bit +The library for the GNU Objective C compiler. + +%post -n libobjc47-64bit +/sbin/ldconfig + +%postun -n libobjc47-64bit +/sbin/ldconfig +# PACKAGE-END + +%package obj-c++ +Summary: GNU Objective C++ Compiler +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47-objc = %{version}-%{release} +Requires: gcc47-c++ = %{version}-%{release} + +%description obj-c++ +This package contains the GNU Objective C++ compiler. Objective C++ is an +object oriented language, created by Next Inc. and used in their +Nextstep OS. The source code is available in the gcc package. + + +%package -n cpp47 +Summary: The GCC Preprocessor +License: GPL-3.0+ +Group: Development/Languages/C and C++ + +%description -n cpp47 +This Package contains just the preprocessor that is used by the X11 +packages. + + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package ada +Summary: GNU Ada95 Compiler Based on GCC (GNAT) +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47 = %{version}-%{release} +Requires: libada47 = %{version}-%{release} + +%description ada +This package contains an Ada95 compiler and associated development +tools based on the GNU GCC technology. Ada95 is the object oriented +successor of the Ada83 language. To build this package from source you +must have installed a binary version to bootstrap the compiler. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package ada-32bit +Summary: GNU Ada95 Compiler Based on GCC (GNAT) +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47-32bit = %{version}-%{release} +Requires: libada47-32bit = %{version}-%{release} + +%description ada-32bit +This package contains an Ada95 compiler and associated development +tools based on the GNU GCC technology. Ada95 is the object oriented +successor of the Ada83 language. To build this package from source you +must have installed a binary version to bootstrap the compiler. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package ada-64bit +Summary: GNU Ada95 Compiler Based on GCC (GNAT) +License: GPL-3.0+ +Group: Development/Languages/Other +Requires: gcc47-64bit = %{version}-%{release} +Requires: libada47-64bit = %{version}-%{release} + +%description ada-64bit +This package contains an Ada95 compiler and associated development +tools based on the GNU GCC technology. Ada95 is the object oriented +successor of the Ada83 language. To build this package from source you +must have installed a binary version to bootstrap the compiler. +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libada47 +Summary: GNU Ada Runtime Libraries +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +Provides: libgnarl-4_7 = %{version}-%{release} +Conflicts: libgnarl-4_7 < %{version}-%{release} +Provides: libgnat-4_7 = %{version}-%{release} +Conflicts: libgnat-4_7 < %{version}-%{release} + +%description -n libada47 +This package contains the shared libraries required to run programs +compiled with the GNU Ada compiler (GNAT) if they are compiled to use +shared libraries. It also contains the shared libraries for the +Implementation of the Ada Semantic Interface Specification (ASIS), the +implementation of Distributed Systems Programming (GLADE) and the Posix +1003.5 Binding (Florist). + +%post -n libada47 +/sbin/ldconfig + +%postun -n libada47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libada47-32bit +Summary: GNU Ada Runtime Libraries +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +Provides: libgnarl-4_7-32bit = %{version}-%{release} +Conflicts: libgnarl-4_7-32bit < %{version}-%{release} +Provides: libgnat-4_7-32bit = %{version}-%{release} +Conflicts: libgnat-4_7-32bit < %{version}-%{release} + +%description -n libada47-32bit +This package contains the shared libraries required to run programs +compiled with the GNU Ada compiler (GNAT) if they are compiled to use +shared libraries. It also contains the shared libraries for the +Implementation of the Ada Semantic Interface Specification (ASIS), the +implementation of Distributed Systems Programming (GLADE) and the Posix +1003.5 Binding (Florist). + +%post -n libada47-32bit +/sbin/ldconfig + +%postun -n libada47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libada47-64bit +Summary: GNU Ada Runtime Libraries +License: GPL-3.0-with-GCC-exception +Group: System/Libraries +Provides: libgnarl-4_7-64bit = %{version}-%{release} +Conflicts: libgnarl-4_7-64bit < %{version}-%{release} +Provides: libgnat-4_7-64bit = %{version}-%{release} +Conflicts: libgnat-4_7-64bit < %{version}-%{release} + +%description -n libada47-64bit +This package contains the shared libraries required to run programs +compiled with the GNU Ada compiler (GNAT) if they are compiled to use +shared libraries. It also contains the shared libraries for the +Implementation of the Ada Semantic Interface Specification (ASIS), the +implementation of Distributed Systems Programming (GLADE) and the Posix +1003.5 Binding (Florist). + +%post -n libada47-64bit +/sbin/ldconfig + +%postun -n libada47-64bit +/sbin/ldconfig +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package fortran +Summary: The GNU Fortran Compiler and Support Files +License: GPL-3.0+ +Group: Development/Languages/Fortran +Requires: gcc47 = %{version}-%{release} +%if 0%{!?build_optional_compiler:1} +Requires: libgfortran3 >= %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath0 >= %{version}-%{release} +%endif +%else +Requires: libgfortran47 = %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath47 = %{version}-%{release} +%endif +%endif + +%description fortran +This is the Fortran compiler of the GNU Compiler Collection (GCC). +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package fortran-32bit +Summary: The GNU Fortran Compiler and Support Files +License: GPL-3.0+ +Group: Development/Languages/Fortran +Requires: gcc47 = %{version}-%{release} +%if 0%{!?build_optional_compiler:1} +Requires: libgfortran3-32bit >= %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath0-32bit >= %{version}-%{release} +%endif +%else +Requires: libgfortran47-32bit = %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath47-32bit = %{version}-%{release} +%endif +%endif + +%description fortran-32bit +This is the Fortran compiler of the GNU Compiler Collection (GCC). +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package fortran-64bit +Summary: The GNU Fortran Compiler and Support Files +License: GPL-3.0+ +Group: Development/Languages/Fortran +Requires: gcc47 = %{version}-%{release} +%if 0%{!?build_optional_compiler:1} +Requires: libgfortran3-64bit >= %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath0-64bit >= %{version}-%{release} +%endif +%else +Requires: libgfortran47-64bit = %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath47-64bit = %{version}-%{release} +%endif +%endif + +%description fortran-64bit +This is the Fortran compiler of the GNU Compiler Collection (GCC). +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgfortran47 +Summary: The GNU Fortran Compiler Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/Fortran +%if 0%{!?build_optional_compiler:1} +Provides: libgfortran3 = %{version}-%{release} +Conflicts: libgfortran3 < %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath0 >= %{version}-%{release} +%endif +%else +%ifarch %quadmath_arch +Requires: libquadmath47 = %{version}-%{release} +%endif +Autoprov: no +%endif + +%description -n libgfortran47 +The runtime library needed to run programs compiled with the Fortran compiler +of the GNU Compiler Collection (GCC). + +%post -n libgfortran47 +/sbin/ldconfig + +%postun -n libgfortran47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgfortran47-32bit +Summary: The GNU Fortran Compiler Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/Fortran +%if 0%{!?build_optional_compiler:1} +Provides: libgfortran3-32bit = %{version}-%{release} +Conflicts: libgfortran3-32bit < %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath0-32bit >= %{version}-%{release} +%endif +%else +%ifarch %quadmath_arch +Requires: libquadmath47-32bit = %{version}-%{release} +%endif +Autoprov: no +%endif + +%description -n libgfortran47-32bit +The runtime library needed to run programs compiled with the Fortran compiler +of the GNU Compiler Collection (GCC). + +%post -n libgfortran47-32bit +/sbin/ldconfig + +%postun -n libgfortran47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libgfortran47-64bit +Summary: The GNU Fortran Compiler Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/Fortran +%if 0%{!?build_optional_compiler:1} +Provides: libgfortran3-64bit = %{version}-%{release} +Conflicts: libgfortran3-64bit < %{version}-%{release} +%ifarch %quadmath_arch +Requires: libquadmath0-64bit >= %{version}-%{release} +%endif +%else +%ifarch %quadmath_arch +Requires: libquadmath47-64bit = %{version}-%{release} +%endif +Autoprov: no +%endif + +%description -n libgfortran47-64bit +The runtime library needed to run programs compiled with the Fortran compiler +of the GNU Compiler Collection (GCC). + +%post -n libgfortran47-64bit +/sbin/ldconfig + +%postun -n libgfortran47-64bit +/sbin/ldconfig +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libquadmath47 +Summary: The GNU Fortran Compiler Quadmath Runtime Library +License: LGPL-2.1 +Group: Development/Languages/Fortran +%if 0%{!?build_optional_compiler:1} +Provides: libquadmath0 = %{version}-%{release} +Conflicts: libquadmath0 < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libquadmath47 +The runtime library needed to run programs compiled with the Fortran compiler +of the GNU Compiler Collection (GCC) and quadruple precision floating point +operations. + +%post -n libquadmath47 +/sbin/ldconfig + +%postun -n libquadmath47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libquadmath47-32bit +Summary: The GNU Fortran Compiler Quadmath Runtime Library +License: LGPL-2.1 +Group: Development/Languages/Fortran +%if 0%{!?build_optional_compiler:1} +Provides: libquadmath0-32bit = %{version}-%{release} +Conflicts: libquadmath0-32bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libquadmath47-32bit +The runtime library needed to run programs compiled with the Fortran compiler +of the GNU Compiler Collection (GCC) and quadruple precision floating point +operations. + +%post -n libquadmath47-32bit +/sbin/ldconfig + +%postun -n libquadmath47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libquadmath47-64bit +Summary: The GNU Fortran Compiler Quadmath Runtime Library +License: LGPL-2.1 +Group: Development/Languages/Fortran +%if 0%{!?build_optional_compiler:1} +Provides: libquadmath0-64bit = %{version}-%{release} +Conflicts: libquadmath0-64bit < %{version}-%{release} +%else +Autoprov: no +%endif + +%description -n libquadmath47-64bit +The runtime library needed to run programs compiled with the Fortran compiler +of the GNU Compiler Collection (GCC) and quadruple precision floating point +operations. + +%post -n libquadmath47-64bit +/sbin/ldconfig + +%postun -n libquadmath47-64bit +/sbin/ldconfig +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libmudflap47 +Summary: The Mudflap Extension Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/C and C++ +Provides: libmudflap0 = %{version}-%{release} +Conflicts: libmudflap0 < %{version}-%{release} +Provides: libmudflapth0 = %{version}-%{release} +Conflicts: libmudflapth0 < %{version}-%{release} + +%description -n libmudflap47 +This is the Mudflap Extension Runtime Library. + +%post -n libmudflap47 +/sbin/ldconfig + +%postun -n libmudflap47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libmudflap47-32bit +Summary: The Mudflap Extension Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/C and C++ +Provides: libmudflap0-32bit = %{version}-%{release} +Conflicts: libmudflap0-32bit < %{version}-%{release} +Provides: libmudflapth0-32bit = %{version}-%{release} +Conflicts: libmudflapth0-32bit < %{version}-%{release} + +%description -n libmudflap47-32bit +This is the Mudflap Extension Runtime Library. + +%post -n libmudflap47-32bit +/sbin/ldconfig + +%postun -n libmudflap47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libmudflap47-64bit +Summary: The Mudflap Extension Runtime Library +License: GPL-3.0-with-GCC-exception +Group: Development/Languages/C and C++ +Provides: libmudflap0-64bit = %{version}-%{release} +Conflicts: libmudflap0-64bit < %{version}-%{release} +Provides: libmudflapth0-64bit = %{version}-%{release} +Conflicts: libmudflapth0-64bit < %{version}-%{release} + +%description -n libmudflap47-64bit +This is the Mudflap Extension Runtime Library. + +%post -n libmudflap47-64bit +/sbin/ldconfig + +%postun -n libmudflap47-64bit +/sbin/ldconfig +# PACKAGE-END + + +%package -n libgcj47 +# LIBJAVA-DELETE-END +Summary: Java Runtime Library for gcc +License: GPL-2.0-with-classpath-exception +Group: System/Libraries +%define gcj_sover 13 +Provides: libgcj%{gcj_sover} = %{version}-%{release} +Conflicts: libgcj%{gcj_sover} < %{version}-%{release} +Provides: libgij%{gcj_sover} = %{version}-%{release} +Conflicts: libgij%{gcj_sover} < %{version}-%{release} +Provides: libgcj-tools%{gcj_sover} = %{version}-%{release} +Conflicts: libgcj-tools%{gcj_sover} < %{version}-%{release} + +%description -n libgcj47 +This library is needed if you want to use the GNU Java compiler, gcj. +Source code for this package is in gcc. + +%post -n libgcj47 +/sbin/ldconfig + +%postun -n libgcj47 +/sbin/ldconfig + + +%package -n gcc47-java +Summary: The GNU Java Compiler +License: GPL-3.0+ +Group: Development/Languages/Java +Requires: gcc47 = %{version} +Requires: libgcj47-devel = %{version}-%{release} + +%description -n gcc47-java +The Java compiler from the GCC-tools-suite. + + +%package -n libgcj_bc47 +Summary: Fake library for BC-ABI compatibility. +License: GPL-2.0-with-classpath-exception +Group: Development/Libraries/Java +Provides: libgcj_bc1 = %{version}-%{release} +Conflicts: libgcj_bc1 < %{version}-%{release} +# libgcj_bc is special in that it just contains a symlink to +# a proper libgcj version. So require that library and add +# provides for the shlib version as created at link time +Requires: libgcj%{gcj_sover} +%ifarch x86_64 +Provides: libgcj_bc.so.1()(64bit) +%else +Provides: libgcj_bc.so.1 +%endif + + +%description -n libgcj_bc47 +A fake library that is used at link time only. It ensures that +binaries built with the BC-ABI link against a constant SONAME. +This way, BC-ABI binaries continue to work if the SONAME underlying +libgcj.so changes. + + +%package -n libgcj47-jar +Summary: Java runtime library (jar files). +License: GPL-2.0-with-classpath-exception +Group: Development/Libraries/Java + +%description -n libgcj47-jar +These are the jar files that go along with the gcj front end to gcc. + + +%package -n libgcj47-devel +Summary: Include Files and Libraries mandatory for Development. +License: GPL-2.0-with-classpath-exception +Group: Development/Libraries/Java +Requires: libstdc++47-devel = %{version} +Requires: libgcj%{gcj_sover} >= %{version}-%{release} +Requires: libgcj_bc1 >= %{version}-%{release} +Requires: libgcj47-jar = %{version}-%{release} +Requires: gtk2-devel +Requires: libart_lgpl-devel +Requires: glibc-devel +Requires: zlib-devel + +%description -n libgcj47-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + + +%package -n gcc47-gij +Summary: Java Bytecode Interpreter for gcc +License: GPL-2.0-with-classpath-exception +Group: Development/Libraries/Java +Requires: libgcj%{gcj_sover} >= %{version}-%{release} + +%description -n gcc47-gij +This package contains the java bytecode interpreter gij and related tools. + +# LIBFFI-DELETE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libffi47 +Summary: Foreign Function Interface library +License: BSD-3-Clause +Group: Development/Languages/C and C++ +Provides: g-wrap:/usr/lib/libffi.so.4 +Provides: libffi4 = %{version}-%{release} +Conflicts: libffi4 < %{version}-%{release} + +%description -n libffi47 +A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. + +%post -n libffi47 +/sbin/ldconfig + +%postun -n libffi47 +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libffi47-32bit +Summary: Foreign Function Interface library +License: BSD-3-Clause +Group: Development/Languages/C and C++ +Provides: g-wrap:/usr/lib/libffi.so.4 +Provides: libffi4-32bit = %{version}-%{release} +Conflicts: libffi4-32bit < %{version}-%{release} + +%description -n libffi47-32bit +A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. + +%post -n libffi47-32bit +/sbin/ldconfig + +%postun -n libffi47-32bit +/sbin/ldconfig +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libffi47-64bit +Summary: Foreign Function Interface library +License: BSD-3-Clause +Group: Development/Languages/C and C++ +Provides: g-wrap:/usr/lib/libffi.so.4 +Provides: libffi4-64bit = %{version}-%{release} +Conflicts: libffi4-64bit < %{version}-%{release} + +%description -n libffi47-64bit +A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. + +%post -n libffi47-64bit +/sbin/ldconfig + +%postun -n libffi47-64bit +/sbin/ldconfig +# PACKAGE-END + +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libffi47-devel +Summary: Foreign Function Interface library development files +License: BSD 3-Clause +Group: Development/Languages/C and C++ +Requires: libffi4 >= %{version}-%{release} +Provides: libffi-devel = %{version}-%{release} +Conflicts: libffi-devel < %{version}-%{release} + +%description -n libffi47-devel +A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libffi47-devel-32bit +Summary: Foreign Function Interface library development files +License: BSD 3-Clause +Group: Development/Languages/C and C++ +Requires: libffi4-32bit >= %{version}-%{release} +Provides: libffi-devel-32bit = %{version}-%{release} +Conflicts: libffi-devel-32bit < %{version}-%{release} + +%description -n libffi47-devel-32bit +A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +# PACKAGE-END +# PACKAGE-BEGIN +# PACKAGE-BEGIN +%package -n libffi47-devel-64bit +Summary: Foreign Function Interface library development files +License: BSD 3-Clause +Group: Development/Languages/C and C++ +Requires: libffi4-64bit >= %{version}-%{release} +Provides: libffi-devel-64bit = %{version}-%{release} +Conflicts: libffi-devel-64bit < %{version}-%{release} + +%description -n libffi47-devel-64bit +A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +# PACKAGE-END + +%package -n gcc47-testresults +# GCC-TESTSUITE-DELETE-END +Summary: Testsuite results +License: Public-Domain +Group: Development/Languages/C and C++ + +%description -n gcc47-testresults +Results from running the gcc and target library testsuites. + + +# COMMON-BEGIN + +# Define the canonical target and host architecture +# %gcc_target_arch is supposed to be the full target triple +# %TARGET_ARCH is the canonicalized CPU part +# %CONFIGURE_TARGET is the target triple used for --target= +%if 0%{?gcc_target_arch:1} +%define CONFIGURE_TARGET %{gcc_target_arch} +%define TARGET_ARCH %(echo %{gcc_target_arch} | cut -d - -f 1 | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") +%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "i586" +%define CONFIGURE_TARGET i586-tizen-linux +%endif +%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7l" +%define CONFIGURE_TARGET armv7l-tizen-linux-gnueabi +%endif +%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7hl" +%define CONFIGURE_TARGET armv7hl-tizen-linux-gnueabi +%endif +%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv7el" +%define CONFIGURE_TARGET armv7el-tizen-linux-gnueabi +%endif +%if 0%{?gcc_icecream:1} && %{TARGET_ARCH} == "armv5el" +%define CONFIGURE_TARGET armv5el-tizen-linux-gnueabi +%endif +%else +%define TARGET_ARCH %(echo %{_target_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") +%endif +%define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;") + +%define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; (*) echo 0;; esac) + +%ifarch %arm +%define GCCDIST %{HOST_ARCH}-tizen-linux-gnueabi +%else +%define GCCDIST %{HOST_ARCH}-tizen-linux +%endif + +%define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version} +%define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version} + +# COMMON-END + +# Versionspecific directories +%define versmainlibdir %{libsubdir} +%define versmainlibdirbi32 %{libsubdir}/32 +%define versmainlibdirbi64 %{libsubdir}/64 +%if %{build_primary_64bit} +%define versmainlibdirbi %{versmainlibdirbi32} +%else +%define versmainlibdirbi %{versmainlibdirbi64} +%endif + +%if 0%{?build_optional_compiler:1} +%define mainlibdir %{versmainlibdir} +%define mainlibdirbi32 %{versmainlibdirbi32} +%define mainlibdirbi64 %{versmainlibdirbi64} +%define noflibdir %{versnoflibdir} +%define mainlibdirbi %{versmainlibdirbi} +%else +%define mainlibdir %{_libdir} +%define mainlibdirbi32 %{_prefix}/lib +%define mainlibdirbi64 %{_prefix}/lib64 +%define noflibdir %{_prefix}/lib/nof +%if %{build_primary_64bit} +%define mainlibdirbi %{mainlibdirbi32} +%else +%define mainlibdirbi %{mainlibdirbi64} +%endif +%endif + + +# Now define a few macros that make it easy to package libs and +# related files just to the right package, without caring for the +# exact path the files are in. +# %mainlib package X from all dirs that belong to the main package +# %biarchlib package X from all dirs that belong to the -32/64bit package +# by default, nof libs go where the 32bit libs go. +%if %{build_nof} +%define mainlib() %{mainlibdir}/%1\ +%{noflibdir}/%1\ +%{nil} +%else +%define mainlib() %{mainlibdir}/%1\ +%{nil} +%endif +%define biarchlib() %{nil} +%if %{biarch} +%if !%{separate_biarch} +%if %{build_nof} +%define mainlib() %{mainlibdir}/%1\ +%{mainlibdirbi}/%1\ +%{noflibdir}/%1\ +%{nil} +%else +%define mainlib() %{mainlibdir}/%1\ +%{mainlibdirbi}/%1\ +%{nil} +%endif +%else +%if %{build_nof} +%define biarchlib() %{mainlibdirbi}/%1\ +%{noflibdir}/%1\ +%{nil} +%define mainlib() %{mainlibdir}/%1\ +%{nil} +%else +%define biarchlib() %{mainlibdirbi}/%1\ +%{nil} +%endif +%endif +%endif + +%if %{build_nof} +%define versmainlib() %{versmainlibdir}/%1\ +%{versnoflibdir}/%1\ +%{nil} +%else +%define versmainlib() %{versmainlibdir}/%1\ +%{nil} +%endif +%define versbiarchlib() %{nil} +%if %{biarch} +%if !%{separate_biarch} +%if %{build_nof} +%define versmainlib() %{versmainlibdir}/%1\ +%{versmainlibdirbi}/%1\ +%{versnoflibdir}/%1\ +%{nil} +%else +%define versmainlib() %{versmainlibdir}/%1\ +%{versmainlibdirbi}/%1\ +%{nil} +%endif +%else +%if %{build_nof} +%define versbiarchlib() %{versmainlibdirbi}/%1\ +%{versnoflibdir}/%1\ +%{nil} +%define versmainlib() %{versmainlibdir}/%1\ +%{nil} +%else +%define versbiarchlib() %{versmainlibdirbi}/%1\ +%{nil} +%endif +%endif +%endif + + +# COMMON-BEGIN + +%prep +#%setup -q -n gcc-%{gcc_version}%{snapshot_date} +%setup -q -n gcc-%{version} +# 0001-dir-version.patch +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 + +%build +# Avoid rebuilding of generated files +contrib/gcc_update --touch +# Avoid fucking up testsuite results with Java and indirect dispatch +export LD_AS_NEEDED=0 +# Split version file into version used for directories (X.Y) and +# version to report with --version (X.Y.Z). +# See also gcc-dir-version.patch. +# Also decrement the patchlevel version by one +if test `cat gcc/DEV-PHASE` == "prerelease"; then + ( cat gcc/BASE-VER | cut -d '.' -f 1-2 | tr -d '\n'; echo -n .; cat gcc/BASE-VER | cut -d '.' -f 3 | tr '0123456789' '0012345678' ) > gcc/FULL-VER +else + mv gcc/BASE-VER gcc/FULL-VER +fi +cat gcc/FULL-VER | cut -d '.' -f 1-2 > gcc/BASE-VER + +rm -rf obj-%{GCCDIST} +mkdir obj-%{GCCDIST} +cd obj-%{GCCDIST} +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -U_FORTIFY_SOURCE" +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-fno-rtti//g' -e 's/-fno-exceptions//g' -e 's/-Wmissing-format-attribute//g' -e 's/-fstack-protector//g' -e 's/-ffortify=.//g' -e 's/-Wall//g' -e 's/-m32//g' -e 's/-m64//g'` +%ifarch %ix86 +# -mcpu is superceded by -mtune but -mtune is not supported by +# our bootstrap compiler. -mcpu gives a warning that stops +# the build process, so remove it for now. Also remove all other +# -march and -mtune flags. They are superseeded by proper +# default compiler settings now. +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-mcpu=i.86//g' -e 's/-march=i.86//g' -e 's/-mtune=i.86//g'` +%endif +%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1} +# Kill all -march/tune/cpu because that screws building the target libs +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-m\(arch\|tune\|cpu\)=[^ ]*//g'` +%endif +# Replace 2 spaces by one finally +RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/ / /g'` + +languages=c +%if %{build_cp} +languages=$languages,c++ +%endif +%if %{build_objc} +languages=$languages,objc +%endif +%if %{build_fortran} +languages=$languages,fortran +%endif +%if %{build_objcp} +languages=$languages,obj-c++ +%endif +%if %{build_java} +languages=$languages,java +%endif +%if %{build_ada} +languages=$languages,ada +%endif + +J=%{?jobs:%jobs} +if test -z "$J"; then + J=$(getconf _NPROCESSORS_CONF) + JL=$(($J * 2)) +else + test 1 -gt "$J" && J=1 + JL=$(($(getconf _NPROCESSORS_CONF)*2)) +fi +if test "$J" == "0"; then + J=1 +fi +if test "$JL" == "0"; then + JL=1 +fi +PARALLEL="-j$J -l$JL" + +# we don't want some miscompiles in the testsuite, or some fault in +# the compiler to kill the machine. Hence we limit the amount of memory +# by the physical RAM plus half of swap +#MEM=$(free -m | awk '/^Mem:/ {print $2}') +#SWAP=$(free -m | awk '/^Swap:/ {print $2}') +#ulimit -v $(((MEM + SWAP/2)*1024)) + +# In general we want to ship release checking enabled compilers +# and run BETA with checking enabled. +#ENABLE_CHECKING="--enable-checking=yes" +ENABLE_CHECKING="--enable-checking=release" + +# Work around tail/head -1 changes +export _POSIX2_VERSION=199209 + +# configure tries to parse include/features.h to detect +# if glibc supports SSP. When cross compiling we would need +# to install a cross glibc, which we don't, or make the whole +# thing point to the native glibc, which is in /, hence the +# --with-sysroot=/ + +%if %{build_ada} +# Using the host gnatmake like +# CC="gcc%{hostsuffix}" GNATBIND="gnatbind%{hostsuffix}" +# GNATMAKE="gnatmake%{hostsuffix}" +# doesn't work due to PR33857, so an un-suffixed gnatmake has to be +# available +mkdir -p host-tools/bin +cp -a /usr/bin/gnatmake%{hostsuffix} host-tools/bin/gnatmake +cp -a /usr/bin/gnatlink%{hostsuffix} host-tools/bin/gnatlink +cp -a /usr/bin/gnatbind%{hostsuffix} host-tools/bin/gnatbind +cp -a /usr/bin/gcc%{hostsuffix} host-tools/bin/gcc +ln -sf /usr/%{_lib} host-tools/%{_lib} +export PATH="`pwd`/host-tools/bin:$PATH" +%endif +#%if 0%{?gcc_target_arch:1} && 0%{!?gcc_icecream:1} +#%else +# --enable-threads=posix \ +#%endif +# --enable-shared \ +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \ +TCFLAGS="$RPM_OPT_FLAGS" GCJFLAGS="$RPM_OPT_FLAGS" \ +../configure \ + --prefix=%{_prefix} \ + --infodir=%{_infodir} \ + --mandir=%{_mandir} \ + --libdir=%{_libdir} \ + --libexecdir=%{_libdir} \ + --enable-languages=$languages \ + $ENABLE_CHECKING \ + --with-gxx-include-dir=%{_prefix}/include/c++/%{gcc_dir_version} \ + --enable-ssp \ + --disable-libssp \ + --disable-libitm \ +%if 0%{?fast_build} + --disable-bootstrap \ +%endif + --disable-plugin \ + --with-bugurl="http://bugs.tizen.org/" \ + --with-pkgversion="Tizen Linux" \ +%if !%{build_libjava} + --disable-libgcj \ +%else + --with-java-home=%{_libdir}/jvm/java-1.5.0-gcj%{binsuffix}-1.5.0.0/jre \ + --with-ecj-jar=%{libsubdir}/ecj.jar \ + --disable-java-awt \ +%if !%{biarch_libjava} + --disable-libjava-multilib \ +%endif +%endif +%if !%{build_with_mudflap} + --disable-libmudflap \ +%endif + --with-slibdir=/%{_lib} \ + --with-system-zlib \ + --enable-__cxa_atexit \ + --enable-libstdcxx-allocator=new \ + --disable-libstdcxx-pch \ + --enable-version-specific-runtime-libs \ + --enable-linker-build-id \ +%if 0%{?gcc_target_arch:1} +%if 0%{?gcc_icecream:1} + --with-build-sysroot=/ \ + --with-sysroot=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi} \ + --with-gxx-include-dir=%{_prefix}/%{gcc_target_arch}%{?canonical_target_abi:%canonical_target_abi}/usr/include/c++/%{gcc_dir_version} \ + --enable-linux-futex \ +%endif +%if 0%{?canonical_target:1} + --with-build-time-tools=/usr/%{canonical_target}-tizen-linux%{?canonical_target_abi:%canonical_target_abi}/bin \ +%endif +%if 0%{?build_static:1} + --disable-shared \ +%endif +%if "%{TARGET_ARCH}" == "spu" + --with-sysroot=/usr/spu \ + --with-gxx-include-dir=%{_prefix}/spu/include/c++/%{gcc_dir_version} \ + --with-newlib \ +%endif + --disable-nls \ + --target=%{CONFIGURE_TARGET} \ +%else + --program-suffix=%{binsuffix} \ + --enable-linux-futex \ + --without-system-libunwind \ +%endif +%if "%{TARGET_ARCH}" == "armv5tel" + --with-arch=armv5te \ + --with-float=soft \ + --with-mode=arm \ + --with-abi=aapcs-linux \ + --disable-sjlj-exceptions \ +%endif +%if "%{TARGET_ARCH}" == "armv7el" + --with-arch=armv7-a \ + --with-tune=cortex-a9 \ + --with-float=soft \ + --with-abi=softfp \ + --with-fpu=vfpv3 \ + --disable-sjlj-exceptions \ +%endif +%if "%{TARGET_ARCH}" == "armv7l" || "%{TARGET_ARCH}" == "armv7hl" + --with-arch=armv7-a \ + --with-tune=cortex-a9 \ + --with-float=hard \ + --with-abi=aapcs-linux \ + --with-fpu=vfpv3-d16 \ + --disable-sjlj-exceptions \ +%endif +%if "%{TARGET_ARCH}" == "i586" + --with-arch-32=i586 \ + --with-tune=generic \ +%endif +%if "%{TARGET_ARCH}" == "x86_64" + --with-arch-32=i586 \ + --with-tune=generic \ +%endif + --build=%{GCCDIST} + +# COMMON-END + +%if 0%{?building_libffi:1} +make stage1-bubble $PARALLEL +make all-target-libffi $PARALLEL +%else +# Only run profiled bootstrap on archs where it works +#%ifarch %ix86 x86_64 +#make profiledbootstrap-lean STAGE1_CFLAGS="-O -g" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL +#%else +%ifarch %arm +STAGE1_FLAGS="-O0" +%else +STAGE1_FLAGS="-O -g" +%endif +#make bootstrap-lean STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL +make STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" $PARALLEL +#%endif +#make -C gcc proto +make info +%if 0%{?run_tests:1} +echo "Run testsuite" +(make -C %{GCCDIST}/libstdc++-v3 check-abi || true) +mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.log %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.log +mv %{GCCDIST}/libstdc++-v3/testsuite/libstdc++.sum %{GCCDIST}/libstdc++-v3/testsuite/libstdc++-abi.sum +make -k check $PARALLEL || true +mkdir ../testresults +../contrib/test_summary | tee ../testresults/test_summary.txt +%endif +%endif + +%install +export NO_BRP_CHECK_BYTECODE_VERSION=true +cd obj-%{GCCDIST} +# GCC-TESTSUITE-DELETE-BEGIN +# Work around tail/head -1 changes +export _POSIX2_VERSION=199209 +export LIBRARY_PATH=$RPM_BUILD_ROOT%{libsubdir}:$RPM_BUILD_ROOT%{mainlibdirbi} +%if 0%{?building_libffi:1} +make -C %{GCCDIST}/libffi install DESTDIR=$RPM_BUILD_ROOT +%else +%if 0%{?building_libjava:1} +make -C %{GCCDIST}/libjava install DESTDIR=$RPM_BUILD_ROOT +make -C gcc java.install-man DESTDIR=$RPM_BUILD_ROOT +make -C gcc java.install-common DESTDIR=$RPM_BUILD_ROOT +make -C gcc install-common DESTDIR=$RPM_BUILD_ROOT COMPILERS='jc1$(exeext) jvgenmain$(exeext)' +# install-common also installs collect2, gcov and the g++ and gfortran driver +%if %{build_cp} +rm $RPM_BUILD_ROOT%{_prefix}/bin/g++%{binsuffix} +%endif +%if %{build_fortran} +rm $RPM_BUILD_ROOT%{_prefix}/bin/gfortran%{binsuffix} +%endif +rm $RPM_BUILD_ROOT%{_prefix}/bin/gcov%{binsuffix} +rm $RPM_BUILD_ROOT%{libsubdir}/collect2 +%else +make install DESTDIR=$RPM_BUILD_ROOT +%if %{build_java} +make -C gcc java.uninstall DESTDIR=$RPM_BUILD_ROOT +make -C gcc java.install-info DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_prefix}/bin/jcf-dump%{binsuffix} +rm $RPM_BUILD_ROOT%{_mandir}/man1/jcf-dump%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{libsubdir}/jc1 +rm $RPM_BUILD_ROOT%{libsubdir}/jvgenmain +%endif +%endif +%endif + +# Remove libffi installed files if we did not want to build it +%if !0%{?building_libffi:1} +rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.* +%if %{biarch} + rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.* +%endif +rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h +rm -f $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h +rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi%{binsuffix}.3* +rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_call%{binsuffix}.3* +rm -f $RPM_BUILD_ROOT%{_mandir}/man3/ffi_prep_cif%{binsuffix}.3* +%endif + +# Remove some useless .la files +for lib in libobjc libgfortran libgfortranbegin libquadmath libcaf_single \ + libmudflap libmudflapth libgomp libstdc++ libsupc++ libgcj-tools libgij; do + rm -f $RPM_BUILD_ROOT%{versmainlibdir}/$lib.la +%if %{biarch} + rm -f $RPM_BUILD_ROOT%{versmainlibdirbi}/$lib.la +%endif +done + +mkdir -p $RPM_BUILD_ROOT%{_libdir} +%if %{biarch} +%if %{build_primary_64bit} +mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib +%else +mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib64 +%endif +%endif + +# LIBFFI-DELETE-BEGIN +# LIBJAVA-DELETE-BEGIN +%if %{build_cp} +# Merge multilib c++config.h to allow omitting the duplicate and +# identical other arch specific headers +dir_ml= +cxxconfig="`find %{GCCDIST}/libstdc++-v3/include -name c++config.h`" +for i in `find %{GCCDIST}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/null`; do + if ! diff -up $cxxconfig $i; then + file_32=x + file_64=x + case $i in + %{GCCDIST}/32/*) + file_32=$i + file_64=$cxxconfig + dir_ml=32 + ;; + %{GCCDIST}/64/*) + file_32=$cxxconfig + file_64=$i + dir_ml=64 + ;; + esac + if ! ( test -f "$file_32" && test -f "$file_64" ); then + echo "Urgs?" + exit 1 + fi + + cat > $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/bits/c++config.h < +#if __WORDSIZE == 32 +`cat $file_32` +#else +`cat $file_64` +#endif +#endif +EOF + break + fi +done +rm -rf $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/[36]* +if ! test -z "$dir_ml"; then + ln -s . $RPM_BUILD_ROOT%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/$dir_ml +fi +%endif +# LIBJAVA-DELETE-END + +%if 0%{!?build_optional_compiler:1} +# move shared libs from versionspecific dir to main libdir +for libname in \ +%if 0%{?building_libjava:1} + libgcj libgij libgcj-tools \ +%else +%if %{build_fortran} + libgfortran \ +%ifarch %quadmath_arch + libquadmath \ +%endif +%endif +%if %{build_objc} + libobjc \ +%endif +%if %{build_cp} + libstdc++ \ +%endif + libgomp \ +%if %{build_with_mudflap} + libmudflap libmudflapth \ +%endif +%endif + ; do + for lib in `find $RPM_BUILD_ROOT%{versmainlibdir} -maxdepth 1 -name $libname.so.*`; do + mv $lib $RPM_BUILD_ROOT%{mainlibdir}/ + done + ln -sf %{mainlibdir}/`readlink $RPM_BUILD_ROOT%{versmainlibdir}/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \ + $RPM_BUILD_ROOT%{versmainlibdir}/$libname.so +%if %{biarch} + if test -d $RPM_BUILD_ROOT%{versmainlibdirbi}; then + for lib in `find $RPM_BUILD_ROOT%{versmainlibdirbi} -maxdepth 1 -name "$libname.so.*"`; do + mv $lib $RPM_BUILD_ROOT%{mainlibdirbi}/ + done + ln -sf %{mainlibdirbi}/`readlink $RPM_BUILD_ROOT%{versmainlibdirbi}/$libname.so | sed -e 's/\(.*\.so\.[^\.]*\).*/\1/'` \ + $RPM_BUILD_ROOT%{versmainlibdirbi}/$libname.so + fi +%endif +done +%if %{build_cp} +%if !0%{?building_libjava:1} +# And we want to move the shlib gdb pretty printers to a more sane +# place so ldconfig does not complain +mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir} +mv $RPM_BUILD_ROOT%{mainlibdir}/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}/ +sed -i -e '/^libdir/s/\/gcc\/%{GCCDIST}\/%{gcc_dir_version}//g' $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdir}/libstdc++.so.*-gdb.py +%if %{biarch} + if test -d $RPM_BUILD_ROOT%{versmainlibdirbi}; then + mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi} + mv $RPM_BUILD_ROOT%{mainlibdirbi}/libstdc++.so.*-gdb.py $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}/ + sed -i -e '/^libdir/s/\/gcc\/%{GCCDIST}\/%{gcc_dir_version}//g' $RPM_BUILD_ROOT%{_datadir}/gdb/auto-load%{mainlibdirbi}/libstdc++.so.*-gdb.py + fi +%endif +%endif +%endif +%if 0%{?building_libjava:1} +# libgcj_bc is special as the .so file is actually a different +# library as the library refered to by the SONAME which should +# be a simple link to our libgcj. +for lib in `find $RPM_BUILD_ROOT%{versmainlibdir} -maxdepth 1 -name libgcj_bc.so.*`; do + rm $lib +done +ln -s libgcj.so.%{gcj_sover} $RPM_BUILD_ROOT%{mainlibdir}/libgcj_bc.so.1 +%if %{biarch_libjava} +for lib in `find $RPM_BUILD_ROOT%{versmainlibdirbi} -maxdepth 1 -name libgcj_bc.so.*`; do + rm $lib +done +ln -s libgcj.so.%{gcj_sover} $RPM_BUILD_ROOT%{mainlibdirbi}/libgcj_bc.so.1 +%endif +%endif +%endif + +# LIBJAVA-DELETE-BEGIN +%if 0%{!?build_optional_compiler:1} +# Move libgcc_s around +if test -L $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so + ln -sf /%{_lib}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so +else + mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdir}/ +fi +chmod a+x $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.%{libgcc_s} +%if %{biarch} +%if %{build_primary_64bit} +if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so + ln -sf /lib/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so +else + mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/ +fi +ln -sf %{versmainlibdirbi32}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s_32.so +chmod a+x $RPM_BUILD_ROOT/lib/libgcc_s.so.%{libgcc_s} +%else +# 32-bit biarch systems +if test -L $RPM_BUILD_ROOT/lib64/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/lib64/libgcc_s.so + ln -sf /lib64/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so +else + mv $RPM_BUILD_ROOT/lib64/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/ +fi +ln -sf %{versmainlibdirbi64}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s_64.so +chmod a+x $RPM_BUILD_ROOT/lib64/libgcc_s.so.%{libgcc_s} +%endif +%endif +%else +# Move libgcc_s around +mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/ +if test -L $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so + ln -sf %{versmainlibdir}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so +else + mv $RPM_BUILD_ROOT/%{_lib}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdir}/ +fi +chmod a+x $RPM_BUILD_ROOT%{versmainlibdir}/libgcc_s.so.%{libgcc_s} +%if %{biarch} +%if %{build_primary_64bit} +mv $RPM_BUILD_ROOT/lib/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/ +if test -L $RPM_BUILD_ROOT/lib/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/lib/libgcc_s.so + ln -sf %{versmainlibdirbi32}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so +else + mv $RPM_BUILD_ROOT/lib/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/ +fi +ln -sf %{versmainlibdirbi32}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s_32.so +chmod a+x $RPM_BUILD_ROOT%{versmainlibdirbi32}/libgcc_s.so.%{libgcc_s} +%else +# 32-bit biarch systems +mv $RPM_BUILD_ROOT/lib64/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/ +if test -L $RPM_BUILD_ROOT/lib64/libgcc_s.so; then + rm -f $RPM_BUILD_ROOT/lib64/libgcc_s.so + ln -sf %{versmainlibdirbi64}/libgcc_s.so.%{libgcc_s} $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so +else + mv $RPM_BUILD_ROOT/lib64/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/ +fi +ln -sf %{versmainlibdirbi64}/libgcc_s.so $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s_64.so +chmod a+x $RPM_BUILD_ROOT%{versmainlibdirbi64}/libgcc_s.so.%{libgcc_s} +%endif +%endif +%endif + +# Provide a defaults.spec file which adds a proper rpath +%if 0%{?build_optional_compiler:1} +cat > $RPM_BUILD_ROOT%{libsubdir}/defaults.spec << EOF +*link: ++ %%{!m32:%%{!m64:-rpath=%{libsubdir}}} %%{m32:-rpath=%{libsubdir}/32} %%{m64:-rpath=%{libsubdir}/64} +EOF +%endif +# LIBJAVA-DELETE-END +# LIBFFI-DELETE-END + +%if %{build_ada} +mv $RPM_BUILD_ROOT%{libsubdir}/adalib/lib*-*.so $RPM_BUILD_ROOT%{_libdir} +ln -sf %{_libdir}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnarl.so +ln -sf %{_libdir}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{libsubdir}/adalib/libgnat.so +chmod a+x $RPM_BUILD_ROOT%{_libdir}/libgna*-*.so +%if %{biarch} +mv $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/lib*-*.so $RPM_BUILD_ROOT%{mainlibdirbi}/ +ln -sf %{mainlibdirbi}/libgnarl%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so +ln -sf %{mainlibdirbi}/libgnat%{binsuffix}.so $RPM_BUILD_ROOT%{versmainlibdirbi}/adalib/libgnarl.so +chmod a+x $RPM_BUILD_ROOT%{mainlibdirbi}/libgna*-*.so +%endif +%endif + +rm -f $RPM_BUILD_ROOT%{_prefix}/bin/c++%{binsuffix} + +# Remove some crap from the .la files: +for l in `find $RPM_BUILD_ROOT -name '*.la'`; do + echo "changing $l" +# -e '/^dependency_libs/s|%{libsubdir}/\([^.]*\)\.la |%{_libdir}/\1\.la |g' + sed -e '/^dependency_libs/s| -L%{_builddir}/[^ ]*||g' \ + -e '/^dependency_libs/s| -L/usr/%{GCCDIST}/bin||g' \ + -e '/^dependency_libs/s|-lm \(-lm \)*|-lm |' \ + -e '/^dependency_libs/s|-L[^ ]* ||g' \ +%if %{biarch} +%if %{build_primary_64bit} + -e '/^libdir/s|%{_libdir}/32|%{_prefix}/lib|' \ + -e '/^libdir/s|lib64/\.\./||' \ +%else + -e '/^libdir/s|%{_libdir}/64|%{_prefix}/lib64|' \ +%endif +%endif + < $l > $l.new + mv $l.new $l +done + +# GCC-TESTSUITE-DELETE-END +%if 0%{?run_tests:1} +cp `find . -name "*.sum"` ../testresults/ +cp `find . -name "*.log" \! -name "config.log" | grep -v 'acats.\?/tests' ` ../testresults/ +chmod 644 ../testresults/* +%endif +# GCC-TESTSUITE-DELETE-BEGIN +# LIBFFI-DELETE-BEGIN +%if %{build_cp} +# Find C++ and Java headers +find $RPM_BUILD_ROOT%{_prefix}/include/c++ \ + -regex ".*/\(org\|gcj\|gnu\|java\|javax\)" -prune \ + -o \( -type d -printf "%%%%dir " , \ + -printf "%{_prefix}/include/c++/%%P\n" \) > ../c++-headers +%endif +# LIBFFI-DELETE-END +# Remove files that we do not need to clean up filelist +rm -f $RPM_BUILD_ROOT%{_prefix}/bin/%{GCCDIST}-* +rm -rf $RPM_BUILD_ROOT%{libsubdir}/install-tools +#rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libgcj%{binsuffix}.pc +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/root +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/curses.h +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-* +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/linux +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sound +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/features.h +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/ncurses.h +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/stdio.h +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/zutil.h +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/X11 +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/obstack.h +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/spe.h +rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/tgmath.h +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits +rm -rf $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys +# no plugins +rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin +rm -f $RPM_BUILD_ROOT%{_infodir}/dir +rm -f $RPM_BUILD_ROOT%{_prefix}/bin/gccbug%{binsuffix} + +%if !0%{?building_libjava:1}%{?building_libffi:1} +# delete compile flag tracking from crt files +crt_list=$RPM_BUILD_ROOT%{versmainlibdir}/crt*.o +%if %{biarch} +%if %{build_primary_64bit} +crt32_list=$RPM_BUILD_ROOT%{versmainlibdirbi32}/crt*.o +%else +crt64_list=$RPM_BUILD_ROOT%{versmainlibdirbi64}/crt*.o +%endif +%endif +%endif + +%if 0%{?building_libjava:1} +# gcj -static doesn't work properly anyway, unless using --whole-archive +# let's save the space instead. +find $RPM_BUILD_ROOT -name libgcj.a \ + -o -name libgcj-tools.a \ + -o -name libgij.a \ + -o -name libjvm.a \ + -o -name libgcj_bc.a \ + | xargs rm -f + +find $RPM_BUILD_ROOT -name libgcj.spec | xargs \ + sed -i -e 's/lib: /&%%{static:%%eJava programs cannot be linked statically}/' + +# security files have broken install locations, also they cause conflicts +# between libgcj versions. Simply delete them here, libgcj will use its +# defaults in this case (which is what these files contain anyway). +rm $RPM_BUILD_ROOT%{_libdir}/logging.properties +rm -r $RPM_BUILD_ROOT%{_libdir}/security +%endif + +%if 0%{?building_libffi:1} +# Move libffi headers, remove empty libffi libtool file +mkdir -p $RPM_BUILD_ROOT%{_prefix}/include +mv $RPM_BUILD_ROOT%{libsubdir}/include/ffitarget.h $RPM_BUILD_ROOT%{_prefix}/include/ +mv $RPM_BUILD_ROOT%{libsubdir}/include/ffi.h $RPM_BUILD_ROOT%{_prefix}/include/ +rm -f $RPM_BUILD_ROOT%{mainlibdir}/libffi.la +%if %{biarch} +rm -f $RPM_BUILD_ROOT%{mainlibdirbi}/libffi.la +%endif +# Generate a simple pkg-config file +mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig +echo -e 'Name: libffi\nVersion: 3.0.9\nDescription: libffi\nLibs: -lffi' > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libffi.pc +%endif + +%if %{build_java} +%if !%{build_libjava} +rm $RPM_BUILD_ROOT%{_mandir}/man1/jv-convert%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{_mandir}/man1/gcj-dbtool%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{_mandir}/man1/gij%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{_mandir}/man1/grmic%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{_mandir}/man1/gc-analyze%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{_mandir}/man1/aot-compile%{binsuffix}.1 +rm $RPM_BUILD_ROOT%{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1 +%endif +rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/aotcompile.py +rm -f $RPM_BUILD_ROOT%{_datadir}/gcc%{binsuffix}/python/libjava/classfile.py +%endif +rm -f $RPM_BUILD_ROOT%{_mandir}/man7/fsf-funding.7 +rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gfdl.7 +rm -f $RPM_BUILD_ROOT%{_mandir}/man7/gpl.7 +rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a +%if %{build_nof} +rm -f $RPM_BUILD_ROOT%{_prefix}/lib/nof/libiberty.a +%endif +%if %{biarch} +%if %{build_primary_64bit} +rm -f $RPM_BUILD_ROOT%{_prefix}/lib/libiberty.a +%else +rm -f $RPM_BUILD_ROOT%{_prefix}/lib64/libiberty.a +%endif +%endif +rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.a +rm -f $RPM_BUILD_ROOT%{libsubdir}/liblto_plugin.la + +# LIBFFI-DELETE-BEGIN +%if 0%{?building_libjava:1} +# For building libjava only we need to delete other info docs +rm $RPM_BUILD_ROOT%{_infodir}/cp-tools.info* +# Remove stale manpages for binaries we do not build +rm $RPM_BUILD_ROOT%{_mandir}/man1/gjdoc%{binsuffix}.1 +# For building the java frontend we need to copy the ecj jar +mkdir -p $RPM_BUILD_ROOT%{libsubdir} +cp $RPM_SOURCE_DIR/ecj.jar $RPM_BUILD_ROOT%{libsubdir} +%else +# For regular build, some info files do not get renamed properly. +# Do so here. +mv $RPM_BUILD_ROOT%{_infodir}/libgomp.info $RPM_BUILD_ROOT%{_infodir}/libgomp%{binsuffix}.info +%if %{build_fortran} +%ifarch %quadmath_arch +mv $RPM_BUILD_ROOT%{_infodir}/libquadmath.info $RPM_BUILD_ROOT%{_infodir}/libquadmath%{binsuffix}.info +%endif +%endif +%if %{build_ada} +mv $RPM_BUILD_ROOT%{_infodir}/gnat-style.info $RPM_BUILD_ROOT%{_infodir}/gnat-style%{binsuffix}.info +mv $RPM_BUILD_ROOT%{_infodir}/gnat_rm.info $RPM_BUILD_ROOT%{_infodir}/gnat_rm%{binsuffix}.info +mv $RPM_BUILD_ROOT%{_infodir}/gnat_ugn.info $RPM_BUILD_ROOT%{_infodir}/gnat_ugn%{binsuffix}.info +%endif +%endif + +# LIBJAVA-DELETE-BEGIN +cd .. +%find_lang gcc47-locale --all-name + +%post info +%install_info --info-dir=%{_infodir} %{_infodir}/cpp%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/cppinternals%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/gcc%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/gccint%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/gccinstall%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/libgomp%{binsuffix}.info.gz +%if %{build_fortran} +%install_info --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz +%ifarch %quadmath_arch +%install_info --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz +%endif +%endif +%if %{build_java} +%install_info --info-dir=%{_infodir} %{_infodir}/gcj%{binsuffix}.info.gz +%endif +%if %{build_ada} +%install_info --info-dir=%{_infodir} %{_infodir}/gnat-style%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/gnat_rm%{binsuffix}.info.gz +%install_info --info-dir=%{_infodir} --section="GNU Ada tools" --entry="* GNAT User's Guide: (gnat_ugn). GNAT User's Guide for Unix Platforms" %{_infodir}/gnat_ugn%{binsuffix}.info.gz +%endif + +%postun info +%install_info_delete --info-dir=%{_infodir} %{_infodir}/cpp%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/cppinternals%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcc%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gccint%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gccinstall%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/libgomp%{binsuffix}.info.gz +%if %{build_fortran} +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz +%ifarch %quadmath_arch +%install_info_delete --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz +%endif +%endif +%if %{build_java} +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcj%{binsuffix}.info.gz +%endif +%if %{build_ada} +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat-style%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_rm%{binsuffix}.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnat_ugn%{binsuffix}.info.gz +%endif + + +%files +%defattr(-,root,root) +%dir %{_libdir}/gcc +%dir %{_libdir}/gcc/%{GCCDIST} +%dir %{libsubdir} +%dir %{libsubdir}/include +%dir %{libsubdir}/include-fixed +%if %{biarch} +%if %{build_primary_64bit} +%dir %{libsubdir}/32 +%else +%dir %{libsubdir}/64 +%endif +%endif +%if %{build_nof} +%dir %{libsubdir}/nof +%endif +%{_prefix}/bin/gcc%{binsuffix} +%{_prefix}/bin/gcov%{binsuffix} +%{_prefix}/bin/gcc-ar%{binsuffix} +%{_prefix}/bin/gcc-nm%{binsuffix} +%{_prefix}/bin/gcc-ranlib%{binsuffix} +%{libsubdir}/collect2 +%{libsubdir}/lto1 +%{libsubdir}/lto-wrapper +%{libsubdir}/liblto_plugin.so* +%{libsubdir}/include-fixed/README +%{libsubdir}/include-fixed/limits.h +%{libsubdir}/include-fixed/syslimits.h +%{libsubdir}/include/omp.h +%{libsubdir}/include/float.h +%{libsubdir}/include/iso646.h +%{libsubdir}/include/stdarg.h +%{libsubdir}/include/stdbool.h +%{libsubdir}/include/stdfix.h +%{libsubdir}/include/stddef.h +%{libsubdir}/include/unwind.h +%{libsubdir}/include/varargs.h +%{libsubdir}/include/stdint.h +%{libsubdir}/include/stdint-gcc.h +%{libsubdir}/include/stdnoreturn.h +%{libsubdir}/include/stdalign.h +%ifarch %arm +%{libsubdir}/include/mmintrin.h +%{libsubdir}/include/arm_neon.h +%{libsubdir}/include/unwind-arm-common.h +%endif +%ifarch %ix86 x86_64 +%{libsubdir}/include/cross-stdarg.h +%{libsubdir}/include/cpuid.h +%{libsubdir}/include/mm3dnow.h +%{libsubdir}/include/mmintrin.h +%{libsubdir}/include/ammintrin.h +%{libsubdir}/include/bmmintrin.h +%{libsubdir}/include/emmintrin.h +%{libsubdir}/include/immintrin.h +%{libsubdir}/include/avxintrin.h +%{libsubdir}/include/pmmintrin.h +%{libsubdir}/include/xmmintrin.h +%{libsubdir}/include/tmmintrin.h +%{libsubdir}/include/nmmintrin.h +%{libsubdir}/include/smmintrin.h +%{libsubdir}/include/wmmintrin.h +%{libsubdir}/include/x86intrin.h +%{libsubdir}/include/ia32intrin.h +%{libsubdir}/include/mm_malloc.h +%{libsubdir}/include/fma4intrin.h +%{libsubdir}/include/xopintrin.h +%{libsubdir}/include/lwpintrin.h +%{libsubdir}/include/popcntintrin.h +%{libsubdir}/include/bmiintrin.h +%{libsubdir}/include/tbmintrin.h +%{libsubdir}/include/avx2intrin.h +%{libsubdir}/include/bmi2intrin.h +%{libsubdir}/include/fmaintrin.h +%{libsubdir}/include/lzcntintrin.h +%{libsubdir}/include/f16cintrin.h +%endif +%if %{build_with_mudflap} +%{libsubdir}/include/mf-runtime.h +%endif +%versmainlib *crt*.o +%versmainlib libgcc*.a +%versmainlib libgcov.a +%versmainlib libgcc_s*.so +%if %{build_with_mudflap} +%versmainlib libmudflap.a +%versmainlib libmudflap.so +%versmainlib libmudflapth.a +%versmainlib libmudflapth.so +%endif +%versmainlib libgomp.so +%versmainlib libgomp.a +%versmainlib libgomp.spec +%doc %{_mandir}/man1/gcc%{binsuffix}.1.gz +%doc %{_mandir}/man1/gcov%{binsuffix}.1.gz +%if 0%{?build_optional_compiler:1} +%{libsubdir}/defaults.spec +%endif + +%if %{separate_biarch} +%files -n gcc47%{separate_biarch_suffix} +%defattr(-,root,root) +%versbiarchlib *crt*.o +%versbiarchlib libgcc*.a +%versbiarchlib libgcov.a +%versbiarchlib libgcc_s*.so +%if %{build_with_mudflap} +%versbiarchlib libmudflap.a +%versbiarchlib libmudflap.so +%versbiarchlib libmudflapth.a +%versbiarchlib libmudflapth.so +%endif +%versbiarchlib libgomp.so +%versbiarchlib libgomp.a +%versbiarchlib libgomp.spec +%endif + +%files locale -f gcc47-locale.lang + +%if %{build_cp} +%files c++ +%defattr(-,root,root) +%dir %{_libdir}/gcc +%dir %{_libdir}/gcc/%{GCCDIST} +%dir %{libsubdir} +%{_prefix}/bin/g++%{binsuffix} +%doc %{_mandir}/man1/g++%{binsuffix}.1.gz +%{libsubdir}/cc1plus + +%files -n libstdc++47 +%defattr(-,root,root) +%if %{build_nof} +%dir %{noflibdir} +%endif +%mainlib libstdc++.so.* + +%if %{separate_biarch} +%files -n libstdc++47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libstdc++.so.* +%endif + +%files -n libstdc++47-devel -f c++-headers +%defattr(-,root,root) +%versmainlib libstdc++.a +%versmainlib libstdc++.so +%versmainlib libsupc++.a +%dir %{_datadir}/gdb +%dir %{_datadir}/gdb/auto-load +%dir %{_datadir}/gdb/auto-load%{_prefix} +%dir %{_datadir}/gdb/auto-load/%{mainlibdir} +%{_datadir}/gdb/auto-load/%{mainlibdir}/libstdc++.so.*-gdb.py +%{_datadir}/gcc%{binsuffix} + +%if %{separate_biarch} +%files -n libstdc++47-devel%{separate_biarch_suffix} +%defattr(-,root,root) +%versbiarchlib libstdc++.a +%versbiarchlib libstdc++.so +%versbiarchlib libsupc++.a +%dir %{_datadir}/gdb/auto-load/%{mainlibdirbi} +%{_datadir}/gdb/auto-load/%{mainlibdirbi}/libstdc++.so.*-gdb.py +%endif + +%files -n libstdc++47-doc +%defattr(-,root,root) +%doc libstdc++-v3/doc/html +%endif + +%files -n libgcc47 +%defattr(-,root,root) +%if 0%{!?build_optional_compiler:1} +/%{_lib}/libgcc_s.so.%{libgcc_s} +%if %{build_nof} +%dir /lib/nof +/lib/nof/libgcc_s.so.%{libgcc_s} +%endif +%if %{biarch} +%if %{build_primary_64bit} +%if !%{separate_bi32} +/lib/libgcc_s.so.%{libgcc_s} +%endif +%else +%if !%{separate_bi64} +/lib64/libgcc_s.so.%{libgcc_s} +%endif +%endif +%endif +%else +%versmainlib libgcc_s.so.%{libgcc_s} +%endif + +%if %{separate_bi64} +%files -n libgcc47-64bit +%defattr(-,root,root) +%if 0%{!?build_optional_compiler:1} +/lib64/libgcc_s.so.%{libgcc_s} +%else +%versbiarchlib libgcc_s.so.%{libgcc_s} +%endif +%endif + +%if %{separate_bi32} +%files -n libgcc47-32bit +%defattr(-,root,root) +%if 0%{!?build_optional_compiler:1} +/lib/libgcc_s.so.%{libgcc_s} +%else +%versbiarchlib libgcc_s.so.%{libgcc_s} +%endif +%endif + + +%files -n libgomp47 +%defattr(-,root,root) +%mainlib libgomp.so.1* + +%if %{separate_biarch} +%files -n libgomp47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libgomp.so.1* +%endif + + +%if %{build_fortran} +%files fortran +%defattr(-,root,root) +%dir %{libsubdir}/finclude +%{_prefix}/bin/gfortran%{binsuffix} +%{libsubdir}/f951 +%{libsubdir}/finclude/* +%versmainlib libgfortran.a +%versmainlib libgfortran.so +%versmainlib libgfortran.spec +%versmainlib libgfortranbegin.a +%versmainlib libcaf_single.a +%ifarch %quadmath_arch +%{libsubdir}/include/quadmath.h +%{libsubdir}/include/quadmath_weak.h +%versmainlib libquadmath.a +%versmainlib libquadmath.so +%endif +%doc %{_mandir}/man1/gfortran%{binsuffix}.1.gz + +%if %{separate_biarch} +%files fortran%{separate_biarch_suffix} +%defattr(-,root,root) +%versbiarchlib libgfortran.a +%versbiarchlib libgfortran.so +%versbiarchlib libgfortran.spec +%versbiarchlib libgfortranbegin.a +%versbiarchlib libcaf_single.a +%ifarch %quadmath_arch +%versbiarchlib libquadmath.a +%versbiarchlib libquadmath.so +%endif +%endif + +%files -n libgfortran47 +%defattr(-,root,root) +%mainlib libgfortran.so.* + +%if %{separate_biarch} +%files -n libgfortran47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libgfortran.so.* +%endif + +%ifarch %quadmath_arch +%files -n libquadmath47 +%defattr(-,root,root) +%mainlib libquadmath.so.* + +%if %{separate_biarch} +%files -n libquadmath47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libquadmath.so.* +%endif +%endif +%endif + +%if %{build_with_mudflap} +%files -n libmudflap47 +%defattr(-,root,root) +%mainlib libmudflap.so.0* +%mainlib libmudflapth.so.0* + +%if %{separate_biarch} +%files -n libmudflap47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libmudflap.so.0* +%biarchlib libmudflapth.so.0* +%endif +%endif + +%files info +%defattr(-,root,root) +%doc %{_infodir}/*.gz + +%files -n cpp47 +%defattr(-,root,root) +%dir %{_libdir}/gcc +%dir %{_libdir}/gcc/%{GCCDIST} +%dir %{libsubdir} +%{_prefix}/bin/cpp%{binsuffix} +%{libsubdir}/cc1 +#%{libsubdir}/specs +%doc %{_mandir}/man1/cpp%{binsuffix}.1.gz + +%if %{build_objc} +%files objc +%defattr(-,root,root) +%{libsubdir}/cc1obj +%{libsubdir}/include/objc +%versmainlib libobjc.a +%versmainlib libobjc.so + +%if %{separate_biarch} +%files objc%{separate_biarch_suffix} +%defattr(-,root,root) +%versbiarchlib libobjc.a +%versbiarchlib libobjc.so +%endif + +%files -n libobjc47 +%defattr(-,root,root) +%mainlib libobjc.so.* + +%if %{separate_biarch} +%files -n libobjc47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libobjc.so.* +%endif +%endif + + +%if %{build_objcp} +%files obj-c++ +%defattr(-,root,root) +%{libsubdir}/cc1objplus +%endif + + +%if %{build_ada} +%files ada +%defattr(-,root,root) +%dir %{_libdir}/gcc +%dir %{_libdir}/gcc/%{GCCDIST} +%dir %{libsubdir} +%{_prefix}/bin/gnat* +%dir %{versmainlibdir}/adainclude +%dir %{versmainlibdir}/adalib +%{versmainlibdir}/adainclude +%{versmainlibdir}/adalib/*.ali +%{versmainlibdir}/adalib/*.a +%{versmainlibdir}/adalib/libgnarl.so +%{versmainlibdir}/adalib/libgnat.so +%{versmainlibdir}/gnat1 + +%if %{separate_biarch} +%files ada%{separate_biarch_suffix} +%defattr(-,root,root) +%dir %{versmainlibdirbi}/adainclude +%dir %{versmainlibdirbi}/adalib +%{versmainlibdirbi}/adainclude +%{versmainlibdirbi}/adalib/*.ali +%{versmainlibdirbi}/adalib/*.a +%{versmainlibdirbi}/adalib/libgnarl.so +%{versmainlibdirbi}/adalib/libgnat.so +%endif + +%files -n libada47 +%defattr(-,root,root) +%mainlib libgnarl-*.so +%mainlib libgnat-*.so + +%if %{separate_biarch} +%files -n libada47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libgnarl-*.so +%biarchlib libgnat-*.so +%endif +%endif +# LIBJAVA-DELETE-END + + +%if %{build_java} +%if 0%{?building_libjava:1} +%files -n gcc47-java +%defattr(-,root,root) +%{_prefix}/bin/gcj%{binsuffix} +%{_prefix}/bin/gcjh%{binsuffix} +%{_prefix}/bin/gcj-dbtool%{binsuffix} +%{_prefix}/bin/jcf-dump%{binsuffix} +%{_prefix}/bin/jv-convert%{binsuffix} +%{_prefix}/bin/gc-analyze%{binsuffix} +%{_prefix}/bin/aot-compile%{binsuffix} +%{_prefix}/bin/rebuild-gcj-db%{binsuffix} +%{libsubdir}/jc1 +%{libsubdir}/jvgenmain +%{libsubdir}/ecj.jar +%{libsubdir}/ecj1 +%doc %{_mandir}/man1/gcj%{binsuffix}.1.gz +%doc %{_mandir}/man1/gcjh%{binsuffix}.1.gz +%doc %{_mandir}/man1/gcj-dbtool%{binsuffix}.1.gz +%doc %{_mandir}/man1/jcf-dump%{binsuffix}.1.gz +%doc %{_mandir}/man1/jv-convert%{binsuffix}.1.gz +%doc %{_mandir}/man1/gc-analyze%{binsuffix}.1.gz +%doc %{_mandir}/man1/aot-compile%{binsuffix}.1.gz +%doc %{_mandir}/man1/rebuild-gcj-db%{binsuffix}.1.gz +%endif +%endif + +%if %{build_java} +%if %{build_libjava} +%files -n libgcj47 +%defattr(-,root,root) +%dir %{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover} +%dir %{_libdir}/gcc +%dir %{_libdir}/gcc/%{GCCDIST} +%dir %{libsubdir} +%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/classmap.db +# We usually do not multilib libjava +%if %{biarch_libjava} +%versbiarchlib libgcj.la +%biarchlib libgcj.so.* +%biarchlib libgij.so.* +%biarchlib libgcj-tools.so.* +%else +%versmainlib libgcj.la +%mainlib libgcj.so.* +%mainlib libgij.so.* +%mainlib libgcj-tools.so.* +%endif +%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjvm.la +%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjvm.so +%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjavamath.la +%{_libdir}/gcj-%{gcc_dir_version}-%{gcj_sover}/libjavamath.so + +%files -n libgcj_bc47 +%defattr(-,root,root) +%if %{biarch_libjava} +%biarchlib libgcj_bc.so.* +%else +%mainlib libgcj_bc.so.* +%endif + +%files -n libgcj47-jar +%defattr(-,root,root) +%{_prefix}/share/java/libgcj-%{gcc_dir_version}.jar +%{_prefix}/share/java/libgcj-tools-%{gcc_dir_version}.jar + +%files -n libgcj47-devel +%defattr(-,root,root) +%dir %{_prefix}/include/c++ +%dir %{libsubdir} +%dir %{libsubdir}/include +%dir %{gxxinclude} +%{_libdir}/pkgconfig/libgcj%{binsuffix}.pc +%{libsubdir}/include/jawt.h +%{libsubdir}/include/jawt_md.h +%{libsubdir}/include/jni.h +%{libsubdir}/include/jni_md.h +%{libsubdir}/include/jvmpi.h +%{gxxinclude}/gnu +%{gxxinclude}/gcj +%{gxxinclude}/java +%{gxxinclude}/javax +%{gxxinclude}/org +%{gxxinclude}/sun +%{libsubdir}/include/gcj +%if %{biarch_libjava} +%versbiarchlib libgcj.so +%versbiarchlib libgcj.spec +%versbiarchlib libgcj-tools.so +%versbiarchlib libgij.so +%versbiarchlib libgcj_bc.so +%else +%versmainlib libgcj.so +%versmainlib libgcj.spec +%versmainlib libgcj-tools.so +%versmainlib libgij.so +%versmainlib libgcj_bc.so +%endif + +%files -n gcc47-gij +%defattr(-,root,root) +%{_prefix}/bin/gij%{binsuffix} +%{_prefix}/bin/gappletviewer%{binsuffix} +%{_prefix}/bin/gjar%{binsuffix} +%{_prefix}/bin/gjarsigner%{binsuffix} +%{_prefix}/bin/gjavah%{binsuffix} +%{_prefix}/bin/gkeytool%{binsuffix} +%{_prefix}/bin/gnative2ascii%{binsuffix} +%{_prefix}/bin/gorbd%{binsuffix} +%{_prefix}/bin/grmic%{binsuffix} +%{_prefix}/bin/grmid%{binsuffix} +%{_prefix}/bin/grmiregistry%{binsuffix} +%{_prefix}/bin/gserialver%{binsuffix} +%{_prefix}/bin/gtnameserv%{binsuffix} +%doc %{_mandir}/man1/gij%{binsuffix}.1.gz +%doc %{_mandir}/man1/gappletviewer%{binsuffix}.1.gz +%doc %{_mandir}/man1/grmic%{binsuffix}.1.gz +%doc %{_mandir}/man1/grmid%{binsuffix}.1.gz +%doc %{_mandir}/man1/grmiregistry%{binsuffix}.1.gz +%doc %{_mandir}/man1/gkeytool%{binsuffix}.1.gz +%doc %{_mandir}/man1/gjar%{binsuffix}.1.gz +%doc %{_mandir}/man1/gjarsigner%{binsuffix}.1.gz +%doc %{_mandir}/man1/gjavah%{binsuffix}.1.gz +%doc %{_mandir}/man1/gnative2ascii%{binsuffix}.1.gz +%doc %{_mandir}/man1/gorbd%{binsuffix}.1.gz +%doc %{_mandir}/man1/gserialver%{binsuffix}.1.gz +%doc %{_mandir}/man1/gtnameserv%{binsuffix}.1.gz +%endif +%endif +# LIBFFI-DELETE-END + +%if %{build_java} +%if 0%{?building_libffi:1} +%files -n libffi47 +%defattr(-,root,root) +%mainlib libffi.so.* + +%if %{separate_biarch} +%files -n libffi47%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libffi.so.* +%endif + +%files -n libffi47-devel +%defattr(-,root,root) +%{_prefix}/include/ffi.h +%{_prefix}/include/ffitarget.h +%mainlib libffi.so +%mainlib libffi.a +%{_libdir}/pkgconfig/libffi.pc +%doc %{_mandir}/man3/ffi%{binsuffix}.3.gz +%doc %{_mandir}/man3/ffi_call%{binsuffix}.3.gz +%doc %{_mandir}/man3/ffi_prep_cif%{binsuffix}.3.gz + +%if %{separate_biarch} +%files -n libffi47-devel%{separate_biarch_suffix} +%defattr(-,root,root) +%biarchlib libffi.so +%biarchlib libffi.a +%endif +%endif +%endif +# GCC-TESTSUITE-DELETE-END + +%if 0%{?run_tests:1} +%files -n gcc47-testresults +%defattr(-,root,root) +%doc testresults/test_summary.txt +%doc testresults/*.sum +%doc testresults/*.log +%endif + + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gdbm.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gdbm.spec new file mode 100644 index 0000000..5fa2740 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gdbm.spec @@ -0,0 +1,112 @@ +%define keepstatic 1 + +Name: gdbm +%define lname libgdbm +Url: http://directory.fsf.org/GNU/gdbm.html +Version: 1.10 +Release: 0 +License: GPL-2.0+ +Summary: GNU dbm key/data database +Group: System/Libraries +Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz +Source2: baselibs.conf +BuildRequires: libtool + +%description +GNU dbm is a library of database functions that use extensible +hashing and work similar to the standard UNIX dbm. These routines are +provided to a programmer needing to create and manipulate a hashed +database. + +The basic use of GDBM is to store key/data pairs in a data file. Each +key must be unique and each key is paired with only one data item. + +The library provides primitives for storing key/data pairs, searching +and retrieving the data by its key and deleting a key along with its +data. It also supports sequential iteration over all key/data pairs in +a database. + +For compatibility with programs using old UNIX dbm functions, the +package also provides traditional dbm and ndbm interfaces. + +%package -n %lname +License: GPL-2.0+ +Summary: GNU dbm key/data database +Group: System/Libraries +Obsoletes: gdbm < %{version}-%{release} +Provides: gdbm = %{version}-%{release} + +%description -n %lname +GNU dbm is a library of database functions that use extensible +hashing and work similar to the standard UNIX dbm. These routines are +provided to a programmer needing to create and manipulate a hashed +database. + +The basic use of GDBM is to store key/data pairs in a data file. Each +key must be unique and each key is paired with only one data item. + +The library provides primitives for storing key/data pairs, searching +and retrieving the data by its key and deleting a key along with its +data. It also supports sequential iteration over all key/data pairs in +a database. + +For compatibility with programs using old UNIX dbm functions, the +package also provides traditional dbm and ndbm interfaces. + +%package devel +License: GPL-2.0+ ; LGPL-2.1+ +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: gdbm = %{version} +Provides: gdbm:/usr/lib/libgdbm.so + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%prep +%setup -q + +%build +export CFLAGS="%{optflags} -Wa,--noexecstack" +%configure --enable-libgdbm-compat --disable-nls +make %{?_smp_mflags}; + +%install +%make_install +echo "/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +GROUP ( %{_libdir}/libgdbm.so %{_libdir}/libgdbm_compat.so )" > %{buildroot}/%{_libdir}/libndbm.so +echo "/* GNU ld script + Use the shared library, but some functions are only in + the static library, so try that secondarily. */ +GROUP ( %{_libdir}/libgdbm.a %{_libdir}/libgdbm_compat.a )" > %{buildroot}/%{_libdir}/libndbm.a + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%doc COPYING +%{_libdir}/libgdbm.so.4 +%{_libdir}/libgdbm.so.4.0.0 +%{_libdir}/libgdbm_compat.so.4 +%{_libdir}/libgdbm_compat.so.4.0.0 + +%files devel +%defattr(-,root,root) +%{_bindir}/testgdbm +%{_includedir}/dbm.h +%{_includedir}/gdbm.h +%{_includedir}/ndbm.h +%{_infodir}/gdbm.info.gz +%{_libdir}/libgdbm.a +%{_libdir}/libgdbm.so +%{_libdir}/libgdbm_compat.a +%{_libdir}/libgdbm_compat.so +%{_libdir}/libndbm.a +%{_libdir}/libndbm.so +%{_mandir}/man3/gdbm.3.gz + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gettext.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gettext.spec new file mode 100644 index 0000000..a668c29 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/gettext.spec @@ -0,0 +1,196 @@ +# The split of gettext into two packages is suggested by upstream (see +# the PACKAGING file). Here we name gettext-runtime as +# gettext-lib. Please be noted that gettext-runtime is LGPL while the +# others parts are of GPL. You should be careful of the license when +# adding files into these sub-packages. + + +%define enable_testing 0 + +Name: gettext +Version: 0.18.1.1 +Release: 2 +License: GPLv3+ and LGPLv2+ +Summary: GNU libraries and utilities for producing multi-lingual messages +Url: http://www.gnu.org/software/gettext/ +Group: Development/Tools +Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.bz2 +Source2: msghack.py +Source1001: packaging/gettext.manifest + +BuildRequires: autoconf >= 2.5 +BuildRequires: bison +# need expat for xgettext on glade +BuildRequires: expat-devel +BuildRequires: gcc-c++ +BuildRequires: libtool +#needed for ANSI to UTF8 conversion using msgconn +BuildRequires: libunistring + +%description +The GNU gettext package provides a set of tools and documentation for +producing multi-lingual messages in programs. Tools include a set of +conventions about how programs should be written to support message +catalogs, a directory and file naming organization for the message +catalogs, a runtime library which supports the retrieval of translated +messages, and stand-alone programs for handling the translatable and +the already translated strings. Gettext provides an easy to use +library and tools for creating, using, and modifying natural language +catalogs and is a powerful and simple method for internationalizing +programs. + +MeeGo's gettext is split into two packages: gettext-libs and +gettext-devel. gettext-libs is an LGPLv2+ package that contains +libraries and runtime needed by i18n programs; gettext-devel is used +only for development and building -- and shouldn't be needed by end +users. This gettext package is a meta-package that depends on +gettext-devel for transition. + +%package tools +License: GPL-3.0+ +Summary: Development files for %{name} +Group: Development/Tools +Requires: %{name}-runtime = %{version} +Obsoletes: gettext-devel <= 0.18.1.1-1.15 +Provides: gettext-devel + +%description tools +This package contains all development related files necessary for +developing or compiling applications/libraries that needs +internationalization capability. You also need this package if you +want to add gettext support for your project. + +%package runtime +License: LGPL-2.0+ +Summary: Libraries for %{name} +Group: System/Libraries +Obsoletes: gettext-libs <= 0.18.1.1-1.15 +Provides: gettext-libs + +%description runtime +This package contains libraries used internationalization support. + +%prep +%setup -q + + +%build +cp %{SOURCE1001} . +[ -f %{_datadir}/automake/depcomp ] && cp -f %{_datadir}/automake/{depcomp,ylwrap} . + +%ifarch %arm +# We add a compile flag for ARM to deal with a bug in qemu (msgmerge using pthread/gomp) +# msgmerge will lockup during execution. +%define addconfflag --without-libpth-prefix --disable-openmp +%else +%endif + +%reconfigure --without-included-gettext --enable-nls --disable-static \ + --enable-shared --with-pic-=yes --disable-csharp --without-libpth-prefix --disable-openmp +make %{?_smp_mflags} GCJFLAGS="-findirect-dispatch" + +%check +make check + +%install +make install DESTDIR=%{buildroot} INSTALL="install -p" \ + lispdir=%{_datadir}/emacs/site-lisp \ + aclocaldir=%{_datadir}/aclocal EXAMPLESFILES="" + +install -pm 755 %{SOURCE2} %{buildroot}%{_bindir}/msghack + +# make preloadable_libintl.so executable +chmod 755 %{buildroot}%{_libdir}/preloadable_libintl.so + +rm -f %{buildroot}%{_infodir}/dir + +# doc relocations +for i in gettext-runtime/man/*.html; do + rm %{buildroot}%{_datadir}/doc/gettext/`basename $i` +done +rm -r %{buildroot}%{_datadir}/doc/gettext/javadoc* + +rm -rf %{buildroot}%{_datadir}/doc/gettext/examples + +rm -rf htmldoc +mkdir htmldoc +mv %{buildroot}%{_datadir}/doc/gettext/* %{buildroot}%{_datadir}/doc/libasprintf/* htmldoc +rm -r %{buildroot}%{_datadir}/doc/libasprintf +rm -r %{buildroot}%{_datadir}/doc/gettext + +# remove unpackaged files from the buildroot +rm -rf %{buildroot}%{_datadir}/emacs +rm %{buildroot}%{_libdir}/lib*.la + + +%find_lang %{name}-runtime +%find_lang %{name}-tools +cat %{name}-*.lang > %{name}.lang + +%docs_package + +%post runtime -p /sbin/ldconfig + +%postun runtime -p /sbin/ldconfig + + +%files tools -f %{name}.lang +%manifest gettext.manifest +%defattr(-,root,root,-) +%doc COPYING +%{_datadir}/%{name}/projects/* +%{_datadir}/%{name}/config.rpath +%{_datadir}/%{name}/*.h +%{_datadir}/%{name}/intl +%{_datadir}/%{name}/po +%{_datadir}/%{name}/msgunfmt.tcl +%{_datadir}/aclocal/* +%{_includedir}/* +%{_libdir}/libasprintf.so +%{_libdir}/libgettextpo.so +%{_libdir}/libgettextlib*.so +%{_libdir}/libgettextsrc*.so +%{_libdir}/preloadable_libintl.so +%{_libdir}/gettext/hostname +%{_libdir}/gettext/project-id +%{_libdir}/gettext/urlget +%{_libdir}/gettext/user-email +%{_libdir}/libgettextpo.so.* +%{_datadir}/%{name}/javaversion.class +%{_datadir}/%{name}/archive*.tar.gz +%{_datadir}/%{name}/styles +%{_bindir}/autopoint +%{_bindir}/gettextize +%{_bindir}/msgattrib +%{_bindir}/msgcat +%{_bindir}/msgcmp +%{_bindir}/msgcomm +%{_bindir}/msgconv +%{_bindir}/msgen +%{_bindir}/msgexec +%{_bindir}/msgfilter +%{_bindir}/msgfmt +%{_bindir}/msggrep +%{_bindir}/msghack +%{_bindir}/msginit +%{_bindir}/msgmerge +%{_bindir}/msgunfmt +%{_bindir}/msguniq +%{_bindir}/recode-sr-latin +%{_bindir}/xgettext + +# Don't include language files here since that may inadvertently +# involve unneeded files. If you need to include a file in -libs, list +# it here explicitly +%files runtime +%manifest gettext.manifest +%defattr(-,root,root,-) +# Files listed here should be of LGPL license only, refer to upstream +# statement in PACKAGING file +%doc gettext-runtime/intl/COPYING* +%doc %{_datadir}/gettext/ABOUT-NLS +%{_bindir}/gettext +%{_bindir}/ngettext +%{_bindir}/envsubst +%{_bindir}/gettext.sh +%{_libdir}/libasprintf.so.* diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/glib2.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/glib2.spec new file mode 100644 index 0000000..a4454ab --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/glib2.spec @@ -0,0 +1,167 @@ +#sbs-git:slp/unmodified/glib2.0 glib2 2.28.6 caa7e521cf925e84b8881633bcd98fd349dfd329 +%define libdir /%{_lib} + +Summary: A library of handy utility functions +Name: glib2 +Version: 2.28.6 +Release: 1 +License: LGPLv2+ +Group: System/Libraries +URL: http://www.gtk.org +Source: http://download.gnome.org/sources/glib/2.28/%{name}-%{version}.tar.gz +Source2: glib2.sh +Source3: glib2.csh +Source101: %{name}-rpmlintrc +Source1001: packaging/glib2.manifest + +Patch1: glib-2.24.0-syslog-message-handler.patch +Patch2: glib-no-fsync.patch +BuildRequires: pkgconfig +BuildRequires: gettext-tools +BuildRequires: libattr-devel +BuildRequires: zlib-devel + +%description +GLib is the low-level core library that forms the basis +for projects such as GTK+ and GNOME. It provides data structure +handling for C, portability wrappers, and interfaces for such runtime +functionality as an event loop, threads, dynamic loading, and an +object system. + +This package provides version 2 of GLib. + +%package devel +Summary: A library of handy utility functions +Group: Development/Libraries +Requires: pkgconfig +Requires: %{name} = %{version}-%{release} + +%description devel +The glib2-devel package includes the header files for +version 2 of the GLib library. + +# anaconda needs static libs, see RH bug #193143 +%package static +Summary: A library of handy utility functions +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +The glib2-static package includes static libraries +of version 2 of the GLib library. + +%prep +%setup -q +%patch1 -p1 +#patch2 -p1 + + +%build +cp %{SOURCE1001} . +%configure --disable-gtk-doc --enable-static --with-runtime-libdir=../../%{_lib} --disable-selinux --disable-visibility --enable-debug=yes + +# +# First, build glib enabled for generating the Profile Guided Optimization +# metadata +# +make %{?_smp_mflags} CFLAGS="$CFLAGS -pg -fprofile-generate" + +# +# Now run the glib performance tests to create the profile dta +# +cd tests/gobject +make performance CFLAGS="$CFLAGS -pg -fprofile-generate" +cd ../.. +tests/gobject/performance type-check + +# +# And now compile again, using the generated profile data +# +rm `find -name "*.lo"` +rm `find -name "*.o"` +make %{?_smp_mflags} CFLAGS="$CFLAGS -fprofile-use" + + +# truncate NEWS +awk '/^Overview of Changes/ { seen+=1 } +{ if (seen < 2) print } +{ if (seen == 2) { print "For older news, see http://git.gnome.org/cgit/glib/plain/NEWS"; exit } }' NEWS > tmp; mv tmp NEWS + + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +## glib2.sh and glib2.csh +./mkinstalldirs $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d + +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gio/modules/*.{a,la} + +# MeeGo does not provide bash completion +rm -rf ${RPM_BUILD_ROOT}%{_sysconfdir}/bash_completion.d + +%find_lang glib20 + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files -f glib20.lang +%manifest glib2.manifest +%defattr(-, root, root, -) +%doc AUTHORS COPYING NEWS README +%{libdir}/libglib-2.0.so.* +%{libdir}/libgthread-2.0.so.* +%{libdir}/libgmodule-2.0.so.* +%{libdir}/libgobject-2.0.so.* +%{libdir}/libgio-2.0.so.* +%{_sysconfdir}/profile.d/* +%dir %{_libdir}/gio +%dir %{_libdir}/gio/modules +#%{_libdir}/gio/modules/libgiofam.so +%{_bindir}/gio-querymodules +%{_bindir}/glib-compile-schemas +%{_bindir}/gsettings +%{_bindir}/gdbus +%doc %{_mandir}/man1/gio-querymodules.1.gz +%doc %{_mandir}/man1/glib-compile-schemas.1.gz +%doc %{_mandir}/man1/gsettings.1.gz +%doc %{_mandir}/man1/gdbus.1.gz + +%files devel +%manifest glib2.manifest +%defattr(-, root, root, -) +%{_libdir}/lib*.so +%{_libdir}/glib-2.0 +%{_includedir}/* +%{_datadir}/aclocal/* +%{_libdir}/pkgconfig/* +%{_datadir}/glib-2.0 +%{_datadir}/gdb/auto-load/lib/*.py* +%doc %{_datadir}/gtk-doc/html/* +%{_bindir}/glib-genmarshal +%{_bindir}/glib-gettextize +%{_bindir}/glib-mkenums +%{_bindir}/gobject-query +%{_bindir}/gtester +%attr (0755, root, root) %{_bindir}/gtester-report +%doc %{_mandir}/man1/glib-genmarshal.1.gz +%doc %{_mandir}/man1/glib-gettextize.1.gz +%doc %{_mandir}/man1/glib-mkenums.1.gz +%doc %{_mandir}/man1/gobject-query.1.gz +%doc %{_mandir}/man1/gtester-report.1.gz +%doc %{_mandir}/man1/gtester.1.gz + + +%files static +%manifest glib2.manifest +%defattr(-, root, root, -) +%{_libdir}/lib*.a + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/help2man.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/help2man.spec new file mode 100644 index 0000000..43e3f5c --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/help2man.spec @@ -0,0 +1,44 @@ +Name: help2man +Version: 1.40.10 +Release: 0 +License: GPL-3.0+ +Summary: Create Simple Man Pages from --help Output +Url: http://www.gnu.org/software/help2man/ +Group: Development/Tools/Doc Generators +Source: %{name}-%{version}.tar.gz +BuildRequires: gettext-tools +BuildRequires: perl-gettext +Requires: perl-gettext + +%description +help2man is a script to create simple man pages from the --help and +--version output of programs. + +Since most GNU documentation is now in info format, this provides a way +to generate a placeholder man page pointing to that resource while +still providing some useful information. + +%prep +%setup -q + +%build +%configure --enable-nls +make %{?_smp_mflags} + +%install +%make_install + +%find_lang %{name} --with-man + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/help2man +%{_libdir}/help2man/ +%doc %{_infodir}/help2man.info%{ext_info} +%doc %{_mandir}/man1/help2man.1%{ext_man} +%dir %{_mandir}/?? +%dir %{_mandir}/??/man1 + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/hwdata.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/hwdata.spec new file mode 100644 index 0000000..67aedc5 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/hwdata.spec @@ -0,0 +1,32 @@ +Name: hwdata +Version: 0.234 +Release: 1 +License: GPL-2.0+ +Summary: Hardware identification and configuration data +Group: System/Base +Source0: %{name}-%{version}.tar.bz2 +Url: http://git.fedorahosted.org/git/hwdata.git +BuildArch: noarch +Provides: pciutils-ids +Source1: pci.ids +Source2: usb.ids + +%description +hwdata contains various hardware identification and configuration data, +such as the pci.ids database and MonitorsDb databases. + +%prep +%setup -q + +%build +# nothing to build + +%install +%make_install +cp %{S:1} %{buildroot}%{_datadir}/hwdata +cp %{S:2} %{buildroot}%{_datadir}/hwdata + +%files +%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist.conf +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/iso-codes.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/iso-codes.spec new file mode 100644 index 0000000..323fe93 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/iso-codes.spec @@ -0,0 +1,51 @@ +Name: iso-codes +Version: 3.13 +Release: 1 +License: LGPL-2.0+ +Summary: ISO code lists and translations +Url: http://alioth.debian.org/projects/pkg-isocodes/ +Group: System/Base +Source0: ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-%{version}.tar.bz2 +Source1001: iso-codes.manifest +BuildRequires: gettext-tools >= 0.16 +BuildArch: noarch + +%description +This package provides the ISO 639 Language code list, the ISO 4217 +Currency code list, the ISO 3166 Territory code list, and ISO 3166-2 +sub-territory lists, and all their translations in gettext format. + +%package devel +Summary: Files for development using %{name} +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This package contains the pkg-config files for development +when building programs that use %{name}. + +%prep +%setup -q + + +%build +cp %{SOURCE1001} . + +%configure +make %{?_smp_mflags} + +%install +%make_install + +%find_lang iso-codes --all-name + +%files -f iso-codes.lang +%manifest iso-codes.manifest +%dir %{_datadir}/xml/iso-codes +%{_datadir}/xml/iso-codes/*.xml + + +%files devel +%manifest iso-codes.manifest +%{_datadir}/pkgconfig/iso-codes.pc + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap-ng.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap-ng.spec new file mode 100644 index 0000000..e714206 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap-ng.spec @@ -0,0 +1,86 @@ +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} + +Name: libcap-ng +Version: 0.6.6 +Release: 0 +License: LGPL-2.1+ +Summary: An alternate POSIX capabilities library +%define soname 0 +%define rname libcap-ng +Url: http://people.redhat.com/sgrubb/libcap-ng +Group: System/Libraries +# http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +Source99: libcap-ng.rpmlintrc +BuildRequires: kernel-headers >= 2.6.11 +BuildRequires: libattr-devel +BuildRequires: pkg-config +BuildRequires: python + +%description +Libcap-ng is a library that makes using posix capabilities easier + +%package devel + +License: LGPL-2.1+ +Summary: Header files for libcap-ng library +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: kernel-headers >= 2.6.11 +Requires: pkgconfig + +%description devel +The libcap-ng-devel package contains the files needed for developing +applications that need to use the libcap-ng library. + +%package utils + +License: GPL-2.0+ +Summary: Utilities for analysing and setting file capabilities +Group: System/Base + +%description utils +The libcap-ng-utils package contains applications to analyse the +posix capabilities of all the program running on a system. It also +lets you set the file system based capabilities. + +%prep +%setup -q -n %{rname}-%{version} + +%build +%configure --disable-static --with-pic --with-python=no +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%attr(0755,root,root) %{_libdir}/%{rname}.so.%{soname} +%attr(0755,root,root) %{_libdir}/%{rname}.so.%{soname}.* + +%files devel +%defattr(-,root,root,-) +%attr(0644,root,root) %{_mandir}/man3/*.3%{ext_man} +%attr(0644,root,root) %{_includedir}/cap-ng.h +%attr(0755,root,root) %{_libdir}/%{rname}.so +%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4 +%{_libdir}/pkgconfig/%{rname}.pc + +%files utils +%defattr(-,root,root,-) +%doc COPYING +%attr(0755,root,root) %{_bindir}/captest +%attr(0755,root,root) %{_bindir}/filecap +%attr(0755,root,root) %{_bindir}/netcap +%attr(0755,root,root) %{_bindir}/pscap +%attr(0644,root,root) %{_mandir}/man8/*.8%{ext_man} + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap.spec new file mode 100644 index 0000000..f9a4af0 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libcap.spec @@ -0,0 +1,87 @@ +Name: libcap +Version: 2.22 +Release: 1 +License: BSD-3-Clause ; GPL-2.0 +Summary: Library for Capabilities (linux-privs) Support +Url: https://sites.google.com/site/fullycapable/ +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: fdupes +BuildRequires: libattr-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define debug_package_requires libcap2 = %{version}-%{release} + +%description +Capabilities are a measure to limit the omnipotence of the superuser. +Currently a program started by root or setuid root has the power to do +anything. Capabilities (Linux-Privs) provide a more fine-grained access +control. Without kernel patches, you can use this library to drop +capabilities within setuid binaries. If you use patches, this can be +done automatically by the kernel. + +%package devel +License: BSD-3-Clause ; GPL-2.0 +Summary: Development files for libcap +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libcap = %{version} + +%description devel +Development files (Headers, libraries for static linking, etc) for +libcap. + +libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) +draft 15 capabilities. + +Install libcap-devel if you want to develop or compile applications +using libcap. + +%package progs +License: BSD-3-Clause ; GPL-2.0 +Summary: Libcap utility programs +Group: System/Filesystems + +%description progs +This package contains utility programs handling capabilities via +libcap. + +%prep +%setup -q + +%build +# lib=%{_lib} make %{?_smp_mflags} COPTFLAG="%{optflags}" +lib=%{_lib} make %{?_smp_mflags} DEBUG="-g %{optflags}" + +%install +make install DESTDIR=%{buildroot} LIBDIR=%{buildroot}/%{_lib} MANDIR=%{buildroot}%{_mandir} RAISE_SETFCAP=no +# remove unneeded files +rm -f %{buildroot}/%{_lib}/*.*a +# move *.so file to libdir and relink +rm -f %{buildroot}/%{_lib}/*.so +mkdir -p %{buildroot}%{_libdir} +ln -s /%{_lib}/libcap.so.2 %{buildroot}%{_libdir}/libcap.so +%fdupes -s %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%attr(755,root,root) /%{_lib}/libcap.so.* + +%files progs +%defattr(-,root,root) +%{_mandir}/man1/* +%{_mandir}/man8/* +/sbin/* + +%files devel +%defattr(-,root,root) +%doc License README CHANGELOG +%{_includedir}/sys/capability.h +%{_libdir}/*.so +%{_mandir}/man3/* + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgcrypt.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgcrypt.spec new file mode 100644 index 0000000..4a2f2d6 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgcrypt.spec @@ -0,0 +1,78 @@ +Name: libgcrypt +Version: 1.5.0 +Release: 0 +License: GPL-2.0+ ; LGPL-2.1+ +Summary: The GNU Crypto Library +%define libsoname %{name} +Url: http://directory.fsf.org/wiki/Libgcrypt +Group: Development/Libraries/C and C++ +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: libgpg-error-devel >= 1.8 +BuildRequires: libtool + +%description +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). + +%package devel +License: GFDL-1.1 ; GPL-2.0+ ; LGPL-2.1+ ; MIT +Summary: The GNU Crypto Library +Group: Development/Libraries/C and C++ +Requires: %{libsoname} = %{version} +Requires: glibc-devel +Requires: libgpg-error-devel >= 1.8 + +%description devel +Libgcrypt is a general purpose crypto library based on the code used in +GnuPG (alpha version). + +This package contains needed files to compile and link against the +library. + +%prep +%setup -q + +%build +# define ciphers to build +ENABLE_CIPHER="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia" +ENABLE_PUBKEY="dsa elgamal rsa ecc" +ENABLE_DIGEST="crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool" +# +autoreconf -fi +%configure --with-pic \ + --enable-noexecstack \ + --disable-static \ + --enable-ciphers="$ENABLE_CIPHER" \ + --enable-pubkey-ciphers="$ENABLE_PUBKEY" \ + --enable-digests="$ENABLE_DIGEST" +make %{?_smp_mflags} + +%check +# Nice idea. however this uses /dev/random, which hangs +# on hardware without random feeds. +#make check + +%install +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/%{name}.so.11* + +%files devel +%defattr(-,root,root) +%{_infodir}/gcrypt.info.gz +%{_infodir}/gcrypt.info-1.gz +%{_bindir}/dumpsexp +%{_bindir}/hmac256 +%{_bindir}/%{name}-config +%{_libdir}/%{name}.so +%{_includedir}/gcrypt*.h +%{_datadir}/aclocal/%{name}.m4 + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgpg-error.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgpg-error.spec new file mode 100644 index 0000000..cbe83d5 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libgpg-error.spec @@ -0,0 +1,60 @@ +Name: libgpg-error +Version: 1.10 +Release: 0 +License: GPL-2.0+ ; LGPL-2.1+ +Summary: Library That Defines Common Error Values for All GnuPG Components +Url: http://www.gnupg.org/ +Group: Development/Libraries/C and C++ +Source: %{name}-%{version}.tar.bz2 +Source1: baselibs.conf +BuildRequires: gettext-tools +BuildRequires: libtool + +%description +This is a library that defines common error values for all GnuPG +components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, +pinentry, SmartCard Daemon, and possibly more in the future. + +%package devel +License: GPL-2.0+ ; LGPL-2.1+ ; MIT +Summary: Development package for libgpg-error +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libgpg-error = %{version} + +%description devel +Files needed for software development using libgpg-error. + +%prep +%setup -q -n libgpg-error-%{version} + +%build +autoreconf -fiv +%configure --disable-static --with-pic +make %{?_smp_mflags} + +%install +%make_install +rm -r %{buildroot}%{_datadir}/common-lisp +%find_lang %{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%lang_package + + +%files +%defattr(-,root,root) +%license COPYING.LIB COPYING +%{_libdir}/libgpg-error*.so.* + +%files devel +%defattr(-,root,root) +%{_datadir}/aclocal/gpg-error.m4 +%{_includedir}/* +%{_bindir}/* +%{_libdir}/libgpg-error*.so + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libxml2.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libxml2.spec new file mode 100644 index 0000000..ea441b8 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libxml2.spec @@ -0,0 +1,153 @@ +%define lname libxml2 + +Name: libxml2 +Version: 2.8.0 +Release: 0 +Summary: A Library to Manipulate XML Files +License: MIT +Group: System/Libraries +Url: http://xmlsoft.org +# Source ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz changes every day +Source: ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz +Source2: baselibs.conf +Patch0: fix-perl.diff +BuildRequires: pkg-config +BuildRequires: readline-devel +BuildRequires: xz-devel +BuildRequires: zlib-devel + +%description +The XML C library was initially developed for the GNOME project. It is +now used by many programs to load and save extensible data structures +or manipulate any kind of XML files. + +This library implements a number of existing standards related to +markup languages, including the XML standard, name spaces in XML, XML +Base, RFC 2396, XPath, XPointer, HTML4, XInclude, SGML catalogs, and +XML catalogs. In most cases, libxml tries to implement the +specification in a rather strict way. To some extent, it provides +support for the following specifications, but does not claim to +implement them: DOM, FTP client, HTTP client, and SAX. + +The library also supports RelaxNG. Support for W3C XML Schemas is in +progress. + + +%package tools +Summary: Tools using libxml +Group: System/Libraries + +%description tools +This package contains xmllint, a very useful tool proving libxml's power. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %{lname} = %{version} +Requires: %{name}-tools = %{version} +Requires: glibc-devel +Requires: readline-devel +Requires: xz-devel +Requires: zlib-devel + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package doc +Summary: A Library to Manipulate XML Files +Group: System/Libraries +Requires: %{lname} = %{version} +BuildArch: noarch + +%description doc +The XML C library was initially developed for the GNOME project. It is +now used by many programs to load and save extensible data structures +or manipulate any kind of XML files. + +This library implements a number of existing standards related to +markup languages, including the XML standard, name spaces in XML, XML +Base, RFC 2396, XPath, XPointer, HTML4, XInclude, SGML catalogs, and +XML catalogs. In most cases, libxml tries to implement the +specification in a rather strict way. To some extent, it provides +support for the following specifications, but does not claim to +implement them: DOM, FTP client, HTTP client, and SAX. + +The library also supports RelaxNG. Support for W3C XML Schemas is in +progress. + +%prep +%setup -q +%patch0 + +%build +%configure --disable-static \ + --docdir=%_docdir/%name \ + --with-html-dir=%_docdir/%name/html \ + --with-fexceptions \ + --with-history \ + --without-python \ + --enable-ipv6 \ + --with-sax1 \ + --with-regexps \ + --with-threads \ + --with-reader \ + --with-http + +make %{?_smp_mflags} BASE_DIR="%_docdir" DOC_MODULE="%name" + +%check +# qemu-arm can't keep up atm, disabling check for arm +%ifnarch %arm +make check +%endif + +%install +make install DESTDIR="%buildroot" BASE_DIR="%_docdir" DOC_MODULE="%name" +mkdir -p "%buildroot/%_docdir/%name" +cp -a AUTHORS NEWS README COPYING* Copyright TODO* %{buildroot}%{_docdir}/%{name}/ +ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/lib*.so.* +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/[ANRCT]* + +%files tools +%defattr(-, root, root) +%{_bindir}/xmllint +%{_bindir}/xmlcatalog +%doc %{_mandir}/man1/xmllint.1* +%doc %{_mandir}/man1/xmlcatalog.1* + +%files devel +%defattr(-, root, root) +%{_bindir}/xml2-config +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/libxml.m4 +%{_includedir}/libxml +%{_includedir}/libxml2 +%{_libdir}/lib*.so +# libxml2.la is needed for the python-libxml2 build. Deleting it breaks build of python-libxml2. +%{_libdir}/libxml2.la +%{_libdir}/*.sh +%{_libdir}/pkgconfig/*.pc +%doc %{_mandir}/man1/xml2-config.1* +%doc %{_mandir}/man3/libxml.3* + +%files doc +%defattr(-, root, root) +%{_datadir}/gtk-doc/html/* +%doc %{_docdir}/%{name}/examples +%doc %{_docdir}/%{name}/html +# owning these directories prevents gtk-doc <-> libxml2 build loop: +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libzio.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libzio.spec new file mode 100644 index 0000000..bc89d59 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/libzio.spec @@ -0,0 +1,63 @@ +Name: libzio +Version: 0.99 +Release: 0 +License: GPL-2.0+ +Summary: A Library for Accessing Compressed Text Files +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: bzip2-devel +BuildRequires: xz +BuildRequires: xz-devel +BuildRequires: zlib-devel + +%description +Libzio provides a wrapper function for reading or writing gzip or bzip2 +files with FILE streams. + +%package devel +Summary: Libzio development files +Group: Development/Libraries/C and C++ +Requires: libzio = %{version} + +%description devel +Libzio development files including zio.h, the manual page fzopen(3), +and static library. + +%prep +%setup -q + +%build +make %{?_smp_mflags} noweak + +%check +make testt +make tests +for comp in gzip bzip2 lzma xz +do + $comp -c < fzopen.3.in > fzopen.test + ./testt fzopen.test | cmp fzopen.3.in - + cat fzopen.test | ./tests ${comp:0:1} | cmp fzopen.3.in - +done + +%install +make DESTDIR=%{buildroot} install libdir=%{_libdir} mandir=%{_mandir} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libzio.so.0 +%{_libdir}/libzio.so.%{version} + +%files devel +%defattr(-,root,root) +%doc README COPYING +%{_libdir}/libzio.a +%{_libdir}/libzio.so +%{_mandir}/man3/fzopen.3* +/usr/include/zio.h + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/linux-glibc-devel.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/linux-glibc-devel.spec new file mode 100644 index 0000000..4444954 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/linux-glibc-devel.spec @@ -0,0 +1,157 @@ +BuildRequires: fdupes + +Name: linux-glibc-devel +# this confusing version number has no meaning, it's the version +# of the Linux kernel where these headers come from +Version: 3.4.0 +Release: 0 +License: GPL-2.0 +Summary: Linux headers for userspace development +# A "-" is not allowed in version +%define upstream_version 3.4 +Url: http://www.kernel.org/ +Group: Development/Libraries/C and C++ +Source: %{name}-%{upstream_version}.tar.bz2 +Source1: install_all.sh +Requires(pre): coreutils +Provides: kernel-headers +Provides: linux-kernel-headers = %{version} +Obsoletes: linux-kernel-headers < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +This package provides Linux kernel headers, the kernel API description +required for compilation of almost all programs. This is the userspace +interface; compiling external kernel modules requires +kernel-(flavor)-devel, or kernel-syms to pull in all kernel-*-devel, +packages, instead. + +%prep +%setup -q -n linux-glibc-devel-%{upstream_version} + +%build +cat > version.h <<-BOGUS +#ifdef __KERNEL__ +#error "=======================================================" +#error "You should not include /usr/include/{linux,asm}/ header" +#error "files directly for the compilation of kernel modules." +#error "" +#error "glibc now uses kernel header files from a well-defined" +#error "working kernel version (as recommended by Linus Torvalds)" +#error "These files are glibc internal and may not match the" +#error "currently running kernel. They should only be" +#error "included via other system header files - user space" +#error "programs should not directly include or" +#error " as well." +#error "" +#error "Since Linux 2.6, the kernel module build process has been" +#error "updated such that users building modules should not typically" +#error "need to specify additional include directories at all." +#error "" +#error "To build kernel modules, ensure you have the build environment " +#error "available either via the kernel-devel and kernel--devel " +#error "packages or a properly configured kernel source tree." +#error "" +#error "Then, modules can be built using:" +#error "make -C M=$PWD" +#error "" +#error "For the currently running kernel there will be a symbolic " +#error "link pointing to the build environment located at " +#error "/lib/modules/$(uname -r)/build for use as ." +#error "" +#error "If you are seeing this message, your environment is " +#error "not configured properly. " +#error "" +#error "Please adjust the Makefile accordingly." +#error "=======================================================" +#else +BOGUS +# Get LINUX_VERSION_CODE and KERNEL_VERSION directly from kernel +cat usr/include/linux/version.h >> version.h +cat >> version.h <<-BOGUS +#endif +BOGUS +cat version.h + +%install +mkdir %{buildroot} +cp -a usr %{buildroot} +cp -a version.h %{buildroot}/usr/include/linux/ +# Temporarily exclude i2c header files, which are provided by i2c-tools instead +rm -fv %{buildroot}/usr/include/linux/i2c-dev.h +# resolve file conflict with glibc for now +rm -fv %{buildroot}//usr/include/scsi/scsi* +# Replace the directory /usr/include/asm with a symlink. +# libc contained a symlink /usr/include/asm into kernel-source up to 7.0 (2.1.3) +# glibc-devel contained a symlink /usr/include/asm into kernel-source in 7.1 (2.2) +# glibc-devel contained a directory /usr/include/asm from 7.2 (2.2.2) up to 10.1/SLES10 (2.4) +# The directory moved from glibc-devel to linux-kernel-headers in 10.2 (2.6.18.2) +# The directory turned into a symlink in 10.3 (2.6.22) +# rpm will remove obsolete files after the post install scripts +# A trigger will run after the /usr/include/asm was removed +# Create a dummy symlink now for rpmlint happiness, we %%ghost this and create +# a proper symlink during %%post: +ln -sfn asm-dummy %{buildroot}/usr/include/asm +%fdupes %{buildroot}/usr/include + +%postun +if test "$1" = 0 +then + rm -f usr/include/asm +fi +exit 0 + +%post +asm_link= +case "$(uname -m)" in + alpha*) asm_link=alpha ;; + ppc*) asm_link=powerpc ;; + s390*) asm_link=s390 ;; + ia64) asm_link=ia64 ;; + *arm*) asm_link=arm ;; + parisc) asm_link=parisc ;; + *mips*) asm_link=mips ;; + sparc*) asm_link=sparc ;; + *) asm_link=x86 ;; +esac +if test -L usr/include/asm +then + case "$(readlink usr/include/asm)" in + *../src/linux/include*) + echo "/usr/include/asm points to kernel-source, waiting for triggerpostun to symlink to asm-$asm_link" + rm -fv usr/include/asm + exit 0 + ;; + esac + : symlink is ok, update it below in case of an arch change +elif test -d usr/include/asm +then + echo "/usr/include/asm is a directory, waiting for triggerpostun to symlink to asm-$asm_link" + exit 0 +fi +ln -sfn asm-$asm_link usr/include/asm +exit 0 + +%triggerpostun -- linux-kernel-headers, glibc-devel < 2.5, libc < 2.2 +asm_link= +case "$(uname -m)" in + alpha*) asm_link=alpha ;; + ppc*) asm_link=powerpc ;; + s390*) asm_link=s390 ;; + ia64) asm_link=ia64 ;; + *arm*) asm_link=arm ;; + parisc) asm_link=parisc ;; + *mips*) asm_link=mips ;; + sparc*) asm_link=sparc ;; + *) asm_link=x86 ;; +esac +ln -sfn asm-$asm_link usr/include/asm +exit 0 + +%files +%defattr(-,root,root) +%{_includedir}/* +%ghost %{_includedir}/asm + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/lua.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/lua.spec new file mode 100644 index 0000000..b2b5736 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/lua.spec @@ -0,0 +1,135 @@ +Name: lua +Version: 5.1.4 +Release: 0 +License: MIT +Summary: Small Embeddable Language with Simple Procedural Syntax +Url: http://www.lua.org +Group: System/Libraries +Source: %{name}-%{version}.tar.gz +Source1: macros.lua +Source2: baselibs.conf +%define major_version 5.1 +BuildRequires: pkg-config +BuildRequires: readline-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +Lua combines simple procedural syntax (similar to Pascal) with powerful +data description constructs based on associative arrays and extensible +semantics. Lua is dynamically typed, interpreted from byte codes, and +has automatic memory management, making it ideal for configuration, +scripting, and rapid prototyping. Lua is implemented as a small library +of C functions, written in ANSI C, and the implementation goals are +simplicity, efficiency, portability, and low embedding cost. + +%package devel +Summary: Development files for lua +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +This package contains files needed for embedding lua into your +application. + +%package -n liblua +Summary: Small Embeddable Language with Simple Procedural Syntax +Group: System/Libraries + +%description -n liblua +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +Lua combines simple procedural syntax (similar to Pascal) with powerful +data description constructs based on associative arrays and extensible +semantics. Lua is dynamically typed, interpreted from byte codes, and +has automatic memory management, making it ideal for configuration, +scripting, and rapid prototyping. Lua is implemented as a small library +of C functions, written in ANSI C, and the implementation goals are +simplicity, efficiency, portability, and low embedding cost. + +%package doc +Summary: Small Embeddable Language with Simple Procedural Syntax +Group: System/Libraries +BuildArch: noarch + +%description doc +Lua is a programming language originally designed for extending +applications, but also frequently used as a general-purpose, +stand-alone language. + +Lua combines simple procedural syntax (similar to Pascal) with powerful +data description constructs based on associative arrays and extensible +semantics. Lua is dynamically typed, interpreted from byte codes, and +has automatic memory management, making it ideal for configuration, +scripting, and rapid prototyping. Lua is implemented as a small library +of C functions, written in ANSI C, and the implementation goals are +simplicity, efficiency, portability, and low embedding cost. + +%prep +%setup -q -n lua-%{version} + +%build +sed -i 's:LUA_ROOT2 "LIBDIR/lua/%{major_version}/":LUA_ROOT2 \"%{_lib}/lua/%{major_version}/":' src/luaconf.h +make %{?_smp_mflags} -C src CC="gcc" MYCFLAGS="%{optflags} -fPIC -DLUA_USE_LINUX" MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{major_version} all + +%install +make install INSTALL_TOP="%{buildroot}%{_prefix}" INSTALL_LIB="%{buildroot}%{_libdir}" INSTALL_CMOD=%{buildroot}%{_libdir}/lua/%{major_version} INSTALL_MAN="%{buildroot}%{_mandir}/man1" +install -D -m644 etc/lua.pc %{buildroot}%{_libdir}/pkgconfig/lua.pc +for file in lua luac ; do + mv "%{buildroot}%{_bindir}/${file}" "%{buildroot}%{_bindir}/${file}%{major_version}" + mv "%{buildroot}%{_mandir}/man1/${file}.1" "%{buildroot}%{_mandir}/man1/${file}%{major_version}.1" +done +install -d -m 0755 %{buildroot}%{_libdir}/lua/%{major_version} +install -d -m 0755 %{buildroot}%{_datadir}/lua/%{major_version} +install -D %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.lua + +#ln -sf liblua.so.%{major_version} %{buildroot}/%{_libdir}/liblua-%{major_version}.so +chmod +x %{buildroot}/%{_libdir}/liblua.so.%{major_version} + +%post -n liblua -p /sbin/ldconfig + +%postun -n liblua -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc COPYRIGHT HISTORY README +%{_mandir}/man1/lua%{major_version}.1* +%{_mandir}/man1/luac%{major_version}.1* +%{_bindir}/lua%{major_version} +%{_bindir}/luac%{major_version} +%dir %{_libdir}/lua +%dir %{_libdir}/lua/%{major_version} +%dir %{_datadir}/lua +%dir %{_datadir}/lua/%{major_version} +%{_sysconfdir}/rpm/macros.lua + +%files -n liblua +%defattr(-,root,root) +%{_libdir}/liblua.so.%{major_version} +###%{_libdir}/liblua-%{major_version}.so + +%files devel +%defattr(-,root,root) +%{_includedir}/lauxlib.h +%{_includedir}/lua.h +%{_includedir}/lua.hpp +%{_includedir}/luaconf.h +%{_includedir}/lualib.h +%{_libdir}/pkgconfig/lua.pc +%{_libdir}/liblua.a +%{_libdir}/liblua.so + +%files doc +%defattr(-,root,root) +%doc doc/* + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/ncurses.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/ncurses.spec new file mode 100644 index 0000000..a5ca215 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/ncurses.spec @@ -0,0 +1,705 @@ +# +# spec file for package ncurses +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# + + +Name: ncurses +#!BuildIgnore: terminfo +BuildRequires: gcc-c++ +%define terminfo() %{_datadir}/%{0}/%{1} +%define tabset() %{_datadir}/%{0}/%{1} +Version: 5.9 +Release: 0 +Summary: New curses Libraries +License: MIT +Group: System/Base +Url: http://invisible-island.net/ncurses/ncurses.html +Source0: ncurses-%{version}.tar.gz +Source2: handle.linux +Source4: ncurses-rpmlintrc +Source6: edit.sed +Source7: baselibs.conf +%global _sysconfdir /etc +%global _miscdir %{_datadir}/misc +%global _incdir %{_includedir} +%global root %{_tmppath}/%{name}-%{version}-store +%global abi %(ver=%{version}; echo ${ver%.*}) + +%description +As soon as a text application needs to directly control its output to +the screen (if it wants to place the cursor at location (x,y) then +write text), ncurses is used. The panel and the forms libraries are +included in this package. These new libraries support color, special +characters, and panels. + + + +Authors: +-------- + Thomas E. Dickey + Juergen Pfeifer + Eric S. Raymond + Zeyd M. Ben-Halim + Pavel Curtis + +%package -n ncurses-utils +Summary: Tools using the new curses libraries +License: MIT +Group: System/Base +Provides: ncurses:%{_bindir}/tput + +%description -n ncurses-utils +The ncurses based utilities are as follows: + +clear -- emits clear-screen for current terminal + +tabs -- set tabs on a terminal + +toe -- table of entries utility + +tput -- shell-script access to terminal capabilities. + +tset -- terminal-initialization utility + +reset -- terminal initialization utility + + + +Authors: +-------- + Thomas E. Dickey + Eric S. Raymond + Zeyd M. Ben-Halim + Juergen Pfeifer + Pavel Curtis + +%package -n terminfo-base +Summary: A terminal descriptions database +License: MIT +Group: System/Base +Provides: ncurses:%{_datadir}/tabset + +%description -n terminfo-base +This is the terminfo basic database, maintained in the ncurses package. +This database is the official successor to the 4.4BSD termcap file and +contains information about any known terminal. The ncurses library +makes use of this database to use terminals correctly. + + + +Authors: +-------- + Thomas E. Dickey + Eric S. Raymond + +%if %abi == 5 + +%package -n libncurses +Summary: The New curses Libraries +License: MIT +Group: System/Libraries +Requires: terminfo-base +Provides: ncurses = %{version} +Obsoletes: ncurses < %{version} +Recommends: ncurses-utils = %{version} + +%description -n libncurses +The ncurses library is used by the most curses based terminal +applications for controling its output and input to the screen. + + + +Authors: +-------- + Thomas E. Dickey + Eric S. Raymond + Zeyd M. Ben-Halim + Juergen Pfeifer + Pavel Curtis + +%endif + +%package -n libncurses6 +Summary: The New curses Libraries +License: MIT +Group: System/Libraries +Requires: terminfo-base +%if %abi == 5 +Provides: ncurses = 6.0 +%else +Provides: ncurses = %{version} +%endif + +%description -n libncurses6 +The ncurses library is used by the most curses based terminal +applications for controling its output and input to the screen. + + + +Authors: +-------- + Thomas E. Dickey + Juergen Pfeifer + Eric S. Raymond + Zeyd M. Ben-Halim + Pavel Curtis + +%package -n terminfo +Summary: A terminal descriptions database +License: SUSE-Public-Domain +Group: System/Base + +%description -n terminfo +This is the terminfo reference database, maintained in the ncurses +package. This database is the official successor to the 4.4BSD termcap +file and contains information about any known terminal. The ncurses +library makes use of this database to use terminals correctly. If you +just use the Linux console, xterm, and VT100, you probably will not +need this database -- a minimal /usr/share/terminfo tree for these +terminals is already included in the terminfo-base package. + + + +Authors: +-------- + Eric S. Raymond + Thomas E. Dickey + +%package -n ncurses-devel +Summary: Include Files and Libraries mandatory for Development +License: MIT +Group: Development/Libraries/C and C++ +Provides: ncurses:%{_incdir}/ncurses.h +Requires: ncurses = %{version}-%{release} +%if %abi >= 6 +Requires: libncurses6 = %{version}-%{release} +%else +Requires: libncurses = %{version}-%{release} +Requires: libncurses6 = %{version}-%{release} +%endif + +%description -n ncurses-devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + + + +Authors: +-------- + Thomas E. Dickey + Juergen Pfeifer + Eric S. Raymond + Zeyd M. Ben-Halim + Pavel Curtis + + +%prep +%setup -q -n ncurses-%{version} +rm -vf include/ncurses_dll.h +rm -vf mkdirs.sh +rm -vf tar-copy.sh +rm -vf mk-dlls.sh + +%build + cflags () + { + local flag=$1; shift + local var=$1; shift + test -n "${flag}" -a -n "${var}" || return + case "${!var}" in + *${flag}*) return + esac + set -o noclobber + case "$flag" in + -Wl,*) + if echo 'int main () { return 0; }' | \ + ${CC:-gcc} -Werror $flag -o /dev/null -xc - > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + ;; + *) + if ${CC:-gcc} -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + if ${CXX:-g++} -Werror $flag -S -o /dev/null -xc++ /dev/null > /dev/null 2>&1 ; then + eval $var=\${$var:+\$$var\ }$flag + fi + esac + set +o noclobber + } + + test ! -f /.buildenv || . /.buildenv + OPATH=$PATH + FALLBK="xterm,linux,vt100,vt102" + CC=gcc + CXX=g++ + CFLAGS="${RPM_OPT_FLAGS} -pipe -D_REENTRANT" + if [[ "$BUILD_BASENAME" = debug-* ]] ; then + CFLAGS="${CFLAGS} -g -DTRACE" + fi + cflags -Wl,-O2 LDFLAGS + cflags -Wl,-Bsymbolic-functions LDFLAGS + cflags -Wl,--hash-size=8599 LDFLAGS + cflags -Wl,--as-needed LDFLAGS + CXXFLAGS=$CFLAGS + test -n "$TERM" || TERM=linux + GZIP="-9" + export CC CFLAGS CXX CXXFLAGS GZIP TERM LDFLAGS + # + # Detect 64bit architecures and be sure that + # we use an unsigned long for chtype to be + # backward compatible with ncurses 5.4 + # + echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 - + if ./test64 ; then + WITHCHTYPE="--with-chtype=long" + else + WITHCHTYPE="" + CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCES -D_FILE_OFFSET_BITS=64" + fi + rm -f ./test64 + # + # For security of some configure and install scripts + # + TMPDIR=$(mktemp -d /tmp/ncurses.XXXXXXXX) || exit 1 + trap 'rm -rf ${TMPDIR}' EXIT + export TMPDIR + # + # No --enable-term-driver as this had crashed last time + # in ncurses/tinfo/lib_setup.c due to the fact that + # _nc_globals.term_driver was a NULL function pointer + # + # No --enable-tcap-names because we may have to recompile + # programs or foreign programs won't work + # + # No --enable-safe-sprintf because this seems to + # crash on some architectures + # + # No --enable-xmc-glitch because this seems to break yast2 + # on console/konsole (no magic cookie support on those?) + # + # No --with-termlib=tinfo because libncurses depend on + # libtinfo (is linked with) and therefore there is no + # advantage about splitting of a libtinfo (IMHO). + # + touch --reference=README config.sub config.guess + %configure \ + --without-ada \ + --without-debug \ + --without-profile \ + --without-manpage-tbl \ + --with-shared \ + --with-normal \ + --with-manpage-format=gzip \ + --with-manpage-renames=${PWD}/man/man_db.renames \ + --with-manpage-aliases \ + --with-ospeed=speed_t \ + --with-gpm \ + --with-dlsym \ + --with-termlib=tinfo \ + --with-ticlib=tic \ + --with-xterm-kbs=del \ + --disable-root-environ \ + --disable-termcap \ + --disable-overwrite \ + --disable-rpath \ + --disable-leaks \ + --disable-xmc-glitch \ + --enable-symlinks \ + --enable-big-core \ + --enable-const \ + --enable-hashmap \ + --enable-no-padding \ + --enable-symlinks \ + --enable-sigwinch \ + --enable-colorfgbg \ + --enable-sp-funcs \ +%if %abi >= 6 + --with-pthread \ + --enable-reentrant \ + --enable-ext-mouse \ + --disable-widec \ + --enable-ext-colors \ +%else + --without-pthread \ + --disable-reentrant \ + --disable-ext-mouse \ + --disable-widec \ + --disable-ext-colors \ +%endif + --enable-weak-symbols \ + --enable-wgetch-events \ + --enable-pthreads-eintr \ + --enable-string-hacks \ + --prefix=%{_prefix} \ + --exec-prefix=%{_prefix}\ + --libdir=%{_libdir} \ + --datadir=%{_datadir} \ + --mandir=%{_mandir} \ + --includedir=%{_incdir} \ + "${WITHCHTYPE}" \ + --disable-widec \ + --disable-tic-depends \ + --with-ticlib=tic + # + # The configure line + # + c=$(grep '^ *$ *\./configure' config.log) + # + # This is a hack to be able to boot strap + # a libncurses with correct fallback.c. + # + make %{?_smp_mflags} -C include + make %{?_smp_mflags} -C ncurses fallback.c FALLBACK_LIST="" + make %{?_smp_mflags} -C progs termsort.c transform.h infocmp tic + rm -f ncurses/fallback.c + PATH=$PWD/progs:$OPATH + LD_LIBRARY_PATH=$PWD/lib + export LD_LIBRARY_PATH PATH + pushd ncurses/ + TERMINFO=$PWD/tmp + export TERMINFO + mkdir -p $TERMINFO +%if 0%{?_crossbuild} +export BUILD_TIC=/usr/bin/tic +%else +export BUILD_TIC=$PWD/../progs/tic +%endif + $BUILD_TIC -I -r -e $FALLBK ../misc/terminfo.src > terminfo.src + $BUILD_TIC -o $TERMINFO -s terminfo.src + sh -e ./tinfo/MKfallback.sh $TERMINFO ../misc/terminfo.src $BUILD_TIC ${FALLBK//,/ } > fallback.c + rm -rf $TERMINFO + unset TERMINFO + cp -p fallback.c ../fallback.c.backup + popd + PATH=$OPATH + unset LD_LIBRARY_PATH + # + # Refresh second install path + # + rm -rf %{root} + mkdir %{root} + # + # Now rebuild libncurses and do the rest of this job + # + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make %{?_smp_mflags} + lib=%{_libdir} + inc=%{_incdir}/ncurses + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install DESTDIR=%{root} includedir=${inc} libdir=${lib} + ln -sf ${inc##*/}/{curses,ncurses,term,termcap}.h %{root}${inc%%/*}/ + sh %{S:6} --cflags "-I${inc}" --libs "-lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses5-config +%if %abi < 6 + # + # Now use --with-pthread for reentrant pthread support (abi > 5). + # + eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make %{?_smp_mflags} + lib=%{_libdir}/ncurses6 + inc=%{_incdir}/ncurses6/ncurses + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib} + ln -sf ${inc##*/}/{curses,ncurses,term}.h %{root}${inc%%/*}/ + sh %{S:6} --cflags "-I${inc} -I${inc%%/*}" --libs "-L${lib} -lncurses" --libs "-ltinfo" %{root}%{_bindir}/ncurses6-config + pushd man + sh ../edit_man.sh normal installing %{root}%{_mandir} . ncurses6-config.1 + popd +%endif + # + # Now use --enable-widec for UTF8/wide character support. + # The libs with 16 bit wide characters are binary incompatible + # to the normal 8bit wide character libs. + # +%if %abi >= 6 + eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs +%else + eval ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs +%endif + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make %{?_smp_mflags} + lib=%{_libdir} + inc=%{_incdir}/ncursesw + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib} + sh %{S:6} --cflags "-I${inc}" --libs "-lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw5-config + pushd man + sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw5-config.1 + popd +%if %abi < 6 + # + # Do both --enable-widec and --with-pthread (abi > 5). + # + eval ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs + find -name fallback.o | xargs -r rm -vf + cp fallback.c.backup ncurses/fallback.c + make %{?_smp_mflags} + lib=%{_libdir}/ncurses6 + inc=%{_incdir}/ncurses6/ncursesw + # must not use %jobs here (would lead to: ln: ncurses.h already exists) + make install.libs install.includes DESTDIR=%{root} includedir=${inc} libdir=${lib} + sh %{S:6} --cflags "-I${inc} -I${inc%%/*}" --libs "-L${lib} -lncursesw" --libs "-ltinfo" %{root}%{_bindir}/ncursesw6-config + pushd man + sh ../edit_man.sh normal installing %{root}%{_mandir} . ncursesw6-config.1 + popd +%endif + +%install + GZIP="-9" + export GZIP + (cd %{root}/; tar -cpsSf - *)|tar -xpsSf - -C %{buildroot}/ + rm -rf %{root} + mkdir %{buildroot}/%{_lib} + for model in libncurses libncursest libncursesw libncursestw libtinfo + do + for lib in %{buildroot}%{_libdir}/${model}.so.* ; do + test -e "${lib}" || continue + mv "${lib}" %{buildroot}/%{_lib}/ || continue + done + for lib in %{buildroot}/%{_lib}/${model}.so.%{abi} ; do + test -e "${lib}" || continue + test -L "${lib}" || continue + lib=${lib#%{buildroot}} + lnk=%{buildroot}%{_libdir}/${model}.so + case "${lib##*/}" in + libncurses*) + rm -f ${lnk} + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + *) ln -sf ${lib} %{buildroot}%{_libdir}/${model}.so + esac + done + done +%if 0 + lnk=%{buildroot}%{_libdir}/libtermcap.so + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(AS_NEEDED(-ltinfo))" >> ${lnk} +%endif + chmod 0755 %{buildroot}/%{_lib}/lib*.so.* + chmod 0755 %{buildroot}/%{_libdir}/lib*.so.* + chmod a-x %{buildroot}/%{_libdir}/lib*.a +%if %abi < 6 + if test -d %{buildroot}%{_libdir}/ncurses6 ; then + mv %{buildroot}%{_libdir}/ncurses6/*.so.6* %{buildroot}%{_libdir}/ + for lib in %{buildroot}%{_libdir}/ncurses6/*.so + do + lnk=$lib + lib=/%{_lib}/${lib##*/}.6 + case "${lib##*/}" in + libncurses*) + rm -f "${lnk}" + echo '/* GNU ld script */' > ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + libtinfo*) + test -L "${lnk}" || continue + ln -sf ${lib} ${lnk} + ;; + *) + test -L "${lnk}" || continue + ln -sf ../${lib##*/} ${lnk} + esac + done + for model in libncurses libncursest libncursesw libncursestw libtinfo + do + for lib in %{buildroot}%{_libdir}/${model}.so.* ; do + test -e "${lib}" || continue + mv "${lib}" %{buildroot}/%{_lib}/ || continue + done + for lib in %{buildroot}/%{_lib}/${model}.so.6 ; do + test -e "${lib}" || continue + test -L "${lib}" || continue + lib=${lib#%{buildroot}} + lnk=%{buildroot}%{_libdir}/ncurses6/${model}.so + case "${lib##*/}" in + libncurses*) + rm -f ${lnk} + echo '/* GNU ld script */' > ${lnk} + echo 'SEARCH_DIR(%{_libdir}/ncurses6)' >> ${lnk} + echo "INPUT(${lib} AS_NEEDED(-ltinfo))" >> ${lnk} + ;; + *) ln -sf ${lib} %{buildroot}%{_libdir}/ncurses6/${model}.so + esac + done + done + chmod 0755 %{buildroot}/%{_lib}/lib*.so.6* + chmod 0755 %{buildroot}/%{_libdir}/lib*.so.6* + chmod a-x %{buildroot}/%{_libdir}/ncurses6/lib*.a + fi +%endif + test -n "%{buildroot}" || ldconfig -N + mkdir -p %{buildroot}%{_defaultdocdir}/ncurses + bzip2 -c misc/terminfo.src > misc/terminfo.src.bz2 + install -m 644 misc/terminfo.src.bz2 %{buildroot}%{_defaultdocdir}/ncurses/ + install -m 644 doc/html/*.html %{buildroot}%{_defaultdocdir}/ncurses/ + bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2 + install -m 644 doc/ncurses-intro.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/ + bzip2 doc/hackguide.doc -c > doc/hackguide.txt.bz2 + install -m 644 doc/hackguide.txt.bz2 %{buildroot}%{_defaultdocdir}/ncurses/ + install -m 644 README %{buildroot}%{_defaultdocdir}/ncurses/ + install -m 644 NEWS %{buildroot}%{_defaultdocdir}/ncurses/ + mkdir -p %{buildroot}%{_sysconfdir} + mkdir -p %{buildroot}%{_miscdir} + LD_LIBRARY_PATH=$PWD/lib + export LD_LIBRARY_PATH + pushd ncurses/ + { echo "# See annotated version in %{_defaultdocdir}/ncurses/terminfo.src.bz2" +%if 0%{?_crossbuild} + BUILD_TIC=/usr/bin/tic +%else + BUILD_TIC=$PWD/../progs/tic +%endif + $BUILD_TIC -C -r ../misc/terminfo.src | grep -E -v '^#'; } > termcap + # Gererate new termcap entries for various linux consoles + TERMCAP=termcap \ + TERMINFO=%{buildroot}%{_datadir}/terminfo \ + bash %{SOURCE2} + install -m 0644 termcap.new %{buildroot}%{_miscdir}/termcap + popd + unset LD_LIBRARY_PATH + if test `%{_bindir}/id -u` = '0' ; then + chown root:root %{buildroot}%{_miscdir}/termcap + chmod 0644 %{buildroot}%{_miscdir}/termcap + fi + ln -sf %{_miscdir}/termcap %{buildroot}%{_sysconfdir}/termcap + (cat > default.list) <<-EOF + %{tabset std} + %{tabset stdcrt} + %{tabset vt100} + %{tabset vt300} + %{terminfo a/ansi} + %{terminfo d/dumb} + %{terminfo g/gnome} + %{terminfo g/gnome-rh72} + %{terminfo k/klone+color} + %{terminfo k/kvt} + %{terminfo l/linux} + %{terminfo l/linux-m} + %{terminfo l/linux-nic} + %{terminfo m/mlterm} + %{terminfo n/nxterm} + %{terminfo r/rxvt} + %{terminfo s/screen} + %{terminfo s/screen-w} + %{terminfo s/screen-256color} + %{terminfo s/sun} + %{terminfo u/unknown} + %{terminfo v/vt100} + %{terminfo v/vt102} + %{terminfo v/vt220} + %{terminfo v/vt220-8} + %{terminfo v/vt220-8bit} + %{terminfo v/vt320} + %{terminfo v/vt52} + %{terminfo x/xterm} + %{terminfo x/xterm-color} + %{terminfo x/xterm-256color} + %{terminfo x/xterm-basic} + %{terminfo x/xterm-nic} + %{terminfo x/xterm-r6} + EOF + find %{buildroot}%{tabset ""} %{buildroot}%{terminfo ""} \ + \( -type f -or -type l \) | \ + sed "s@^%{buildroot}@@g" | \ + grep -v -F -x -f default.list \ + > extension.list + rm -f %{buildroot}%{_prefix}/lib/terminfo +%if %abi < 6 + +%post -n libncurses -p /sbin/ldconfig + +%postun -n libncurses -p /sbin/ldconfig +%endif + +%post -n libncurses6 -p /sbin/ldconfig + +%postun -n libncurses6 -p /sbin/ldconfig + +%files -n terminfo-base -f default.list +%defattr(-,root,root) +%{_sysconfdir}/termcap +%config %{_miscdir}/termcap +%dir %{_datadir}/tabset/ +%dir %{_datadir}/terminfo/ +%dir %{_datadir}/terminfo/*/ + +%files -n ncurses-utils +%defattr(-,root,root) +%{_bindir}/clear +%{_bindir}/reset +%{_bindir}/tabs +%{_bindir}/toe +%{_bindir}/tput +%{_bindir}/tset +%doc %{_mandir}/man1/clear.1.gz +%doc %{_mandir}/man1/reset.1.gz +%doc %{_mandir}/man1/tabs.1.gz +%doc %{_mandir}/man1/toe.1.gz +%doc %{_mandir}/man1/tput.1.gz +%doc %{_mandir}/man1/tset.1.gz +%doc %{_mandir}/man5/*.gz +%if %abi == 5 + +%files -n libncurses +%defattr(-,root,root) +/%{_lib}/lib*.so.5* +%{_libdir}/lib*.so.5* +%endif + +%files -n libncurses6 +%defattr(-,root,root) +/%{_lib}/lib*.so.6* +%{_libdir}/lib*.so.6* + +%files -n ncurses-devel +%defattr(-,root,root) +%dir %{_defaultdocdir}/ncurses/ +%doc %{_defaultdocdir}/ncurses/* +%{_bindir}/ncurses*-config +%{_bindir}/captoinfo +%{_bindir}/infocmp +%{_bindir}/infotocap +%{_bindir}/tic +%dir %{_incdir}/ncurses/ +%dir %{_incdir}/ncursesw/ +%dir %{_incdir}/ncurses6/ +%dir %{_incdir}/ncurses6/ncurses/ +%dir %{_incdir}/ncurses6/ncursesw/ +%{_incdir}/*.h +%{_incdir}/ncurses*/*.h +%{_incdir}/ncurses*/*/*.h +%dir %{_libdir}/ncurses6/ +%{_libdir}/lib*.a +%{_libdir}/lib*.so +%{_libdir}/ncurses6/lib*.a +%{_libdir}/ncurses6/lib*.so +%doc %{_mandir}/man1/*-config.1.gz +%doc %{_mandir}/man1/captoinfo.1.gz +%doc %{_mandir}/man1/infocmp.1.gz +%doc %{_mandir}/man1/infotocap.1.gz +%doc %{_mandir}/man1/tic.1.gz +%doc %{_mandir}/man3/*.gz +%doc %{_mandir}/man7/*.gz + + +%files -f extension.list -n terminfo +%defattr(-,root,root) + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nspr.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nspr.spec new file mode 100644 index 0000000..8a32afe --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nspr.spec @@ -0,0 +1,92 @@ +Name: nspr +Version: 4.9.2 +Release: 0 +License: MPL-2.0 +Summary: Netscape Portable Runtime +Url: http://www.mozilla.org/projects/nspr/ +Group: System/Libraries +Source: ftp://ftp.mozilla.org/pub/nspr/releases/v%{version}/src/nspr-%{version}.tar.bz2 +Source1: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +NSPR provides platform independence for non-GUI operating system +facilities. These facilities include threads, thread synchronization, +normal file and network I/O, interval timing and calendar time, basic +memory management (malloc and free), and shared library linking. + +%package devel +Summary: Netscape Portable Runtime development files +Group: Development/Libraries/Other +Requires: nspr = %{version} + +%description devel +NSPR provides platform independence for non-GUI operating system +facilities. These facilities include threads, thread synchronization, +normal file and network I/O, interval timing and calendar time, basic +memory management (malloc and free), and shared library linking. + +%prep +%setup -n nspr-%{version} -q +cd mozilla + +%build +# set buildtime to "last-modification-time" +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")" +BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")" +# +cd mozilla/nsprpub +export CFLAGS="%{optflags}" +./configure --enable-optimize="$CFLAGS" \ + --disable-debug \ +%ifarch x86_64 + --enable-64bit \ +%endif + --libdir=%{_libdir} \ + --includedir=%{_includedir}/nspr4 \ + --prefix=%{_prefix} +make SH_DATE="$BUILD_STRING" SH_NOW="$BUILD_TIME" %{?_smp_mflags} +%check +# Run test suite +perl ./mozilla/nsprpub/pr/tests/runtests.pl 2>&1 | tee output.log +TEST_FAILURES=`grep -c FAILED ./output.log` || : +if [ $TEST_FAILURES -ne 0 ]; then + echo "error: test suite returned failure(s)" + exit 1 +fi +echo "test suite completed" + + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_libdir}/nspr +mkdir -p %{buildroot}%{_libdir}/pkgconfig +mkdir -p %{buildroot}%{_includedir}/nspr4 +cp mozilla/nsprpub/config/nspr-config %{buildroot}%{_bindir}/ +cp mozilla/nsprpub/config/nspr.pc %{buildroot}%{_libdir}/pkgconfig +cp -L mozilla/nsprpub/dist/lib/*.so %{buildroot}%{_libdir} +cp -L mozilla/nsprpub/dist/lib/*.a %{buildroot}%{_libdir}/nspr/ +cp -rL mozilla/nsprpub/dist/include/nspr/* %{buildroot}%{_includedir}/nspr4/ +# #31667 +chmod -x %{buildroot}%{_includedir}/nspr4/prvrsion.h + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/*.so + +%files devel +%defattr(-, root, root) +%{_bindir}/nspr-config +%{_libdir}/pkgconfig/nspr.pc +%{_includedir}/nspr4/ +%exclude %{_includedir}/nspr4/md/* +%{_libdir}/nspr/ + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nss.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nss.spec new file mode 100644 index 0000000..f0e8d76 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/nss.spec @@ -0,0 +1,327 @@ +%global nss_softokn_fips_version 3.12.4 + +Name: nss +BuildRequires: gcc-c++ +BuildRequires: nspr-devel +BuildRequires: pkg-config +BuildRequires: zlib-devel +BuildRequires: pkgconfig(sqlite3) +Version: 3.13.6 +Release: 0 +Summary: Network Security Services +License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+ +Group: System/Libraries +Url: http://www.mozilla.org/projects/security/pki/nss/ +# cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r NSS +Source: nss-%{version}.tar.bz2 +Source1: nss.pc.in +Source3: nss-config.in +Source4: %{name}-rpmlintrc +Source5: baselibs.conf +Source6: setup-nsssysinit.sh +Source7: cert9.db +Source8: key4.db +Source9: pkcs11.txt +%define nspr_ver %(rpm -q --queryformat '%{VERSION}' nspr) +Requires(pre): nspr >= %nspr_ver +Requires(pre): libfreebl3 >= %{nss_softokn_fips_version} +Requires(pre): libsoftokn3 >= %{nss_softokn_fips_version} +Requires: nss-certs +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define nssdbdir %{_sysconfdir}/pki/nssdb +%define run_testsuite 0 + +%description +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + + +%package devel +Summary: Network (Netscape) Security Services development files +Group: Development/Libraries/Other +Requires: libfreebl3 +Requires: libsoftokn3 +Requires: nspr-devel +Requires: nss = %{version}-%{release} + +%description devel +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + + +%package tools +Summary: Tools for developing, debugging, and managing applications that use NSS +Group: System/Management +Requires(pre): nss >= %{version} + +%description tools +The NSS Security Tools allow developers to test, debug, and manage +applications that use NSS. + + +%package sysinit +Summary: System NSS Initialization +Group: System/Management +Requires: nss >= %{version} +Requires(post): coreutils + +%description sysinit +Default Operation System module that manages applications loading +NSS globally on the system. This module loads the system defined +PKCS #11 modules for NSS and chains with other NSS modules to load +any system or user configured modules. + + +%package -n libfreebl3 +Summary: Freebl library for the Network Security Services +Group: System/Libraries + +%description -n libfreebl3 +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + +This package installs the freebl library from NSS. + + +%package -n libsoftokn3 +Summary: Network Security Services Softoken Module +Group: System/Libraries +Requires: libfreebl3 = %{version}-%{release} + +%description -n libsoftokn3 +Network Security Services (NSS) is a set of libraries designed to +support cross-platform development of security-enabled server +applications. Applications built with NSS can support SSL v2 and v3, +TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 +certificates, and other security standards. + +Network Security Services Softoken Cryptographic Module + + +%package certs +Summary: CA certificates for NSS +Group: Productivity/Networking/Security + +%description certs +This package contains the integrated CA root certificates from the +Mozilla project. + + +%prep +%setup -n nss-%{version} -q +cd mozilla + +%build +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -name '*.[ch]' -print -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + + +cd mozilla/security/nss +export FREEBL_NO_DEPEND=1 +export NSPR_INCLUDE_DIR=`nspr-config --includedir` +export NSPR_LIB_DIR=`nspr-config --libdir` +export OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +export LIBDIR=%{_libdir} +%ifarch x86_64 +export USE_64=1 +%endif +export NSS_USE_SYSTEM_SQLITE=1 +MAKE_FLAGS="BUILD_OPT=1 NSS_ENABLE_ECC=1" +make nss_build_all $MAKE_FLAGS +# run testsuite +%if 0%{?run_testsuite} +export BUILD_OPT=1 +export HOST="localhost" +export DOMSUF=" " +export USE_IP=TRUE +export IP_ADDRESS="127.0.0.1" +cd tests +./all.sh +if grep "FAILED" ../../../tests_results/security/localhost.1/output.log ; then + echo "Testsuite FAILED" + exit 1 +fi +%endif + +%install +mkdir -p $RPM_BUILD_ROOT%{_libdir} +mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/nss +mkdir -p $RPM_BUILD_ROOT%{_includedir}/nss3 +mkdir -p $RPM_BUILD_ROOT%{_bindir} +mkdir -p $RPM_BUILD_ROOT%{_sbindir} +mkdir -p $RPM_BUILD_ROOT%{nssdbdir} +pushd mozilla/dist/Linux* +# copy headers +cp -rL ../public/nss/*.h $RPM_BUILD_ROOT%{_includedir}/nss3 +# copy dynamic libs +cp -L lib/libnss3.so \ + lib/libnssdbm3.so \ + lib/libnssdbm3.chk \ + lib/libnssutil3.so \ + lib/libnssckbi.so \ + lib/libnsssysinit.so \ + lib/libsmime3.so \ + lib/libsoftokn3.so \ + lib/libsoftokn3.chk \ + lib/libssl3.so \ + $RPM_BUILD_ROOT%{_libdir} +cp -L lib/libfreebl3.so \ + lib/libfreebl3.chk \ + $RPM_BUILD_ROOT/%{_libdir} +# copy static libs +cp -L lib/libcrmf.a \ + lib/libnssb.a \ + lib/libnssckfw.a \ + $RPM_BUILD_ROOT%{_libdir} +# copy tools +cp -L bin/certutil \ + bin/cmsutil \ + bin/crlutil \ + bin/modutil \ + bin/pk12util \ + bin/signtool \ + bin/signver \ + bin/ssltap \ + $RPM_BUILD_ROOT%{_bindir} +# copy unsupported tools +cp -L bin/atob \ + bin/btoa \ + bin/derdump \ + bin/ocspclnt \ + bin/pp \ + bin/selfserv \ + bin/shlibsign \ + bin/strsclnt \ + bin/symkeyutil \ + bin/tstclnt \ + bin/vfyserv \ + bin/vfychain \ + $RPM_BUILD_ROOT%{_libexecdir}/nss +# prepare pkgconfig file +mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ +sed "s:%%LIBDIR%%:%{_libdir}:g +s:%%VERSION%%:%{version}:g +s:%%NSPR_VERSION%%:%{nspr_ver}:g" \ + %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/nss.pc +# prepare nss-config file +popd +NSS_VMAJOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMAJOR" | awk '{print $3}'` +NSS_VMINOR=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VMINOR" | awk '{print $3}'` +NSS_VPATCH=`cat mozilla/security/nss/lib/nss/nss.h | grep "#define.*NSS_VPATCH" | awk '{print $3}'` +cat %{SOURCE3} | sed -e "s,@libdir@,%{_libdir},g" \ + -e "s,@prefix@,%{_prefix},g" \ + -e "s,@exec_prefix@,%{_prefix},g" \ + -e "s,@includedir@,%{_includedir}/nss3,g" \ + -e "s,@MOD_MAJOR_VERSION@,$NSS_VMAJOR,g" \ + -e "s,@MOD_MINOR_VERSION@,$NSS_VMINOR,g" \ + -e "s,@MOD_PATCH_VERSION@,$NSS_VPATCH,g" \ + > $RPM_BUILD_ROOT/%{_bindir}/nss-config +chmod 755 $RPM_BUILD_ROOT/%{_bindir}/nss-config +# setup-nsssysinfo.sh +install -m 744 %{SOURCE6} $RPM_BUILD_ROOT%{_sbindir}/ +# create empty NSS database +#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/modutil -force -dbdir "sql:$RPM_BUILD_ROOT%{nssdbdir}" -create +#LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/certutil -N -d "sql:$RPM_BUILD_ROOT%{nssdbdir}" -f /dev/null 2>&1 > /dev/null +#chmod 644 "$RPM_BUILD_ROOT%{nssdbdir}"/* +#sed "s:%{buildroot}::g +#s/^library=$/library=libnsssysinit.so/ +#/^NSS/s/\(Flags=internal\)\(,[^m]\)/\1,moduleDBOnly\2/" \ +# $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt > $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt.sed +# mv $RPM_BUILD_ROOT%{nssdbdir}/pkcs11.txt{.sed,} +# copy empty NSS database +install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{nssdbdir} +install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{nssdbdir} +install -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{nssdbdir} +# create shlib sigs after extracting debuginfo +%define __spec_install_post \ + %{?__debug_package:%{__debug_install_post}} \ + %{__arch_install_post} \ + %{__os_install_post} \ + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libsoftokn3.so \ + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT%{_libdir}/libnssdbm3.so \ + LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_lib}:$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libexecdir}/nss/shlibsign -i $RPM_BUILD_ROOT/%{_libdir}/libfreebl3.so \ +%{nil} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post -n libfreebl3 -p /sbin/ldconfig + +%postun -n libfreebl3 -p /sbin/ldconfig + +%post -n libsoftokn3 -p /sbin/ldconfig + +%postun -n libsoftokn3 -p /sbin/ldconfig + +%post sysinit +/sbin/ldconfig +# make sure the current config is enabled +%{_sbindir}/setup-nsssysinit.sh on + +%preun sysinit +if [ $1 = 0 ]; then + %{_sbindir}/setup-nsssysinit.sh off +fi + +%postun sysinit -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%{_libdir}/libnss3.so +%{_libdir}/libnssutil3.so +%{_libdir}/libsmime3.so +%{_libdir}/libssl3.so + +%files devel +%defattr(644, root, root, 755) +%{_includedir}/nss3/ +%{_libdir}/*.a +%{_libdir}/pkgconfig/* +%attr(755,root,root) %{_bindir}/nss-config + +%files tools +%defattr(-, root, root) +%{_bindir}/* +%exclude %{_sbindir}/setup-nsssysinit.sh +%{_libexecdir}/nss/ +%exclude %{_bindir}/nss-config + +%files sysinit +%defattr(-, root, root) +%dir %{_sysconfdir}/pki +%dir %{_sysconfdir}/pki/nssdb +%config(noreplace) %{_sysconfdir}/pki/nssdb/* +%{_libdir}/libnsssysinit.so +%{_sbindir}/setup-nsssysinit.sh + +%files -n libfreebl3 +%defattr(-, root, root) +%{_libdir}/libfreebl3.so +%{_libdir}/libfreebl3.chk + +%files -n libsoftokn3 +%defattr(-, root, root) +%{_libdir}/libsoftokn3.so +%{_libdir}/libsoftokn3.chk +%{_libdir}/libnssdbm3.so +%{_libdir}/libnssdbm3.chk + +%files certs +%defattr(-, root, root) +%{_libdir}/libnssckbi.so + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/openssl.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/openssl.spec new file mode 100644 index 0000000..0b892e5 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/openssl.spec @@ -0,0 +1,78 @@ +%define soversion 1.0.0 +%define _unpackaged_files_terminate_build 0 + +Name: openssl +Version: 1.0.1c +Release: 1 +Summary: A general purpose cryptography library with TLS implementation + +Source: openssl-%{version}.tar.gz +Source1001: packaging/openssl.manifest + +License: OpenSSL +Url: http://www.openssl.org/ +Group: System/Libraries + +%description +The OpenSSL toolkit provides support for secure communications between +machines. OpenSSL includes a certificate management tool and shared +libraries which provide various cryptographic algorithms and +protocols. + +%package devel +Summary: Files for development of applications which will use OpenSSL +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +OpenSSL is a toolkit for supporting cryptography. The openssl-devel +package contains include files needed to develop applications which +support various cryptographic algorithms and protocols. + + +%prep +%setup -q + +%build +cp %{SOURCE1001} . +# ia64, x86_64, ppc, ppc64 are OK by default +# Configure the build tree. Override OpenSSL defaults with known-good defaults +# usable on all platforms. The Configure script already knows to use -fPIC and +# RPM_OPT_FLAGS, so we can skip specifiying them here. +./Configure shared \ + --prefix=%{_prefix} --install-prefix=%{buildroot} linux-generic32 -ldl no-asm no-idea no-camellia enable-md2 + +make depend +make all + +%install + +# Install OpenSSL. +make INSTALL_PREFIX=%{buildroot} install + +rm -rf %{buildroot}%{_prefix}/ssl/man +rm -rf %{buildroot}%{_prefix}/ssl/misc/*.pl +rm -rf %{buildroot}%{_prefix}/ssl/misc/tsget +rm -rf %{buildroot}%{_bindir}/c_rehash + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest openssl.manifest +%defattr(-,root,root,-) +%{_bindir}/* +%{_prefix}/ssl +%{_libdir}/engines/*.so +%{_libdir}/libcrypto.so.%{soversion} +%{_libdir}/libssl.so.%{soversion} + +%files devel +%manifest openssl.manifest +%defattr(-,root,root,-) +%{_prefix}/include/openssl +%attr(0644,root,root) %{_libdir}/*.a +%attr(0755,root,root) %{_libdir}/*.so +%attr(0644,root,root) %{_libdir}/pkgconfig/*.pc + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl-gettext.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl-gettext.spec new file mode 100644 index 0000000..e586338 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl-gettext.spec @@ -0,0 +1,52 @@ +Name: perl-gettext +Version: 1.05 +Release: 151 +License: Artistic-1.0 ; GPL-2.0+ +%define cpan_name gettext +Summary: Message handling functions +Url: http://search.cpan.org/dist/gettext/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} + +%description +The gettext module permits access from perl to the gettext() family of +functions for retrieving message strings from databases constructed to +internationalize software. + +gettext(), dgettext(), and dcgettext() attempt to retrieve a string +matching their 'msgid' parameter within the context of the current locale. +dcgettext() takes the message's category and the text domain as parameters +while dcgettext() defaults to the LC_MESSAGES category and gettext() +defaults to LC_MESSAGES and uses the current text domain. If the string is +not found in the database, then 'msgid' is returned. + +textdomain() sets the current text domain and returns the previously active +domain. + +_bindtextdomain(domain, dirname)_ instructs the retrieval functions to look +for the databases belonging to domain 'domain' in the directory 'dirname' + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%defattr(644,root,root,755) +%doc README + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl.spec new file mode 100644 index 0000000..5d9aef3 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/perl.spec @@ -0,0 +1,334 @@ +Name: perl +Summary: The Perl interpreter +License: Artistic-1.0 or GPL-2.0+ +Group: Development/Languages/Perl +Version: 5.16.2 +Release: 0 +%define pversion 5.16.2 +Url: http://www.perl.org/ +Source: perl-%{version}.tar.bz2 +Source1: %name-rpmlintrc +Source2: macros.perl +Source3: README.macros +Source4: baselibs.conf +Requires(pre): perl-base = %version +BuildRequires: db4-devel +BuildRequires: gdbm-devel +BuildRequires: bzip2-devel +BuildRequires: ncurses-devel +BuildRequires: zlib-devel +# +%if "%version" != "%pversion" +Provides: perl = %pversion-%release +%endif +Provides: /bin/perl +Provides: perl-500 +Provides: perl-macros +Provides: perl(:MODULE_COMPAT_%pversion) +Obsoletes: perl-macros +Provides: perl-Filter-Simple +Provides: perl-I18N-LangTags +Provides: perl-MIME-Base64 +Provides: perl-Storable +Provides: perl-Test-Simple = 0.98-%{release} +Obsoletes: perl-Filter-Simple +Obsoletes: perl-I18N-LangTags +Obsoletes: perl-MIME-Base64 +Obsoletes: perl-Storable +Obsoletes: perl-Test-Simple < 0.98 +Provides: perl-Text-Balanced +Provides: perl-Time-HiRes +Provides: perl-libnet +Obsoletes: perl-Text-Balanced +Obsoletes: perl-Time-HiRes +Obsoletes: perl-libnet +Provides: perl-Compress-Raw-Zlib +Provides: perl-Compress-Zlib +Obsoletes: perl-Compress-Raw-Zlib +Obsoletes: perl-Compress-Zlib +Provides: perl-IO-Compress-Base +Provides: perl-IO-Compress-Zlib +Provides: perl-IO-Zlib +Obsoletes: perl-IO-Compress-Base +Obsoletes: perl-IO-Compress-Zlib +Obsoletes: perl-IO-Zlib +Provides: perl-Archive-Tar +Provides: perl-Module-Build +# 0.39 is smaller than 0.3601, but this is what spec files require +Provides: perl(Module::Build) = 0.3900 +Obsoletes: perl-Archive-Tar +Obsoletes: perl-Module-Build +Provides: perl-Locale-Maketext-Simple +Provides: perl-Module-Pluggable +Obsoletes: perl-Locale-Maketext-Simple +Obsoletes: perl-Module-Pluggable +Provides: perl-Pod-Escapes +Provides: perl-Pod-Simple +Obsoletes: perl-Pod-Escapes +Obsoletes: perl-Pod-Simple +Provides: perl-ExtUtils-ParseXS +Provides: perl-version +Obsoletes: perl-ExtUtils-ParseXS +Obsoletes: perl-version + +%description +perl - Practical Extraction and Report Language + +Perl is optimized for scanning arbitrary text files, extracting +information from those text files, and printing reports based on that +information. It is also good for many system management tasks. Perl is +intended to be practical (easy to use, efficient, and complete) rather +than beautiful (tiny, elegant, and minimal). + +Some of the modules available on CPAN can be found in the "perl" +series. + +%package base +Summary: The Perl interpreter +Group: Development/Languages/Perl +Provides: perl-Digest +Provides: perl-Digest-MD5 +%if "%version" != "%pversion" +Provides: perl-base = %pversion-%release +%endif + +%description base +perl - Practical Extraction and Report Language + +Perl is optimized for scanning arbitrary text files, extracting +information from those text files, and printing reports based on that +information. It is also good for many system management tasks. + +Perl is intended to be practical (easy to use, efficient, and complete) +rather than beautiful (tiny, elegant, and minimal). + +This package contains only some basic modules and the perl binary +itself. + +%package doc +Summary: Perl Documentation +Group: Development/Languages/Perl +Requires: perl = %{version} +Provides: perl:/usr/share/man/man3/CORE.3pm.gz +BuildArch: noarch + +%description doc +Perl man pages and pod files. + +%prep +%setup -q -n perl-%{version} +cp -p %{S:3} . + +%build +RPM_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | sed -e "s/--param=ssp-buffer-size=32//g" ) +export RPM_OPT_FLAGS +cp -a lib savelib +export LD_AS_NEEDED=0 +export BZIP2_LIB=%{_libdir} +export BZIP2_INCLUDE=%{_includedir} +export BUILD_BZIP2=0 +options="-Doptimize='$RPM_OPT_FLAGS -Wall -pipe'" +# always use glibc's setenv +options="$options -Accflags='-DPERL_USE_SAFE_PUTENV'" +options="$options -Dotherlibdirs=/usr/lib/perl5/site_perl" +chmod 755 ./configure.gnu +./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=\'true\' $options +make %{?_smp_mflags} +cp -p libperl.so savelibperl.so +cp -p lib/Config.pm saveConfig.pm +cp -p lib/Config_heavy.pl saveConfig_heavy.pl +make clean > /dev/null +make clobber +rm -rf lib +mv savelib lib +./configure.gnu --prefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open $options +make %{?_smp_mflags} + +%check +%ifnarch %arm +#export LD_AS_NEEDED=0 +#make test +%endif + +%install +make install DESTDIR=$RPM_BUILD_ROOT +cp -a $RPM_BUILD_ROOT/usr/lib/perl5/site_perl $RPM_BUILD_ROOT/usr/lib/perl5/vendor_perl +cpa=`echo $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE | sed -e 's@/CORE$@@'` +cp=`echo "$cpa" | sed -e 's@/[^/]*$@@'` +vpa=`echo $cpa | sed -e 's@/perl5/@/perl5/vendor_perl/@'` +vp=`echo "$vpa" | sed -e 's@/[^/]*$@@'` +install -d $vp/auto +install -d $vpa/auto +install -m 555 savelibperl.so $cpa/CORE/libperl.so +install -m 444 saveConfig.pm $cpa/Config.pm +install -m 444 saveConfig_heavy.pl $cpa/Config_heavy.pl +# install macros.perl file +install -D -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.perl +pushd /usr/include +( rpm -ql glibc-devel | fgrep '.h' + find /usr/include/asm/ -name \*.h + find /usr/include/asm-generic -name \*.h + find /usr/include/linux -name \*.h +) | while read f; do + $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa ${f/\/usr\/include\//} || : +done +popd +d="`gcc -print-file-name=include`" +test -f "$d/stdarg.h" && (cd $d ; $RPM_BUILD_ROOT/usr/bin/perl -I$cp -I$cpa $RPM_BUILD_ROOT/usr/bin/h2ph -d $vpa stdarg.h stddef.h float.h) +# remove broken pm - we don't have the module +rm $RPM_BUILD_ROOT/usr/lib/perl5/*/Pod/Perldoc/ToTk.pm +# we don't need this in here +rm $RPM_BUILD_ROOT/usr/lib/perl5/*/*/CORE/libperl.a +#touch $RPM_BUILD_ROOT/usr/share/man/man3/perllocal.3pm +#touch $cpa/perllocal.pod +# test CVE-2007-5116 +$RPM_BUILD_ROOT/usr/bin/perl -e '$r=chr(128)."\\x{100}";/$r/' +# test perl-regexp-refoverflow.diff +$RPM_BUILD_ROOT/usr/bin/perl -e '/\6666666666/' +%if 0 +# remove unrelated target/os manpages +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlaix.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlamiga.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlapollo.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlbeos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlbs2000.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlcygwin.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perldgux.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perldos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlepoc.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlfreebsd.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlhpux.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlhurd.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlirix.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmachten.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmacos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmacosx.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlmint.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlnetware.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlopenbsd.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos2.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos390.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlos400.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlplan9.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlqnx.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlsolaris.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perltru64.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perluts.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvmesa.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvms.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlvos.1* +rm $RPM_BUILD_ROOT/usr/share/man/man1/perlwin32.1* +%endif +cat << EOF > perl-base-filelist +/usr/lib/perl5/%pversion/B/Deparse.pm +/usr/lib/perl5/%pversion/Carp.pm +/usr/lib/perl5/%pversion/Carp/ +/usr/lib/perl5/%pversion/Class/ +/usr/lib/perl5/%pversion/Config/ +/usr/lib/perl5/%pversion/Digest.pm +/usr/lib/perl5/%pversion/Digest/ +/usr/lib/perl5/%pversion/Exporter.pm +/usr/lib/perl5/%pversion/Exporter/ +/usr/lib/perl5/%pversion/File/ +/usr/lib/perl5/%pversion/Getopt/ +/usr/lib/perl5/%pversion/IPC/ +/usr/lib/perl5/%pversion/Text/ +/usr/lib/perl5/%pversion/Tie/Hash.pm +/usr/lib/perl5/%pversion/XSLoader.pm +/usr/lib/perl5/%pversion/warnings.pm +/usr/lib/perl5/%pversion/warnings/ +/usr/lib/perl5/%pversion/AutoLoader.pm +/usr/lib/perl5/%pversion/FileHandle.pm +/usr/lib/perl5/%pversion/SelectSaver.pm +/usr/lib/perl5/%pversion/Symbol.pm +/usr/lib/perl5/%pversion/base.pm +/usr/lib/perl5/%pversion/bytes.pm +/usr/lib/perl5/%pversion/bytes_heavy.pl +/usr/lib/perl5/%pversion/constant.pm +/usr/lib/perl5/%pversion/fields.pm +/usr/lib/perl5/%pversion/feature.pm +/usr/lib/perl5/%pversion/integer.pm +/usr/lib/perl5/%pversion/locale.pm +/usr/lib/perl5/%pversion/overload.pm +/usr/lib/perl5/%pversion/overloading.pm +/usr/lib/perl5/%pversion/strict.pm +/usr/lib/perl5/%pversion/unicore/Heavy.pl +/usr/lib/perl5/%pversion/utf8.pm +/usr/lib/perl5/%pversion/utf8_heavy.pl +/usr/lib/perl5/%pversion/vars.pm +/usr/lib/perl5/%pversion/version.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Data/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Digest/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/File/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/List/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Scalar/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Dir.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/File.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Handle.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Pipe.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Poll.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Seekable.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Select.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/IO/Socket/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/B.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Config_heavy.pl +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Cwd.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/DynaLoader.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Errno.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Fcntl.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/POSIX.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/Socket.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/attributes.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Data/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Digest/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Fcntl/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/File/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/IO/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/List/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Cwd/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/Socket/ +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.bs +/usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX/POSIX.so +/usr/lib/perl5/%pversion/*-linux-thread-multi*/lib.pm +/usr/lib/perl5/%pversion/*-linux-thread-multi*/re.pm +EOF +{ + sed -e 's/^/%%exclude /' perl-base-filelist + (cd $RPM_BUILD_ROOT + for i in usr/lib/perl5/*/pod/*; do + case $i in */perldiag.pod) ;; + *) echo "%%exclude /$i" ;; + esac + done) +} > perl-base-excludes + +%files base -f perl-base-filelist +%defattr(-,root,root) +%dir /usr/lib/perl5 +%dir /usr/lib/perl5/%pversion +%dir /usr/lib/perl5/%pversion/B +%dir /usr/lib/perl5/%pversion/*-linux-thread-multi* +%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto +%dir /usr/lib/perl5/%pversion/*-linux-thread-multi*/auto/POSIX +/usr/bin/perl +/usr/bin/perl%pversion + +%files -f perl-base-excludes +%defattr(-,root,root) +%exclude /usr/bin/perl +%exclude /usr/bin/perl%pversion +/usr/bin/* +/usr/lib/perl5/* +%config %{_sysconfdir}/rpm/macros.perl + +%files doc +%defattr(-,root,root) +%doc README.macros +%exclude /usr/lib/perl5/*/pod/perldiag.pod +%doc /usr/lib/perl5/*/pod +%doc %{_mandir}/man?/* + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/pkg-config.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/pkg-config.spec new file mode 100644 index 0000000..4090236 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/pkg-config.spec @@ -0,0 +1,45 @@ +Name: pkg-config +Version: 0.28 +Release: 0 +Summary: A library management system +License: GPL-2.0+ +Group: Platfrom Development/Tools +Url: http://pkgconfig.freedesktop.org/ +Source: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz +Provides: pkgconfig = %{version} +# pkg-config has a virtual internal pkg-config.pc file, so we should provide it +Provides: pkgconfig(pkg-config) = %{version} + +%description +The pkg-config program is used to retrieve information about installed +libraries in the system. It is typically used to compile and link +against one or more libraries. + +%prep +%setup -q + +%build +%configure\ + --with-internal-glib \ +%if "%{_lib}" == "lib" + --with-pc_path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig +%else + --with-pc_path=/usr/local/%{_lib}/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:%{_libdir}/pkgconfig:%{_datadir}/pkgconfig:/opt/kde3/%{_lib}/pkgconfig +%endif +make %{?_smp_mflags} + +%install +%make_install +rm %{buildroot}%{_datadir}/doc/pkg-config/pkg-config-guide.html + +%files +%defattr(-,root,root) +%license COPYING +%{_bindir}/pkg-config +%{_bindir}/*-pkg-config +%dir %{_datadir}/aclocal +%{_datadir}/aclocal/pkg.m4 + +%docs_package + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/readline.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/readline.spec new file mode 100644 index 0000000..e69df15 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/readline.spec @@ -0,0 +1,134 @@ +%define rl_vers 5.2 +Name: readline +Version: 5.2 +Release: 0 +License: GPL-2.0+ +Summary: The Readline Library +Url: http://www.gnu.org/software/bash/bash.html +Group: System/Libraries +Source0: readline-%{version}.tar.bz2 +Source2: baselibs.conf +BuildRequires: autoconf +BuildRequires: bison +BuildRequires: fdupes +BuildRequires: ncurses-devel +Provides: bash:/%{_libdir}/libreadline.so.5 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%global _sysconfdir /etc +%global _incdir %{_includedir} + +%description +The readline library is used by the Bourne Again Shell (bash, the +standard command interpreter) for easy editing of command lines. This +includes history and search functionality. + +%package devel +Version: 5.2 +Release: 0 +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: libreadline = %{version} +Requires: ncurses-devel +Provides: bash:%{_libdir}/libreadline.a + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%package -n libreadline +Summary: The Readline Library + +%description -n libreadline +The readline library is used by the Bourne Again Shell (bash, the +standard command interpreter) for easy editing of command lines. This +includes history and search functionality. + +%prep +%setup -q -n readline-%{version} + +%build + autoconf + cflags () + { + local flag=$1; shift + case "%{optflags}" in + *${flag}*) return + esac + if test -n "$1" && gcc -Werror $flag -S -o /dev/null -xc /dev/null > /dev/null 2>&1 ; then + local var=$1; shift + eval $var=\${$var:+\$$var\ }$flag + fi + } + echo 'int main () { return !(sizeof(void*) >= 8); }' | gcc -x c -o test64 - + if ./test64 ; then + LARGEFILE="" + else + LARGEFILE="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" + fi + rm -f ./test64 + CFLAGS="%{optflags} $LARGEFILE -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g" + LDFLAGS="" + cflags -std=gnu89 CFLAGS + cflags -Wuninitialized CFLAGS + cflags -Wextra CFLAGS + cflags -Wno-unprototyped-calls CFLAGS + cflags -Wno-switch-enum CFLAGS + cflags -ftree-loop-linear CFLAGS + cflags -pipe CFLAGS + cflags -Wl,--as-needed LDFLAGS + cflags -Wl,-O,2 LDFLAGS + CC=gcc + CC_FOR_BUILD="$CC" + CFLAGS_FOR_BUILD="$CFLAGS" + LDFLAGS_FOR_BUILD="$LDFLAGS" + export CC_FOR_BUILD CFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD CFLAGS LDFLAGS CC + ./configure --build=%{_target_cpu}-tizen-linux \ + --prefix=%{_prefix} \ + --with-curses \ + --mandir=%{_mandir} \ + --infodir=%{_infodir} \ + --libdir=%{_libdir} + make + make documentation + ln -sf shlib/libreadline.so.%{rl_vers} libreadline.so + ln -sf shlib/libreadline.so.%{rl_vers} libreadline.so.5 + ln -sf shlib/libhistory.so.%{rl_vers} libhistory.so + ln -sf shlib/libhistory.so.%{rl_vers} libhistory.so.5 + +%install + make install htmldir=%{_defaultdocdir}/readline DESTDIR=%{buildroot} + make install-shared libdir=/%{_libdir} linkagedir=%{_libdir} DESTDIR=%{buildroot} + rm -rf %{buildroot}%{_defaultdocdir}/bash + rm -rf %{buildroot}%{_defaultdocdir}/readline + chmod 0755 %{buildroot}/%{_libdir}/libhistory.so.%{rl_vers} + chmod 0755 %{buildroot}/%{_libdir}/libreadline.so.%{rl_vers} + rm -f %{buildroot}/%{_libdir}/libhistory.so.%{rl_vers}*old + rm -f %{buildroot}/%{_libdir}/libreadline.so.%{rl_vers}*old + # remove unpackaged files + #rm -fv %{buildroot}%{_libdir}/libhistory.so.* + #rm -fv %{buildroot}%{_libdir}/libreadline.so.* + rm -fv %{buildroot}%{_mandir}/man3/history.3* + rm -fv %{buildroot}%{_infodir}/*.info* + +%post -n libreadline -p /sbin/ldconfig + +%postun -n libreadline -p /sbin/ldconfig + + +%files -n libreadline +%defattr(-,root,root) +%{_libdir}/libhistory.so.5 +%{_libdir}/libhistory.so.%{rl_vers} +%{_libdir}/libreadline.so.5 +%{_libdir}/libreadline.so.%{rl_vers} + +%files devel +%defattr(-,root,root) +%{_incdir}/readline/ +%{_libdir}/libhistory.a +%{_libdir}/libhistory.so +%{_libdir}/libreadline.a +%{_libdir}/libreadline.so +%doc %{_mandir}/man3/readline.3.gz + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/smack.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/smack.spec new file mode 100644 index 0000000..3b9a534 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/smack.spec @@ -0,0 +1,81 @@ +Name: smack +Version: 1.0 +Release: 1 +Summary: Package to interact with Smack +Group: System/Kernel +License: LGPL-2.1 +URL: https://github.com/smack-team/smack +Source0: %{name}-%{version}.tar.gz +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: libtool + +%description +Library allows applications to work with Smack + +%package devel +Summary: Development headers and libs for libsmack +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Standard header files for use when developing Smack enabled applications + +%package utils +Summary: Selection of tools for developers working with Smack +Group: System/Kernel +Requires: %{name} = %{version}-%{release} + +%description utils +Tools provided to load and unload rules from the kernel and query the policy + +%prep +%setup -q + +%build +autoreconf --install --symlink +%configure --with-systemdsystemunitdir=%{_prefix}/lib/systemd/system + +make %{?_smp_mflags} + +%install +%make_install + +install -d %{buildroot}/etc/smack/accesses.d +install -d %{buildroot}/etc/smack/cipso.d +install -d %{buildroot}/smack + +install -d %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants +install -d %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants +ln -s ../smack.service %{buildroot}%{_prefix}/lib/systemd/system/basic.target.wants/smack.service +ln -s ../smack.mount %{buildroot}%{_prefix}/lib/systemd/system/local-fs.target.wants/smack.mount + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%docs_package + +%files +%defattr(644,root,root,755) +%{_libdir}/libsmack.so.* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/sys/smack.h +%{_libdir}/libsmack.so +%{_libdir}/pkgconfig/libsmack.pc + +%files utils +%defattr(644,root,root,755) +%{_sysconfdir}/smack +%{_sysconfdir}/smack/accesses.d +%{_sysconfdir}/smack/cipso.d +/smack +%attr(755,root,root) %{_bindir}/* +%{_prefix}/lib/systemd/system/smack.mount +%{_prefix}/lib/systemd/system/local-fs.target.wants/smack.mount +%{_prefix}/lib/systemd/system/smack.service +%{_prefix}/lib/systemd/system/basic.target.wants/smack.service diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/texinfo.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/texinfo.spec new file mode 100644 index 0000000..8be9df1 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/texinfo.spec @@ -0,0 +1,227 @@ +Name: texinfo +BuildRequires: automake +BuildRequires: help2man +BuildRequires: bzip2-devel +BuildRequires: libzio-devel +BuildRequires: ncurses-devel +BuildRequires: perl-gettext +BuildRequires: zlib-devel +Version: 4.13a +Release: 0 +%global version_t2h 1.82 +%global version_t2r 2.0 +Summary: Tools Needed to Create Documentation from Texinfo Sources +License: GPL-2.0+ ; GPL-3.0+ +Group: Productivity/Publishing/Texinfo +Url: http://www.texinfo.org +Provides: texi2html = %{version_t2h} +Provides: texi2roff = %{version_t2r} +Source: ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-%{version}.tar.bz2 +Source1: http://download.savannah.nongnu.org/releases/texi2html/texi2html-%{version_t2h}.tar.bz2 +# texinfo.org: the domain is expired. +# http://texinfo.org/texi2roff/texi2roff-%{version_t2r}.tar.bz2 +Source2: texi2roff-%{version_t2r}.tar.bz2 +Source10: info-dir +Patch: texinfo-4.12.dif +Patch1: texi2html-1.78.dif +Patch2: texi2roff-2.0.dif +Patch3: texi2roff.patch.bz2 +Patch4: texinfo-4.12-zlib.patch +Patch5: texinfo-4.8-echo.patch +Patch6: texi2roff-2.0-gcc4.patch +Patch7: texinfo-4.13a-bug640417.diff +Patch8: texinfo-4.13a-bug713517.diff +Patch9: automake-1.12.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Texinfo is a documentation system that uses a single source file to +produce both online information and printed output. Using Texinfo, you +can create a printed document with the normal features of a book, +including chapters, sections, cross-references, and indices. From the +same Texinfo source file, you can create a menu-driven, online info +file with nodes, menus, cross-references, and indices using the included +makeinfo tool. + +Aggregated with texinfo in this package is texi2html and texi2roff. + + +Authors: +-------- + Andreas Schwab + Brian Fox + Charles Hannum + Daniel Hagerty + David J. MacKenzie + Eli Zaretskii + Jim Meyering + Karl Berry + Kaveh R. Ghazi + Noah Friedman + Richard Stallman + Robert J. Chassell + Roland McGrath + +%package -n info +Summary: A Stand-Alone Terminal-Based Info Browser +License: GPL-3.0+ +Group: Productivity/Publishing/Texinfo +PreReq: bash zlib libzio + +%description -n info +Info is a terminal-based program for reading documentation of computer +programs in the Info format. The GNU Project distributes most of its +on-line manuals in the Info format, so you need a program called "Info +reader" to read the manuals. + + + +Authors: +-------- + Andreas Schwab + Brian Fox + Charles Hannum + Daniel Hagerty + David J. MacKenzie + Eli Zaretskii + Jim Meyering + Karl Berry + Kaveh R. Ghazi + Noah Friedman + Richard Stallman + Robert J. Chassell + Roland McGrath + +%package -n makeinfo +Summary: Translate Texinfo documents to info format +License: GPL-3.0+ +Group: Productivity/Publishing/Texinfo +Provides: texinfo:/usr/bin/makeinfo +Suggests: texinfo + +%description -n makeinfo +Makeinfo translates Texinfo source documentation to various other +formats, by default Info files suitable for reading online with Emacs +or standalone GNU Info. + +%prep +rm -rf texi2html-%{version_t2h} texi2roff-%{version_t2r} +%setup -q -b 1 -b 2 -n texinfo-4.13 +%patch4 -p0 -b .zlib +%patch5 -p0 -b .echo +%patch7 -p1 -b .size_t +%patch8 -p0 -b .egrep +%patch9 -p1 +%patch -p0 +pushd ../texi2html-%{version_t2h} +%patch1 -p0 +popd +pushd ../texi2roff-%{version_t2r} +%patch3 -p0 -b .Bader +%patch2 -p0 +%patch6 -p1 +popd + +%build + HOST=%{_target_cpu}-tizen-linux + CFLAGS="$RPM_OPT_FLAGS -pipe" + LDFLAGS="" + CC=gcc + export CFLAGS LDFLAGS CC + export LD_AS_NEEDED=0 + AUTOPOINT=true autoreconf -fi + ./configure --build=$HOST \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --infodir=%{_infodir} \ + --without-included-gettext \ + --enable-nls + PATH=${PWD}/makeinfo:${PWD}/util:$PATH + export PATH + make %{?_smp_mflags}; +pushd ../texi2html-%{version_t2h} + ./configure --build=$HOST \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} \ + --datadir=%{_datadir} \ + --infodir=%{_infodir} \ + --without-included-gettext \ + --enable-nls + make %{?_smp_mflags}; +popd +pushd ../texi2roff-%{version_t2r} + rm -f texi2roff + make %{?_smp_mflags}; +popd + +%install + export LD_AS_NEEDED=0 + make DESTDIR=%{buildroot} \ + infodir=%{_infodir} \ + htmldir=%{_defaultdocdir}/texi2html install + mkdir -p %{buildroot}/sbin + mv %{buildroot}%{_bindir}/install-info %{buildroot}/sbin/ + ln -sf ../../sbin/install-info %{buildroot}%{_bindir}/install-info + mkdir -p %{buildroot}%{_infodir} + install -m 644 %{S:10} %{buildroot}%{_infodir}/dir +pushd ../texi2html-%{version_t2h} + make DESTDIR=%{buildroot} \ + infodir=%{_infodir} \ + texinfohtmldir=%{_defaultdocdir}/texi2html install + install -m 644 README %{buildroot}%{_defaultdocdir}/texi2html/ + install -m 644 NEWS %{buildroot}%{_defaultdocdir}/texi2html/ + install -m 644 COPYING %{buildroot}%{_defaultdocdir}/texi2html/ +popd +pushd ../texi2roff-%{version_t2r} + doc=%{_defaultdocdir}/texi2roff + install -m 755 texi2roff %{buildroot}%{_bindir}/ + install -m 755 texi2index %{buildroot}%{_bindir}/ + install -m 644 texi2roff.1 %{buildroot}%{_mandir}/man1/ + mkdir -p %{buildroot}${doc} + install -m 644 Readme %{buildroot}${doc} + install -m 644 copyright %{buildroot}${doc} +popd +%find_lang %name %{name}.lang + +%clean +test -n "%{buildroot}" && rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%dir %{_defaultdocdir}/texi2html +%dir %{_defaultdocdir}/texi2roff +%doc ABOUT-NLS AUTHORS COPYING INTRODUCTION NEWS README TODO +%doc doc/texinfo.tex doc/txi-*.tex +%doc %{_defaultdocdir}/texi2html/* +%doc %{_defaultdocdir}/texi2roff/* +%{_bindir}/pdftexi* +%{_bindir}/texi* +%{_infodir}/texinfo*.gz +%{_infodir}/texi2html*.gz +%{_mandir}/man1/pdftexi2dvi.1.gz +%{_mandir}/man1/texi*.1.gz +%{_mandir}/man5/texinfo.5.gz +%{_datadir}/texinfo +%{_datadir}/texi2html + +%files -n makeinfo -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/makeinfo +%{_mandir}/man1/makeinfo.1.gz + +%files -n info +%defattr(-,root,root) +%config(noreplace) %verify(not md5 size mtime) %{_infodir}/dir +/sbin/install-info +%{_bindir}/install-info +%{_bindir}/info +%{_bindir}/infokey +%{_infodir}/info.info* +%{_infodir}/info-stnd.info* +%{_mandir}/man1/info.1* +%{_mandir}/man1/infokey.1* +%{_mandir}/man1/install-info.1* +%{_mandir}/man5/info.5* + +%changelog diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/uthash.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/uthash.spec new file mode 100644 index 0000000..6b7a0d2 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/uthash.spec @@ -0,0 +1,40 @@ +Name: uthash +Version: 1.9.7 +Release: 1 +License: BSD-style single-clause +Summary: A hash table for C structures +Group: System/Kernel +Source0: %{name}-%{version}.tar.bz2 + +%description +Any C structure can be stored in a hash table using +uthash. Just add a UT_hash_handle to the structure +and choose one or more fields in your structure to +act as the key. Then use these macros to store, +retrieve or delete items from the hash table. + +%package devel +Summary: Development files for %name +Group: Development/Libraries + +%description devel +Development files for %name. + +%prep +%setup -q +%build + +%install + +mkdir -p %{buildroot}/usr/include +cd src +cp utarray.h uthash.h utlist.h utstring.h %{buildroot}/usr/include + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/utarray.h +%{_includedir}/uthash.h +%{_includedir}/utlist.h +%{_includedir}/utstring.h + diff --git a/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/zlib.spec b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/zlib.spec new file mode 100644 index 0000000..7bd9e53 --- /dev/null +++ b/Tizen_TZ_package/recipes-DevelopmentExtra/specfile-initial/zlib.spec @@ -0,0 +1,142 @@ +%define keepstatic 1 +Name: zlib +Provides: libz +Obsoletes: libz +Version: 1.2.7 +Release: 0 +Summary: Data Compression Library +License: Zlib +Group: System/Libraries +Url: http://www.zlib.net/ +# git://github.com/kaffeemonster/zlib.git (branch adler32_vec) +Source: http://zlib.net/zlib-%{version}.tar.bz2 +Source1: LICENSE +Source2: baselibs.conf +BuildRequires: pkgconfig + +%description +ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt +(deflate format) and rfc1952.txt (gzip format). These documents are +also available in other formats from +ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html. + +%package devel +Summary: Include Files and Libraries mandatory for Development +Group: Development/Languages/C and C++ +Requires: glibc-devel +Requires: zlib = %{version} +Provides: libz:/usr/include/zlib.h + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require the provided includes and +libraries. + +%package devel-static +Summary: Include Files and Libraries mandatory for Development +Group: Development/Languages/C and C++ +Requires: %{name}-devel = %{version} +Provides: %{name}-devel:%{_libdir}/libz.a + +%description devel-static +This package contains all necessary include files and libraries needed +to develop applications that require the provided includes and +libraries. + +%package -n minizip +Summary: Minizip manipulates files from a .zip archive +Group: System/Libraries +Requires: %{name} = %{version}-%{release} + +%description -n minizip +Minizip manipulates files from a .zip archive. + +%package -n minizip-devel +Summary: Development files for the minizip library +Group: Development/Libraries +Requires: minizip = %{version}-%{release} + +%description -n minizip-devel +This package contains the libraries and header files needed for +developing applications which use minizip. + +%prep +%setup -q + +%build +export LDFLAGS="-Wl,-z,relro,-z,now" +%define do_profiling 0 +%if %{do_profiling} +profiledir=$(mktemp -d) +trap "rm -rf $profiledir" EXIT +CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib} +make CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" %{?_smp_mflags} +time make check +make clean +make CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags} +%else +export CFLAGS="%{optflags}" +CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib} +make %{?_smp_mflags} +%endif + +cd contrib/minizip +%reconfigure +make %{?_smp_mflags} + +%check +time make check + +%install +#mkdir -p %{buildroot}%{_mandir}/man3 +mkdir -p %{buildroot}%{_libdir} +%make_install +ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so +rm -v %{buildroot}/%{_lib}/libz.so +# static lib +mv %{buildroot}/%{_lib}/libz.a %{buildroot}%{_libdir} +# Move .pc file to %{_libdir} +mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir} +# manpage +install -m 644 zlib.3 %{buildroot}%{_mandir}/man3 +install -m 644 zutil.h %{buildroot}%{_includedir} + +pushd contrib/minizip +make install DESTDIR=$RPM_BUILD_ROOT +rm -rf %{buildroot}%{_libdir}/libminizip.a +rm -rf %{buildroot}%{_libdir}/libminizip.la +popd + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +/%{_lib}/libz.so.1.2.* +/%{_lib}/libz.so.1 + +%files devel +%defattr(-,root,root) +%doc README +%{_mandir}/man3/zlib.3.gz +%{_includedir}/zlib.h +%{_includedir}/zconf.h +%{_includedir}/zutil.h +%{_libdir}/libz.so +%{_libdir}/pkgconfig/zlib.pc + +%files devel-static +%defattr(-,root,root) +%{_libdir}/libz.a + +%files -n minizip +%{_libdir}/libminizip.so.* + +%files -n minizip-devel +%dir %{_includedir}/minizip +%{_includedir}/minizip/*.h +%{_libdir}/libminizip.so +%{_libdir}/pkgconfig/minizip.pc + +%changelog diff --git a/meta-tizen/recipes-BaseSystem/bash/bash-depends.inc b/meta-tizen/recipes-BaseSystem/bash/bash-depends.inc new file mode 100644 index 0000000..f0aa0c5 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/bash/bash-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of bash +DEPENDS += "autoconf" +DEPENDS += "bison" diff --git a/meta-tizen/recipes-BaseSystem/bash/bash.inc b/meta-tizen/recipes-BaseSystem/bash/bash.inc index 05c601a..b2ff4ea 100644 --- a/meta-tizen/recipes-BaseSystem/bash/bash.inc +++ b/meta-tizen/recipes-BaseSystem/bash/bash.inc @@ -14,12 +14,6 @@ PROVIDES += "/bin/sh" RPROVIDES_bash += "/bin/sh" -DEPENDS = "" -#DEPENDS of bash -DEPENDS += "autoconf" -DEPENDS += "bison" - - RDEPENDS = "" PACKAGES = "" @@ -35,4 +29,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require bash-depends.inc require bash-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-depends.inc b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-depends.inc new file mode 100644 index 0000000..0b47ffd --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of ca-certificates-mozilla +DEPENDS += "openssl" diff --git a/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc index 9e3d522..1d12598 100644 --- a/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc +++ b/meta-tizen/recipes-BaseSystem/ca-certificates-mozilla/ca-certificates-mozilla.inc @@ -13,11 +13,6 @@ PROVIDES += "openssl-certs" RPROVIDES_ca-certificates-mozilla += "openssl-certs" -DEPENDS = "" -#DEPENDS of ca-certificates-mozilla -DEPENDS += "openssl" - - RDEPENDS = "" PACKAGES = "" @@ -33,4 +28,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require ca-certificates-mozilla-depends.inc require ca-certificates-mozilla-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/connman/connman-depends.inc b/meta-tizen/recipes-BaseSystem/connman/connman-depends.inc new file mode 100644 index 0000000..36af7f4 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/connman/connman-depends.inc @@ -0,0 +1,8 @@ +DEPENDS = "" +#DEPENDS of connman +DEPENDS += "dbus" +DEPENDS += "glib-2.0" +DEPENDS += "libiptc" +DEPENDS += "xtables" +DEPENDS += "gnutls" +DEPENDS += "readline" diff --git a/meta-tizen/recipes-BaseSystem/connman/connman.inc b/meta-tizen/recipes-BaseSystem/connman/connman.inc index 0cf7dca..b42b0c1 100644 --- a/meta-tizen/recipes-BaseSystem/connman/connman.inc +++ b/meta-tizen/recipes-BaseSystem/connman/connman.inc @@ -18,16 +18,6 @@ PROVIDES += "connman-test" RPROVIDES_connman-test += "connman-test" -DEPENDS = "" -#DEPENDS of connman -DEPENDS += "dbus-1" -DEPENDS += "glib-2.0" -DEPENDS += "libiptc" -DEPENDS += "xtables" -DEPENDS += "gnutls" -DEPENDS += "readline" - - RDEPENDS = "" #RDEPENDS of connman RDEPENDS_connman += "systemd" @@ -65,4 +55,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require connman-depends.inc require connman-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/coreutils/coreutils-depends.inc b/meta-tizen/recipes-BaseSystem/coreutils/coreutils-depends.inc new file mode 100644 index 0000000..a3c9485 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/coreutils/coreutils-depends.inc @@ -0,0 +1,10 @@ +DEPENDS = "" +#DEPENDS of coreutils +DEPENDS += "automake" +DEPENDS += "gmp-devel" +DEPENDS += "help2man" +DEPENDS += "acl" +DEPENDS += "libcap" +DEPENDS += "pam" +DEPENDS += "xz" +DEPENDS += "gettext" diff --git a/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc b/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc index 1d13248..e43464d 100644 --- a/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc +++ b/meta-tizen/recipes-BaseSystem/coreutils/coreutils.inc @@ -44,18 +44,6 @@ PROVIDES += "coreutils-lang-all" RPROVIDES_coreutils-lang += "coreutils-lang-all" -DEPENDS = "" -#DEPENDS of coreutils -DEPENDS += "automake" -DEPENDS += "gmp" -DEPENDS += "help2man" -DEPENDS += "libacl" -DEPENDS += "libcap" -DEPENDS += "pam" -DEPENDS += "xz" -DEPENDS += "gettext-tools" - - RDEPENDS = "" #RDEPENDS of coreutils # the RDEPENDS rules is ignore "pam >= 1.1.1.90" @@ -79,4 +67,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require coreutils-depends.inc require coreutils-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/curl/curl-depends.inc b/meta-tizen/recipes-BaseSystem/curl/curl-depends.inc new file mode 100644 index 0000000..f85f77c --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/curl/curl-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of curl +DEPENDS += "openssl" +DEPENDS += "libidn" +DEPENDS += "nss" +DEPENDS += "zlib" +DEPENDS += "libcares" diff --git a/meta-tizen/recipes-BaseSystem/curl/curl.inc b/meta-tizen/recipes-BaseSystem/curl/curl.inc index 837cbec..99b1303 100644 --- a/meta-tizen/recipes-BaseSystem/curl/curl.inc +++ b/meta-tizen/recipes-BaseSystem/curl/curl.inc @@ -23,15 +23,6 @@ PROVIDES += "curl-devel" RPROVIDES_libcurl-devel += "curl-devel" -DEPENDS = "" -#DEPENDS of curl -DEPENDS += "openssl" -DEPENDS += "libidn" -DEPENDS += "nss" -DEPENDS += "zlib" -DEPENDS += "libcares" - - RDEPENDS = "" #RDEPENDS of libcurl-devel # the RDEPENDS rules is ignore "libcurl = 7.21.3-1" @@ -60,4 +51,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require curl-depends.inc require curl-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-depends.inc b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-depends.inc new file mode 100644 index 0000000..f2c685d --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of e2fsprogs +DEPENDS += "autoconf" +DEPENDS += "util-linux" +DEPENDS += "util-linux" +DEPENDS += "pkg-config" diff --git a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc index 2c9718f..91ee18e 100644 --- a/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc +++ b/meta-tizen/recipes-BaseSystem/e2fsprogs/e2fsprogs.inc @@ -30,14 +30,6 @@ PROVIDES += "libext2fs-devel" RPROVIDES_libext2fs-devel += "libext2fs-devel" -DEPENDS = "" -#DEPENDS of e2fsprogs -DEPENDS += "autoconf" -DEPENDS += "libblkid" -DEPENDS += "libuuid" -DEPENDS += "pkg-config" - - RDEPENDS = "" #RDEPENDS of e2fsprogs-devel RDEPENDS_e2fsprogs-devel += "libblkid-devel" @@ -95,4 +87,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require e2fsprogs-depends.inc require e2fsprogs-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/filesystem/filesystem-depends.inc b/meta-tizen/recipes-BaseSystem/filesystem/filesystem-depends.inc new file mode 100644 index 0000000..52d5a74 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/filesystem/filesystem-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of filesystem +DEPENDS += "iso-codes" diff --git a/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc b/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc index d0c0c0e..4a8b8f7 100644 --- a/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc +++ b/meta-tizen/recipes-BaseSystem/filesystem/filesystem.inc @@ -10,11 +10,6 @@ PROVIDES += "filesystem" RPROVIDES_filesystem += "filesystem" -DEPENDS = "" -#DEPENDS of filesystem -DEPENDS += "iso-codes" - - RDEPENDS = "" PACKAGES = "" @@ -30,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require filesystem-depends.inc require filesystem-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/gdbm/gdbm-depends.inc b/meta-tizen/recipes-BaseSystem/gdbm/gdbm-depends.inc new file mode 100644 index 0000000..0e4c32f --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/gdbm/gdbm-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of gdbm +DEPENDS += "libtool" diff --git a/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc b/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc index c9be7fb..e93025d 100644 --- a/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc +++ b/meta-tizen/recipes-BaseSystem/gdbm/gdbm.inc @@ -23,11 +23,6 @@ PROVIDES += "gdbm:/usr/lib/libgdbm.so" RPROVIDES_gdbm-devel += "gdbm:/usr/lib/libgdbm.so" -DEPENDS = "" -#DEPENDS of gdbm -DEPENDS += "libtool" - - RDEPENDS = "" #RDEPENDS of gdbm-devel # the RDEPENDS rules is ignore "gdbm = 1.10" @@ -51,4 +46,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require gdbm-depends.inc require gdbm-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc-depends.inc b/meta-tizen/recipes-BaseSystem/glibc/glibc-depends.inc new file mode 100644 index 0000000..61e9ef1 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc-depends.inc @@ -0,0 +1,8 @@ +DEPENDS = "" +#DEPENDS of glibc +DEPENDS += "fdupes" +DEPENDS += "texinfo" +DEPENDS += "xz" +DEPENDS += "gcc" +DEPENDS += "gettext" +DEPENDS += "gcc" diff --git a/meta-tizen/recipes-BaseSystem/glibc/glibc.inc b/meta-tizen/recipes-BaseSystem/glibc/glibc.inc index 2c281cd..b956009 100644 --- a/meta-tizen/recipes-BaseSystem/glibc/glibc.inc +++ b/meta-tizen/recipes-BaseSystem/glibc/glibc.inc @@ -61,10 +61,6 @@ PROVIDES += "glibc-profile" RPROVIDES_glibc-profile += "glibc-profile" - - - - RDEPENDS = "" #RDEPENDS of glibc-devel # the RDEPENDS rules is ignore "glibc = 2.17" @@ -153,4 +149,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require glibc-depends.inc require glibc-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/kbd/kbd-depends.inc b/meta-tizen/recipes-BaseSystem/kbd/kbd-depends.inc new file mode 100644 index 0000000..05b6b4e --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kbd/kbd-depends.inc @@ -0,0 +1,5 @@ +DEPENDS = "" +#DEPENDS of kbd +DEPENDS += "bison" +DEPENDS += "flex" +DEPENDS += "gettext" diff --git a/meta-tizen/recipes-BaseSystem/kbd/kbd.inc b/meta-tizen/recipes-BaseSystem/kbd/kbd.inc index a4ae0d7..ff689fb 100644 --- a/meta-tizen/recipes-BaseSystem/kbd/kbd.inc +++ b/meta-tizen/recipes-BaseSystem/kbd/kbd.inc @@ -14,13 +14,6 @@ PROVIDES += "kbd" RPROVIDES_kbd += "kbd" -DEPENDS = "" -#DEPENDS of kbd -DEPENDS += "bison" -DEPENDS += "flex" -DEPENDS += "gettext" - - RDEPENDS = "" #RDEPENDS of kbd # the RDEPENDS rules is ignore "kbd-misc = 1.15.3" @@ -44,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require kbd-depends.inc require kbd-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/kmod/kmod-depends.inc b/meta-tizen/recipes-BaseSystem/kmod/kmod-depends.inc new file mode 100644 index 0000000..579a286 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/kmod/kmod-depends.inc @@ -0,0 +1,9 @@ +DEPENDS = "" +#DEPENDS of kmod +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" +DEPENDS += "pkg-config" +DEPENDS += "xz" +DEPENDS += "xz" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-BaseSystem/kmod/kmod.inc b/meta-tizen/recipes-BaseSystem/kmod/kmod.inc index 0b06f19..3bbc899 100644 --- a/meta-tizen/recipes-BaseSystem/kmod/kmod.inc +++ b/meta-tizen/recipes-BaseSystem/kmod/kmod.inc @@ -22,18 +22,6 @@ PROVIDES += "libkmod" RPROVIDES_libkmod += "libkmod" -DEPENDS = "" -#DEPENDS of kmod -DEPENDS += "autoconf" -DEPENDS += "automake" -DEPENDS += "libtool" -# the DEPENDS rules is ignore "pkgconfig >= 0.21" -DEPENDS += "pkgconfig" -DEPENDS += "xz" -DEPENDS += "liblzma" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of libkmod-devel # the RDEPENDS rules is ignore "libkmod = 9" @@ -65,4 +53,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require kmod-depends.inc require kmod-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-depends.inc b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-depends.inc new file mode 100644 index 0000000..de76efb --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of libcap-ng +DEPENDS += "linux-glibc-devel" +DEPENDS += "attr" +DEPENDS += "pkg-config" +DEPENDS += "python" diff --git a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc index 6397038..80437f9 100644 --- a/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc +++ b/meta-tizen/recipes-BaseSystem/libcap-ng/libcap-ng.inc @@ -18,15 +18,6 @@ PROVIDES += "libcap-ng-utils" RPROVIDES_libcap-ng-utils += "libcap-ng-utils" -DEPENDS = "" -#DEPENDS of libcap-ng -# the DEPENDS rules is ignore "kernel-headers >= 2.6.11" -DEPENDS += "kernel-headers" -DEPENDS += "libattr" -DEPENDS += "pkg-config" -DEPENDS += "python" - - RDEPENDS = "" #RDEPENDS of libcap-ng-devel # the RDEPENDS rules is ignore "libcap-ng = 0.6.6" @@ -57,4 +48,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libcap-ng-depends.inc require libcap-ng-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/net-tools/net-tools-depends.inc b/meta-tizen/recipes-BaseSystem/net-tools/net-tools-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/net-tools/net-tools-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc b/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc index 7f08e93..f594e85 100644 --- a/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc +++ b/meta-tizen/recipes-BaseSystem/net-tools/net-tools.inc @@ -10,8 +10,6 @@ PROVIDES += "net-tools" RPROVIDES_net-tools += "net-tools" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require net-tools-depends.inc require net-tools-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/nspr/nspr-depends.inc b/meta-tizen/recipes-BaseSystem/nspr/nspr-depends.inc new file mode 100644 index 0000000..2eec948 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/nspr/nspr-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of nspr +DEPENDS += "gcc" +DEPENDS += "pkg-config" diff --git a/meta-tizen/recipes-BaseSystem/nspr/nspr.inc b/meta-tizen/recipes-BaseSystem/nspr/nspr.inc index 6756c2a..57e9795 100644 --- a/meta-tizen/recipes-BaseSystem/nspr/nspr.inc +++ b/meta-tizen/recipes-BaseSystem/nspr/nspr.inc @@ -14,12 +14,6 @@ PROVIDES += "nspr" RPROVIDES_nspr += "nspr" -DEPENDS = "" -#DEPENDS of nspr -DEPENDS += "gcc" -DEPENDS += "pkg-config" - - RDEPENDS = "" #RDEPENDS of nspr-devel # the RDEPENDS rules is ignore "nspr = 4.9.2" @@ -43,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require nspr-depends.inc require nspr-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/pam/pam-depends.inc b/meta-tizen/recipes-BaseSystem/pam/pam-depends.inc new file mode 100644 index 0000000..25ba3de --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pam/pam-depends.inc @@ -0,0 +1,11 @@ +DEPENDS = "" +#DEPENDS of pam +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "bison" +DEPENDS += "db4" +DEPENDS += "flex" +DEPENDS += "gcc" +DEPENDS += "libtool" +DEPENDS += "net-tools" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-BaseSystem/pam/pam.inc b/meta-tizen/recipes-BaseSystem/pam/pam.inc index b41ef1b..ff77fa0 100644 --- a/meta-tizen/recipes-BaseSystem/pam/pam.inc +++ b/meta-tizen/recipes-BaseSystem/pam/pam.inc @@ -18,19 +18,6 @@ PROVIDES += "pam-devel" RPROVIDES_pam-devel += "pam-devel" -DEPENDS = "" -#DEPENDS of pam -DEPENDS += "autoconf" -DEPENDS += "automake" -DEPENDS += "bison" -DEPENDS += "db4" -DEPENDS += "flex" -DEPENDS += "gcc" -DEPENDS += "libtool" -DEPENDS += "net-tools" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of pam-modules-extra # the RDEPENDS rules is ignore "pam = 1.1.6" @@ -62,4 +49,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require pam-depends.inc require pam-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/pciutils/pciutils-depends.inc b/meta-tizen/recipes-BaseSystem/pciutils/pciutils-depends.inc new file mode 100644 index 0000000..cf63a59 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pciutils/pciutils-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of pciutils +DEPENDS += "pkg-config" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc b/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc index 91bdec5..ec2172a 100644 --- a/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc +++ b/meta-tizen/recipes-BaseSystem/pciutils/pciutils.inc @@ -18,12 +18,6 @@ PROVIDES += "pciutils" RPROVIDES_pciutils += "pciutils" -DEPENDS = "" -#DEPENDS of pciutils -DEPENDS += "pkg-config" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of pciutils-devel # the RDEPENDS rules is ignore "libpci = 3.1.9" @@ -54,4 +48,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require pciutils-depends.inc require pciutils-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/procps/procps-depends.inc b/meta-tizen/recipes-BaseSystem/procps/procps-depends.inc new file mode 100644 index 0000000..3e4c5f2 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/procps/procps-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of procps +DEPENDS += "automake" +DEPENDS += "libtool" +DEPENDS += "ncurses" +DEPENDS += "pkg-config" diff --git a/meta-tizen/recipes-BaseSystem/procps/procps.inc b/meta-tizen/recipes-BaseSystem/procps/procps.inc index 05b7603..0bd4c3a 100644 --- a/meta-tizen/recipes-BaseSystem/procps/procps.inc +++ b/meta-tizen/recipes-BaseSystem/procps/procps.inc @@ -20,14 +20,6 @@ PROVIDES += "libprocps" RPROVIDES_libprocps += "libprocps" -DEPENDS = "" -#DEPENDS of procps -DEPENDS += "automake" -DEPENDS += "libtool" -DEPENDS += "ncurses" -DEPENDS += "pkg-config" - - RDEPENDS = "" #RDEPENDS of procps-devel # the RDEPENDS rules is ignore "libprocps = 3.3.5" @@ -55,4 +47,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require procps-depends.inc require procps-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/psmisc/psmisc-depends.inc b/meta-tizen/recipes-BaseSystem/psmisc/psmisc-depends.inc new file mode 100644 index 0000000..e440138 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/psmisc/psmisc-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of psmisc +DEPENDS += "automake" +DEPENDS += "gcc" +DEPENDS += "glibc" +DEPENDS += "ncurses" +DEPENDS += "gettext" diff --git a/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc b/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc index cf569bd..292ea57 100644 --- a/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc +++ b/meta-tizen/recipes-BaseSystem/psmisc/psmisc.inc @@ -12,15 +12,6 @@ PROVIDES += "ps:/usr/bin/killall" RPROVIDES_psmisc += "ps:/usr/bin/killall" -DEPENDS = "" -#DEPENDS of psmisc -DEPENDS += "automake" -DEPENDS += "gcc" -DEPENDS += "glibc" -DEPENDS += "ncurses" -DEPENDS += "gettext-tools" - - RDEPENDS = "" PACKAGES = "" @@ -36,4 +27,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require psmisc-depends.inc require psmisc-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-depends.inc b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-depends.inc new file mode 100644 index 0000000..b0712f0 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of pwdutils +DEPENDS += "libtool" +DEPENDS += "openssl" +DEPENDS += "pam" +DEPENDS += "gettext" diff --git a/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc index ee5a8cd..070cced 100644 --- a/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc +++ b/meta-tizen/recipes-BaseSystem/pwdutils/pwdutils.inc @@ -10,14 +10,6 @@ PROVIDES += "pwdutils" RPROVIDES_pwdutils += "pwdutils" -DEPENDS = "" -#DEPENDS of pwdutils -DEPENDS += "libtool" -DEPENDS += "openssl" -DEPENDS += "pam" -DEPENDS += "gettext-tools" - - RDEPENDS = "" PACKAGES = "" @@ -33,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require pwdutils-depends.inc require pwdutils-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/readline/readline-depends.inc b/meta-tizen/recipes-BaseSystem/readline/readline-depends.inc new file mode 100644 index 0000000..c45773a --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/readline/readline-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of readline +DEPENDS += "autoconf" +DEPENDS += "bison" +DEPENDS += "fdupes" +DEPENDS += "ncurses" diff --git a/meta-tizen/recipes-BaseSystem/readline/readline.inc b/meta-tizen/recipes-BaseSystem/readline/readline.inc index bfd98d6..aa49721 100644 --- a/meta-tizen/recipes-BaseSystem/readline/readline.inc +++ b/meta-tizen/recipes-BaseSystem/readline/readline.inc @@ -22,14 +22,6 @@ PROVIDES += "bash:/usr/lib64/libreadline.a" RPROVIDES_readline-devel += "bash:/usr/lib64/libreadline.a" -DEPENDS = "" -#DEPENDS of readline -DEPENDS += "autoconf" -DEPENDS += "bison" -DEPENDS += "fdupes" -DEPENDS += "ncurses" - - RDEPENDS = "" #RDEPENDS of readline-devel # the RDEPENDS rules is ignore "libreadline = 5.2" @@ -54,4 +46,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require readline-depends.inc require readline-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/rpm/rpm-depends.inc b/meta-tizen/recipes-BaseSystem/rpm/rpm-depends.inc new file mode 100644 index 0000000..db0ee49 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/rpm/rpm-depends.inc @@ -0,0 +1,27 @@ +DEPENDS = "" +#DEPENDS of rpm +DEPENDS += "binutils" +DEPENDS += "bzip2" +DEPENDS += "file" +DEPENDS += "findutils" +DEPENDS += "gcc" +DEPENDS += "gettext" +DEPENDS += "glibc" +DEPENDS += "gzip" +DEPENDS += "acl" +DEPENDS += "bzip2" +DEPENDS += "libcap" +DEPENDS += "elfutils" +DEPENDS += "libtool" +DEPENDS += "lua" +DEPENDS += "make" +DEPENDS += "ncurses" +DEPENDS += "patch" +DEPENDS += "popt" +DEPENDS += "xz" +DEPENDS += "zlib" +DEPENDS += "nss" +DEPENDS += "uthash" +DEPENDS += "libxml2" +DEPENDS += "attr" +DEPENDS += "libsmack" diff --git a/meta-tizen/recipes-BaseSystem/rpm/rpm.inc b/meta-tizen/recipes-BaseSystem/rpm/rpm.inc index a52bb62..923bb1f 100644 --- a/meta-tizen/recipes-BaseSystem/rpm/rpm.inc +++ b/meta-tizen/recipes-BaseSystem/rpm/rpm.inc @@ -28,35 +28,6 @@ PROVIDES += "rpmbuildrpm:/usr/bin/rpmbuild" RPROVIDES_rpm-build += "rpmbuildrpm:/usr/bin/rpmbuild" -DEPENDS = "" -#DEPENDS of rpm -DEPENDS += "binutils" -DEPENDS += "bzip2" -DEPENDS += "file" -DEPENDS += "findutils" -DEPENDS += "gcc" -DEPENDS += "gettext-tools" -DEPENDS += "glibc" -DEPENDS += "gzip" -DEPENDS += "libacl" -DEPENDS += "bzip2" -DEPENDS += "libcap" -DEPENDS += "libelf" -DEPENDS += "libtool" -DEPENDS += "lua" -DEPENDS += "make" -DEPENDS += "ncurses" -DEPENDS += "patch" -DEPENDS += "popt" -DEPENDS += "xz" -DEPENDS += "zlib" -DEPENDS += "nss" -DEPENDS += "uthash" -DEPENDS += "libxml2" -DEPENDS += "libattr" -DEPENDS += "libsmack" - - RDEPENDS = "" #RDEPENDS of rpm-security-plugin # the RDEPENDS rules is ignore "rpm = 4.11.0.1-0" @@ -109,4 +80,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require rpm-depends.inc require rpm-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/setup/setup-depends.inc b/meta-tizen/recipes-BaseSystem/setup/setup-depends.inc new file mode 100644 index 0000000..09519ad --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/setup/setup-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of setup +DEPENDS += "bash" diff --git a/meta-tizen/recipes-BaseSystem/setup/setup.inc b/meta-tizen/recipes-BaseSystem/setup/setup.inc index a1b990f..2e311f2 100644 --- a/meta-tizen/recipes-BaseSystem/setup/setup.inc +++ b/meta-tizen/recipes-BaseSystem/setup/setup.inc @@ -10,11 +10,6 @@ PROVIDES += "setup" RPROVIDES_setup += "setup" -DEPENDS = "" -#DEPENDS of setup -DEPENDS += "bash" - - RDEPENDS = "" PACKAGES = "" @@ -30,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require setup-depends.inc require setup-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd-depends.inc b/meta-tizen/recipes-BaseSystem/systemd/systemd-depends.inc new file mode 100644 index 0000000..51a0ccc --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/systemd/systemd-depends.inc @@ -0,0 +1,18 @@ +DEPENDS = "" +#DEPENDS of systemd +DEPENDS += "libcap" +DEPENDS += "libgcrypt" +DEPENDS += "pam" +DEPENDS += "dbus" +DEPENDS += "libxslt" +DEPENDS += "pkg-config" +DEPENDS += "acl" +DEPENDS += "pciutils" +DEPENDS += "glib2" +DEPENDS += "hwdata" +DEPENDS += "usbutils" +DEPENDS += "util-linux" +DEPENDS += "intltool" +DEPENDS += "gperf" +DEPENDS += "xz" +DEPENDS += "kmod" diff --git a/meta-tizen/recipes-BaseSystem/systemd/systemd.inc b/meta-tizen/recipes-BaseSystem/systemd/systemd.inc index 8e2f8f9..a7651b5 100644 --- a/meta-tizen/recipes-BaseSystem/systemd/systemd.inc +++ b/meta-tizen/recipes-BaseSystem/systemd/systemd.inc @@ -46,30 +46,6 @@ PROVIDES += "systemd-analyze" RPROVIDES_systemd-analyze += "systemd-analyze" -DEPENDS = "" -#DEPENDS of systemd -DEPENDS += "libcap" -DEPENDS += "libgcrypt" -DEPENDS += "pam" -DEPENDS += "dbus" -DEPENDS += "libxslt" -DEPENDS += "pkgconfig" -DEPENDS += "libacl" -DEPENDS += "pciutils" -DEPENDS += "glib2" -DEPENDS += "hwdata" -# the DEPENDS rules is ignore "usbutils >= 0.82" -DEPENDS += "usbutils" -# the DEPENDS rules is ignore "libblkid >= 2.20" -DEPENDS += "libblkid" -# the DEPENDS rules is ignore "intltool >= 0.40.0" -DEPENDS += "intltool" -DEPENDS += "gperf" -DEPENDS += "xz" -# the DEPENDS rules is ignore "libkmod >= 5" -DEPENDS += "libkmod" - - RDEPENDS = "" #RDEPENDS of libsystemd # the RDEPENDS rules is ignore "systemd = 197-0" @@ -132,4 +108,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require systemd-depends.inc require systemd-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-depends.inc b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc index 7d0f93b..8154fca 100644 --- a/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc +++ b/meta-tizen/recipes-BaseSystem/tizen-release/tizen-release.inc @@ -19,8 +19,6 @@ PROVIDES += "lsb" RPROVIDES_tizen-release += "lsb" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -36,4 +34,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require tizen-release-depends.inc require tizen-release-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/tzdata/tzdata-depends.inc b/meta-tizen/recipes-BaseSystem/tzdata/tzdata-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/tzdata/tzdata-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc b/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc index 1f4067d..059119e 100644 --- a/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc +++ b/meta-tizen/recipes-BaseSystem/tzdata/tzdata.inc @@ -12,8 +12,6 @@ PROVIDES += "timezone" RPROVIDES_tzdata += "timezone" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -29,4 +27,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require tzdata-depends.inc require tzdata-extraconf.inc diff --git a/meta-tizen/recipes-BaseSystem/util-linux/util-linux-depends.inc b/meta-tizen/recipes-BaseSystem/util-linux/util-linux-depends.inc new file mode 100644 index 0000000..78d6acd --- /dev/null +++ b/meta-tizen/recipes-BaseSystem/util-linux/util-linux-depends.inc @@ -0,0 +1,11 @@ +DEPENDS = "" +#DEPENDS of util-linux +DEPENDS += "binutils" +DEPENDS += "fdupes" +DEPENDS += "gettext" +DEPENDS += "libtool" +DEPENDS += "ncurses" +DEPENDS += "pam" +DEPENDS += "pkg-config" +DEPENDS += "readline" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc b/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc index e42b739..a9f3c04 100644 --- a/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc +++ b/meta-tizen/recipes-BaseSystem/util-linux/util-linux.inc @@ -59,19 +59,6 @@ PROVIDES += "libblkid-devel" RPROVIDES_libblkid-devel += "libblkid-devel" -DEPENDS = "" -#DEPENDS of util-linux -DEPENDS += "binutils" -DEPENDS += "fdupes" -DEPENDS += "gettext" -DEPENDS += "libtool" -DEPENDS += "ncurses" -DEPENDS += "pam" -DEPENDS += "pkg-config" -DEPENDS += "readline" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of libmount-devel # the RDEPENDS rules is ignore "libmount = 2.22.2" @@ -131,4 +118,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require util-linux-depends.inc require util-linux-extraconf.inc diff --git a/meta-tizen/recipes-Development/alsa-utils/alsa-utils-depends.inc b/meta-tizen/recipes-Development/alsa-utils/alsa-utils-depends.inc new file mode 100644 index 0000000..6fb4325 --- /dev/null +++ b/meta-tizen/recipes-Development/alsa-utils/alsa-utils-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of alsa-utils +DEPENDS += "libasound-devel" diff --git a/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc b/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc index 3150ea4..b6526b6 100644 --- a/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc +++ b/meta-tizen/recipes-Development/alsa-utils/alsa-utils.inc @@ -14,11 +14,6 @@ PROVIDES += "alsa-utils" RPROVIDES_alsa-utils += "alsa-utils" -DEPENDS = "" -#DEPENDS of alsa-utils -DEPENDS += "libasound" - - RDEPENDS = "" #RDEPENDS of alsa-utils-doc # the RDEPENDS rules is ignore "alsa-utils = 1.0.26" @@ -38,4 +33,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require alsa-utils-depends.inc require alsa-utils-extraconf.inc diff --git a/meta-tizen/recipes-Development/autoconf/autoconf-depends.inc b/meta-tizen/recipes-Development/autoconf/autoconf-depends.inc new file mode 100644 index 0000000..d22aa83 --- /dev/null +++ b/meta-tizen/recipes-Development/autoconf/autoconf-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of autoconf +DEPENDS += "xz" +DEPENDS += "m4" diff --git a/meta-tizen/recipes-Development/autoconf/autoconf.inc b/meta-tizen/recipes-Development/autoconf/autoconf.inc index de97f02..0cab35d 100644 --- a/meta-tizen/recipes-Development/autoconf/autoconf.inc +++ b/meta-tizen/recipes-Development/autoconf/autoconf.inc @@ -10,13 +10,6 @@ PROVIDES += "autoconf" RPROVIDES_autoconf += "autoconf" -DEPENDS = "" -#DEPENDS of autoconf -DEPENDS += "xz" -# the DEPENDS rules is ignore "m4 >= 1.4.6" -DEPENDS += "m4" - - RDEPENDS = "" #RDEPENDS of autoconf # the RDEPENDS rules is ignore "m4 >= 1.4.6" @@ -38,4 +31,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require autoconf-depends.inc require autoconf-extraconf.inc diff --git a/meta-tizen/recipes-Development/automake/automake-depends.inc b/meta-tizen/recipes-Development/automake/automake-depends.inc new file mode 100644 index 0000000..bdca6ed --- /dev/null +++ b/meta-tizen/recipes-Development/automake/automake-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of automake +DEPENDS += "autoconf" +DEPENDS += "bison" +DEPENDS += "gcc" +DEPENDS += "xz" diff --git a/meta-tizen/recipes-Development/automake/automake.inc b/meta-tizen/recipes-Development/automake/automake.inc index 7c918da..2373f9e 100644 --- a/meta-tizen/recipes-Development/automake/automake.inc +++ b/meta-tizen/recipes-Development/automake/automake.inc @@ -10,15 +10,6 @@ PROVIDES += "automake" RPROVIDES_automake += "automake" -DEPENDS = "" -#DEPENDS of automake -# the DEPENDS rules is ignore "autoconf >= 2.69" -DEPENDS += "autoconf" -DEPENDS += "bison" -DEPENDS += "gcc" -DEPENDS += "xz" - - RDEPENDS = "" #RDEPENDS of automake # the RDEPENDS rules is ignore "autoconf >= 2.69" @@ -38,4 +29,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require automake-depends.inc require automake-extraconf.inc diff --git a/meta-tizen/recipes-Development/binutils/binutils-depends.inc b/meta-tizen/recipes-Development/binutils/binutils-depends.inc new file mode 100644 index 0000000..c60ee5d --- /dev/null +++ b/meta-tizen/recipes-Development/binutils/binutils-depends.inc @@ -0,0 +1,9 @@ +DEPENDS = "" +#DEPENDS of binutils +DEPENDS += "bison" +DEPENDS += "flex" +DEPENDS += "gcc" +DEPENDS += "glibc" +DEPENDS += "bc" +DEPENDS += "texinfo" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-Development/binutils/binutils.inc b/meta-tizen/recipes-Development/binutils/binutils.inc index daa14e0..1cfbc2a 100644 --- a/meta-tizen/recipes-Development/binutils/binutils.inc +++ b/meta-tizen/recipes-Development/binutils/binutils.inc @@ -20,17 +20,6 @@ PROVIDES += "binutils" RPROVIDES_binutils += "binutils" -DEPENDS = "" -#DEPENDS of binutils -DEPENDS += "bison" -DEPENDS += "flex" -DEPENDS += "gcc" -DEPENDS += "glibc" -DEPENDS += "bc" -DEPENDS += "makeinfo" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of binutils-devel # the RDEPENDS rules is ignore "binutils = 2.23.1-0" @@ -63,4 +52,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require binutils-depends.inc require binutils-extraconf.inc diff --git a/meta-tizen/recipes-Development/bison/bison-depends.inc b/meta-tizen/recipes-Development/bison/bison-depends.inc new file mode 100644 index 0000000..3e217f4 --- /dev/null +++ b/meta-tizen/recipes-Development/bison/bison-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of bison +DEPENDS += "gcc" diff --git a/meta-tizen/recipes-Development/bison/bison.inc b/meta-tizen/recipes-Development/bison/bison.inc index 8d6ac78..bdeb43f 100644 --- a/meta-tizen/recipes-Development/bison/bison.inc +++ b/meta-tizen/recipes-Development/bison/bison.inc @@ -10,11 +10,6 @@ PROVIDES += "bison" RPROVIDES_bison += "bison" -DEPENDS = "" -#DEPENDS of bison -DEPENDS += "gcc" - - RDEPENDS = "" #RDEPENDS of bison RDEPENDS_bison += "m4" @@ -33,4 +28,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require bison-depends.inc require bison-extraconf.inc diff --git a/meta-tizen/recipes-Development/chrpath/chrpath-depends.inc b/meta-tizen/recipes-Development/chrpath/chrpath-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/chrpath/chrpath-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/chrpath/chrpath.inc b/meta-tizen/recipes-Development/chrpath/chrpath.inc index 1fa1a28..219c6cf 100644 --- a/meta-tizen/recipes-Development/chrpath/chrpath.inc +++ b/meta-tizen/recipes-Development/chrpath/chrpath.inc @@ -10,8 +10,6 @@ PROVIDES += "chrpath" RPROVIDES_chrpath += "chrpath" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require chrpath-depends.inc require chrpath-extraconf.inc diff --git a/meta-tizen/recipes-Development/cmake/cmake-depends.inc b/meta-tizen/recipes-Development/cmake/cmake-depends.inc new file mode 100644 index 0000000..be81145 --- /dev/null +++ b/meta-tizen/recipes-Development/cmake/cmake-depends.inc @@ -0,0 +1,9 @@ +DEPENDS = "" +#DEPENDS of cmake +DEPENDS += "expat" +DEPENDS += "libarchive" +DEPENDS += "curl" +DEPENDS += "zlib" +DEPENDS += "procps" +DEPENDS += "ncurses" +DEPENDS += "gcc" diff --git a/meta-tizen/recipes-Development/cmake/cmake.inc b/meta-tizen/recipes-Development/cmake/cmake.inc index b3d7951..f5e18b7 100644 --- a/meta-tizen/recipes-Development/cmake/cmake.inc +++ b/meta-tizen/recipes-Development/cmake/cmake.inc @@ -10,17 +10,6 @@ PROVIDES += "cmake" RPROVIDES_cmake += "cmake" -DEPENDS = "" -#DEPENDS of cmake -DEPENDS += "expat" -DEPENDS += "libarchive" -DEPENDS += "libcurl" -DEPENDS += "zlib" -DEPENDS += "procps" -DEPENDS += "ncurses" -DEPENDS += "gcc" - - RDEPENDS = "" PACKAGES = "" @@ -36,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require cmake-depends.inc require cmake-extraconf.inc diff --git a/meta-tizen/recipes-Development/diffutils/diffutils-depends.inc b/meta-tizen/recipes-Development/diffutils/diffutils-depends.inc new file mode 100644 index 0000000..64db61b --- /dev/null +++ b/meta-tizen/recipes-Development/diffutils/diffutils-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of diffutils +DEPENDS += "xz" diff --git a/meta-tizen/recipes-Development/diffutils/diffutils.inc b/meta-tizen/recipes-Development/diffutils/diffutils.inc index fb87ac8..d56c711 100644 --- a/meta-tizen/recipes-Development/diffutils/diffutils.inc +++ b/meta-tizen/recipes-Development/diffutils/diffutils.inc @@ -12,11 +12,6 @@ PROVIDES += "diff" RPROVIDES_diffutils += "diff" -DEPENDS = "" -#DEPENDS of diffutils -DEPENDS += "xz" - - RDEPENDS = "" PACKAGES = "" @@ -32,4 +27,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require diffutils-depends.inc require diffutils-extraconf.inc diff --git a/meta-tizen/recipes-Development/findutils/findutils-depends.inc b/meta-tizen/recipes-Development/findutils/findutils-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/findutils/findutils-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/findutils/findutils.inc b/meta-tizen/recipes-Development/findutils/findutils.inc index 7ce1d5f..fad7ce8 100644 --- a/meta-tizen/recipes-Development/findutils/findutils.inc +++ b/meta-tizen/recipes-Development/findutils/findutils.inc @@ -23,8 +23,6 @@ PROVIDES += "findutils-lang-all" RPROVIDES_findutils-lang += "findutils-lang-all" -DEPENDS = "" - RDEPENDS = "" #RDEPENDS of findutils-locate # the RDEPENDS rules is ignore "findutils = 4.5.10" @@ -52,4 +50,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require findutils-depends.inc require findutils-extraconf.inc diff --git a/meta-tizen/recipes-Development/flex/flex-depends.inc b/meta-tizen/recipes-Development/flex/flex-depends.inc new file mode 100644 index 0000000..68ee40f --- /dev/null +++ b/meta-tizen/recipes-Development/flex/flex-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of flex +DEPENDS += "automake" +DEPENDS += "texinfo" +DEPENDS += "bison" +DEPENDS += "gcc" +DEPENDS += "gettext" diff --git a/meta-tizen/recipes-Development/flex/flex.inc b/meta-tizen/recipes-Development/flex/flex.inc index 94d6e96..ce77271 100644 --- a/meta-tizen/recipes-Development/flex/flex.inc +++ b/meta-tizen/recipes-Development/flex/flex.inc @@ -10,15 +10,6 @@ PROVIDES += "flex" RPROVIDES_flex += "flex" -DEPENDS = "" -#DEPENDS of flex -DEPENDS += "automake" -DEPENDS += "makeinfo" -DEPENDS += "bison" -DEPENDS += "gcc" -DEPENDS += "gettext" - - RDEPENDS = "" #RDEPENDS of flex RDEPENDS_flex += "m4" @@ -37,4 +28,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require flex-depends.inc require flex-extraconf.inc diff --git a/meta-tizen/recipes-Development/gcc/gcc-depends.inc b/meta-tizen/recipes-Development/gcc/gcc-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/gcc/gcc-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/gcc/gcc.inc b/meta-tizen/recipes-Development/gcc/gcc.inc index 3f1b59e..e52ed86 100644 --- a/meta-tizen/recipes-Development/gcc/gcc.inc +++ b/meta-tizen/recipes-Development/gcc/gcc.inc @@ -106,8 +106,6 @@ PROVIDES += "gcc-gij-64bit" RPROVIDES_gcc-gij-64bit += "gcc-gij-64bit" -DEPENDS = "" - RDEPENDS = "" #RDEPENDS of gcc-gij RDEPENDS_gcc-gij += "gcc47-gij" @@ -294,4 +292,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require gcc-depends.inc require gcc-extraconf.inc diff --git a/meta-tizen/recipes-Development/gdb/gdb-depends.inc b/meta-tizen/recipes-Development/gdb/gdb-depends.inc new file mode 100644 index 0000000..873ba37 --- /dev/null +++ b/meta-tizen/recipes-Development/gdb/gdb-depends.inc @@ -0,0 +1,12 @@ +DEPENDS = "" +#DEPENDS of gdb +DEPENDS += "bison" +DEPENDS += "expat" +DEPENDS += "flex" +DEPENDS += "gettext" +DEPENDS += "python-devel" +DEPENDS += "gcc" +DEPENDS += "ncurses" +DEPENDS += "readline" +DEPENDS += "rpm" +DEPENDS += "texinfo" diff --git a/meta-tizen/recipes-Development/gdb/gdb.inc b/meta-tizen/recipes-Development/gdb/gdb.inc index fb8c7da..8d7c4ec 100644 --- a/meta-tizen/recipes-Development/gdb/gdb.inc +++ b/meta-tizen/recipes-Development/gdb/gdb.inc @@ -25,20 +25,6 @@ PROVIDES += "gdb-lang-all" RPROVIDES_gdb-lang += "gdb-lang-all" -DEPENDS = "" -#DEPENDS of gdb -DEPENDS += "bison" -DEPENDS += "expat" -DEPENDS += "flex" -DEPENDS += "gettext" -DEPENDS += "python" -DEPENDS += "gcc" -DEPENDS += "ncurses" -DEPENDS += "readline" -DEPENDS += "rpm" -DEPENDS += "makeinfo" - - RDEPENDS = "" #RDEPENDS of gdb-lang # the RDEPENDS rules is ignore "gdb = 7.5" @@ -66,4 +52,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require gdb-depends.inc require gdb-extraconf.inc diff --git a/meta-tizen/recipes-Development/gstreamer/gstreamer-depends.inc b/meta-tizen/recipes-Development/gstreamer/gstreamer-depends.inc new file mode 100644 index 0000000..2d2d9c8 --- /dev/null +++ b/meta-tizen/recipes-Development/gstreamer/gstreamer-depends.inc @@ -0,0 +1,10 @@ +DEPENDS = "" +#DEPENDS of gstreamer +DEPENDS += "bison" +DEPENDS += "gettext" +DEPENDS += "check-devel" +DEPENDS += "fdupes" +DEPENDS += "flex" +DEPENDS += "glib2" +DEPENDS += "libtool" +DEPENDS += "libxml2" diff --git a/meta-tizen/recipes-Development/gstreamer/gstreamer.inc b/meta-tizen/recipes-Development/gstreamer/gstreamer.inc index 0efb402..10bf0d4 100644 --- a/meta-tizen/recipes-Development/gstreamer/gstreamer.inc +++ b/meta-tizen/recipes-Development/gstreamer/gstreamer.inc @@ -39,19 +39,6 @@ PROVIDES += "gstreamer-lang-all" RPROVIDES_gstreamer-lang += "gstreamer-lang-all" -DEPENDS = "" -#DEPENDS of gstreamer -DEPENDS += "bison" -DEPENDS += "gettext-tools" -DEPENDS += "check" -DEPENDS += "fdupes" -DEPENDS += "flex" -# the DEPENDS rules is ignore "glib2 >= 2.32.0" -DEPENDS += "glib2" -DEPENDS += "libtool" -DEPENDS += "libxml2" - - RDEPENDS = "" #RDEPENDS of gstreamer # the RDEPENDS rules is ignore "libgstreamer >= 1.0.5" @@ -98,4 +85,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require gstreamer-depends.inc require gstreamer-extraconf.inc diff --git a/meta-tizen/recipes-Development/less/less-depends.inc b/meta-tizen/recipes-Development/less/less-depends.inc new file mode 100644 index 0000000..a8dd2b6 --- /dev/null +++ b/meta-tizen/recipes-Development/less/less-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of less +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" +DEPENDS += "ncurses" diff --git a/meta-tizen/recipes-Development/less/less.inc b/meta-tizen/recipes-Development/less/less.inc index f1612b8..9a3b98b 100644 --- a/meta-tizen/recipes-Development/less/less.inc +++ b/meta-tizen/recipes-Development/less/less.inc @@ -10,14 +10,6 @@ PROVIDES += "less" RPROVIDES_less += "less" -DEPENDS = "" -#DEPENDS of less -DEPENDS += "autoconf" -DEPENDS += "automake" -DEPENDS += "libtool" -DEPENDS += "ncurses" - - RDEPENDS = "" PACKAGES = "" @@ -33,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require less-depends.inc require less-extraconf.inc diff --git a/meta-tizen/recipes-Development/libtool/libtool-depends.inc b/meta-tizen/recipes-Development/libtool/libtool-depends.inc new file mode 100644 index 0000000..7d12410 --- /dev/null +++ b/meta-tizen/recipes-Development/libtool/libtool-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of libtool +DEPENDS += "automake" +DEPENDS += "gcc" +DEPENDS += "xz" +DEPENDS += "zlib" +DEPENDS += "texinfo" diff --git a/meta-tizen/recipes-Development/libtool/libtool.inc b/meta-tizen/recipes-Development/libtool/libtool.inc index 948163f..d2b2b50 100644 --- a/meta-tizen/recipes-Development/libtool/libtool.inc +++ b/meta-tizen/recipes-Development/libtool/libtool.inc @@ -18,15 +18,6 @@ PROVIDES += "libtool-ltdl-devel" RPROVIDES_libtool += "libtool-ltdl-devel" -DEPENDS = "" -#DEPENDS of libtool -DEPENDS += "automake" -DEPENDS += "gcc" -DEPENDS += "lzma" -DEPENDS += "zlib" -DEPENDS += "makeinfo" - - RDEPENDS = "" #RDEPENDS of libtool # the RDEPENDS rules is ignore "automake > 1.4" @@ -53,4 +44,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libtool-depends.inc require libtool-extraconf.inc diff --git a/meta-tizen/recipes-Development/make/make-depends.inc b/meta-tizen/recipes-Development/make/make-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/make/make-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/make/make.inc b/meta-tizen/recipes-Development/make/make.inc index d75924f..e91e1ad 100644 --- a/meta-tizen/recipes-Development/make/make.inc +++ b/meta-tizen/recipes-Development/make/make.inc @@ -12,8 +12,6 @@ PROVIDES += "gmake" RPROVIDES_make += "gmake" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -29,4 +27,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require make-depends.inc require make-extraconf.inc diff --git a/meta-tizen/recipes-Development/nano/nano-depends.inc b/meta-tizen/recipes-Development/nano/nano-depends.inc new file mode 100644 index 0000000..cfcf0bb --- /dev/null +++ b/meta-tizen/recipes-Development/nano/nano-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of nano +DEPENDS += "file" +DEPENDS += "ncurses" diff --git a/meta-tizen/recipes-Development/nano/nano.inc b/meta-tizen/recipes-Development/nano/nano.inc index 2b2f77c..5995ae1 100644 --- a/meta-tizen/recipes-Development/nano/nano.inc +++ b/meta-tizen/recipes-Development/nano/nano.inc @@ -17,12 +17,6 @@ PROVIDES += "nano" RPROVIDES_nano += "nano" -DEPENDS = "" -#DEPENDS of nano -DEPENDS += "file" -DEPENDS += "ncurses" - - RDEPENDS = "" #RDEPENDS of nano-lang # the RDEPENDS rules is ignore "nano = 2.3.1" @@ -42,4 +36,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require nano-depends.inc require nano-extraconf.inc diff --git a/meta-tizen/recipes-Development/nasm/nasm-depends.inc b/meta-tizen/recipes-Development/nasm/nasm-depends.inc new file mode 100644 index 0000000..f4c06db --- /dev/null +++ b/meta-tizen/recipes-Development/nasm/nasm-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of nasm +DEPENDS += "texinfo" diff --git a/meta-tizen/recipes-Development/nasm/nasm.inc b/meta-tizen/recipes-Development/nasm/nasm.inc index 63268f1..91ea756 100644 --- a/meta-tizen/recipes-Development/nasm/nasm.inc +++ b/meta-tizen/recipes-Development/nasm/nasm.inc @@ -16,11 +16,6 @@ PROVIDES += "nasm" RPROVIDES_nasm += "nasm" -DEPENDS = "" -#DEPENDS of nasm -DEPENDS += "makeinfo" - - RDEPENDS = "" PACKAGES = "" @@ -40,4 +35,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require nasm-depends.inc require nasm-extraconf.inc diff --git a/meta-tizen/recipes-Development/pacrunner/pacrunner-depends.inc b/meta-tizen/recipes-Development/pacrunner/pacrunner-depends.inc new file mode 100644 index 0000000..e584d4d --- /dev/null +++ b/meta-tizen/recipes-Development/pacrunner/pacrunner-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of pacrunner +DEPENDS += "v8-devel" +DEPENDS += "dbus" +DEPENDS += "glib-2.0" +DEPENDS += "curl" diff --git a/meta-tizen/recipes-Development/pacrunner/pacrunner.inc b/meta-tizen/recipes-Development/pacrunner/pacrunner.inc index 17f570e..3d552c2 100644 --- a/meta-tizen/recipes-Development/pacrunner/pacrunner.inc +++ b/meta-tizen/recipes-Development/pacrunner/pacrunner.inc @@ -14,14 +14,6 @@ PROVIDES += "pacrunner" RPROVIDES_pacrunner += "pacrunner" -DEPENDS = "" -#DEPENDS of pacrunner -DEPENDS += "v8" -DEPENDS += "dbus-1" -DEPENDS += "glib-2.0" -DEPENDS += "libcurl" - - RDEPENDS = "" #RDEPENDS of pacrunner-test # the RDEPENDS rules is ignore "pacrunner = 0.5" @@ -45,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require pacrunner-depends.inc require pacrunner-extraconf.inc diff --git a/meta-tizen/recipes-Development/patch/patch-depends.inc b/meta-tizen/recipes-Development/patch/patch-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/patch/patch-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/patch/patch.inc b/meta-tizen/recipes-Development/patch/patch.inc index ece71af..f4fc4a6 100644 --- a/meta-tizen/recipes-Development/patch/patch.inc +++ b/meta-tizen/recipes-Development/patch/patch.inc @@ -10,8 +10,6 @@ PROVIDES += "patch" RPROVIDES_patch += "patch" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require patch-depends.inc require patch-extraconf.inc diff --git a/meta-tizen/recipes-Development/powertop/powertop-depends.inc b/meta-tizen/recipes-Development/powertop/powertop-depends.inc new file mode 100644 index 0000000..6a4a88b --- /dev/null +++ b/meta-tizen/recipes-Development/powertop/powertop-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of powertop +DEPENDS += "gettext" +DEPENDS += "zlib" +DEPENDS += "libnl-1" +DEPENDS += "pciutils" +DEPENDS += "ncurses" diff --git a/meta-tizen/recipes-Development/powertop/powertop.inc b/meta-tizen/recipes-Development/powertop/powertop.inc index 31e7b71..bdca49e 100644 --- a/meta-tizen/recipes-Development/powertop/powertop.inc +++ b/meta-tizen/recipes-Development/powertop/powertop.inc @@ -17,15 +17,6 @@ PROVIDES += "powertop-lang-all" RPROVIDES_powertop-lang += "powertop-lang-all" -DEPENDS = "" -#DEPENDS of powertop -DEPENDS += "gettext" -DEPENDS += "zlib" -DEPENDS += "libnl-1" -DEPENDS += "libpci" -DEPENDS += "ncurses" - - RDEPENDS = "" #RDEPENDS of powertop-lang # the RDEPENDS rules is ignore "powertop = 2.1" @@ -45,4 +36,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require powertop-depends.inc require powertop-extraconf.inc diff --git a/meta-tizen/recipes-Development/pulseaudio/pulseaudio-depends.inc b/meta-tizen/recipes-Development/pulseaudio/pulseaudio-depends.inc new file mode 100644 index 0000000..f5b8fcf --- /dev/null +++ b/meta-tizen/recipes-Development/pulseaudio/pulseaudio-depends.inc @@ -0,0 +1,26 @@ +DEPENDS = "" +#DEPENDS of pulseaudio +DEPENDS += "alsa" +DEPENDS += "bluez-devel" +DEPENDS += "fdupes" +DEPENDS += "gdbm" +DEPENDS += "intltool" +DEPENDS += "libopenssl-devel" +DEPENDS += "libsndfile-devel" +DEPENDS += "libtool" +DEPENDS += "systemd" +DEPENDS += "orc" +DEPENDS += "speex-devel" +DEPENDS += "update-desktop-files" +DEPENDS += "x11" +DEPENDS += "xi" +DEPENDS += "x11-xcb" +DEPENDS += "xcb" +DEPENDS += "ice" +DEPENDS += "sm" +DEPENDS += "xtst" +DEPENDS += "dbus" +DEPENDS += "libcap" +DEPENDS += "orc" +DEPENDS += "glib-2.0" +DEPENDS += "json" diff --git a/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc b/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc index 3d92047..8d9afde 100644 --- a/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc +++ b/meta-tizen/recipes-Development/pulseaudio/pulseaudio.inc @@ -65,35 +65,6 @@ PROVIDES += "pulseaudio-module-gconf" RPROVIDES_pulseaudio-module-gconf += "pulseaudio-module-gconf" -DEPENDS = "" -#DEPENDS of pulseaudio -DEPENDS += "alsa" -DEPENDS += "bluez" -DEPENDS += "fdupes" -DEPENDS += "gdbm" -DEPENDS += "intltool" -DEPENDS += "libopenssl" -DEPENDS += "libsndfile" -DEPENDS += "libtool" -# the DEPENDS rules is ignore "libudev >= 143" -DEPENDS += "libudev" -DEPENDS += "orc" -DEPENDS += "speex" -DEPENDS += "update-desktop-files" -DEPENDS += "x11" -DEPENDS += "xi" -DEPENDS += "x11-xcb" -DEPENDS += "xcb" -DEPENDS += "ice" -DEPENDS += "sm" -DEPENDS += "xtst" -DEPENDS += "dbus-1" -DEPENDS += "libcap" -DEPENDS += "orc" -DEPENDS += "glib-2.0" -DEPENDS += "json" - - RDEPENDS = "" #RDEPENDS of pulseaudio-lang # the RDEPENDS rules is ignore "pulseaudio = 2.1" @@ -215,4 +186,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require pulseaudio-depends.inc require pulseaudio-extraconf.inc diff --git a/meta-tizen/recipes-Development/strace/strace-depends.inc b/meta-tizen/recipes-Development/strace/strace-depends.inc new file mode 100644 index 0000000..8849ca8 --- /dev/null +++ b/meta-tizen/recipes-Development/strace/strace-depends.inc @@ -0,0 +1,5 @@ +DEPENDS = "" +#DEPENDS of strace +DEPENDS += "acl" +DEPENDS += "libaio-devel" +DEPENDS += "time" diff --git a/meta-tizen/recipes-Development/strace/strace.inc b/meta-tizen/recipes-Development/strace/strace.inc index 953d710..ca27b72 100644 --- a/meta-tizen/recipes-Development/strace/strace.inc +++ b/meta-tizen/recipes-Development/strace/strace.inc @@ -10,13 +10,6 @@ PROVIDES += "strace" RPROVIDES_strace += "strace" -DEPENDS = "" -#DEPENDS of strace -DEPENDS += "libacl" -DEPENDS += "libaio" -DEPENDS += "time" - - RDEPENDS = "" PACKAGES = "" @@ -32,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require strace-depends.inc require strace-extraconf.inc diff --git a/meta-tizen/recipes-Development/tcl/tcl-depends.inc b/meta-tizen/recipes-Development/tcl/tcl-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/tcl/tcl-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/tcl/tcl.inc b/meta-tizen/recipes-Development/tcl/tcl.inc index 1e20502..ef7bc64 100644 --- a/meta-tizen/recipes-Development/tcl/tcl.inc +++ b/meta-tizen/recipes-Development/tcl/tcl.inc @@ -10,8 +10,6 @@ PROVIDES += "tcl" RPROVIDES_tcl += "tcl" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require tcl-depends.inc require tcl-extraconf.inc diff --git a/meta-tizen/recipes-Development/unzip/unzip-depends.inc b/meta-tizen/recipes-Development/unzip/unzip-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/unzip/unzip-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/unzip/unzip.inc b/meta-tizen/recipes-Development/unzip/unzip.inc index d611856..02f6420 100644 --- a/meta-tizen/recipes-Development/unzip/unzip.inc +++ b/meta-tizen/recipes-Development/unzip/unzip.inc @@ -10,8 +10,6 @@ PROVIDES += "unzip" RPROVIDES_unzip += "unzip" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require unzip-depends.inc require unzip-extraconf.inc diff --git a/meta-tizen/recipes-Development/vim/vim-depends.inc b/meta-tizen/recipes-Development/vim/vim-depends.inc new file mode 100644 index 0000000..1b20426 --- /dev/null +++ b/meta-tizen/recipes-Development/vim/vim-depends.inc @@ -0,0 +1,11 @@ +DEPENDS = "" +#DEPENDS of vim +DEPENDS += "autoconf" +DEPENDS += "db4" +DEPENDS += "fdupes" +DEPENDS += "gettext" +DEPENDS += "ncurses" +DEPENDS += "perl" +DEPENDS += "pkg-config" +DEPENDS += "python-devel" +DEPENDS += "systemd" diff --git a/meta-tizen/recipes-Development/vim/vim.inc b/meta-tizen/recipes-Development/vim/vim.inc index a5b56f3..21bafb9 100644 --- a/meta-tizen/recipes-Development/vim/vim.inc +++ b/meta-tizen/recipes-Development/vim/vim.inc @@ -30,19 +30,6 @@ PROVIDES += "vim_client" RPROVIDES_vim += "vim_client" -DEPENDS = "" -#DEPENDS of vim -DEPENDS += "autoconf" -DEPENDS += "db4" -DEPENDS += "fdupes" -DEPENDS += "gettext" -DEPENDS += "ncurses" -DEPENDS += "perl" -DEPENDS += "pkgconfig" -DEPENDS += "python" -DEPENDS += "systemd" - - RDEPENDS = "" #RDEPENDS of vim-enhanced # the RDEPENDS rules is ignore "perl = 5.16.0" @@ -74,4 +61,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require vim-depends.inc require vim-extraconf.inc diff --git a/meta-tizen/recipes-Development/wdiff/wdiff-depends.inc b/meta-tizen/recipes-Development/wdiff/wdiff-depends.inc new file mode 100644 index 0000000..f4121b0 --- /dev/null +++ b/meta-tizen/recipes-Development/wdiff/wdiff-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of wdiff +DEPENDS += "ncurses" diff --git a/meta-tizen/recipes-Development/wdiff/wdiff.inc b/meta-tizen/recipes-Development/wdiff/wdiff.inc index 9e55f2d..d5aa3ca 100644 --- a/meta-tizen/recipes-Development/wdiff/wdiff.inc +++ b/meta-tizen/recipes-Development/wdiff/wdiff.inc @@ -14,11 +14,6 @@ PROVIDES += "wdiff-lang" RPROVIDES_wdiff-lang += "wdiff-lang" -DEPENDS = "" -#DEPENDS of wdiff -DEPENDS += "ncurses" - - RDEPENDS = "" #RDEPENDS of wdiff-lang # the RDEPENDS rules is ignore "wdiff = 1.0.2" @@ -42,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require wdiff-depends.inc require wdiff-extraconf.inc diff --git a/meta-tizen/recipes-Development/xz/xz-depends.inc b/meta-tizen/recipes-Development/xz/xz-depends.inc new file mode 100644 index 0000000..f866a05 --- /dev/null +++ b/meta-tizen/recipes-Development/xz/xz-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of xz +DEPENDS += "pkg-config" diff --git a/meta-tizen/recipes-Development/xz/xz.inc b/meta-tizen/recipes-Development/xz/xz.inc index e477e78..1947840 100644 --- a/meta-tizen/recipes-Development/xz/xz.inc +++ b/meta-tizen/recipes-Development/xz/xz.inc @@ -34,11 +34,6 @@ PROVIDES += "lzma-alpha-devel" RPROVIDES_xz-devel += "lzma-alpha-devel" -DEPENDS = "" -#DEPENDS of xz -DEPENDS += "pkgconfig" - - RDEPENDS = "" #RDEPENDS of xz-lang # the RDEPENDS rules is ignore "xz = 5.0.3" @@ -70,4 +65,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require xz-depends.inc require xz-extraconf.inc diff --git a/meta-tizen/recipes-Development/yasm/yasm-depends.inc b/meta-tizen/recipes-Development/yasm/yasm-depends.inc new file mode 100644 index 0000000..7efba57 --- /dev/null +++ b/meta-tizen/recipes-Development/yasm/yasm-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of yasm +DEPENDS += "binutils" diff --git a/meta-tizen/recipes-Development/yasm/yasm.inc b/meta-tizen/recipes-Development/yasm/yasm.inc index a794679..0ed886a 100644 --- a/meta-tizen/recipes-Development/yasm/yasm.inc +++ b/meta-tizen/recipes-Development/yasm/yasm.inc @@ -10,11 +10,6 @@ PROVIDES += "yasm" RPROVIDES_yasm += "yasm" -DEPENDS = "" -#DEPENDS of yasm -DEPENDS += "binutils" - - RDEPENDS = "" PACKAGES = "" @@ -30,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require yasm-depends.inc require yasm-extraconf.inc diff --git a/meta-tizen/recipes-Development/zip/zip-depends.inc b/meta-tizen/recipes-Development/zip/zip-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-Development/zip/zip-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-Development/zip/zip.inc b/meta-tizen/recipes-Development/zip/zip.inc index c36c29c..625259e 100644 --- a/meta-tizen/recipes-Development/zip/zip.inc +++ b/meta-tizen/recipes-Development/zip/zip.inc @@ -10,8 +10,6 @@ PROVIDES += "zip" RPROVIDES_zip += "zip" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require zip-depends.inc require zip-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/acl/acl-depends.inc b/meta-tizen/recipes-DevelopmentExtra/acl/acl-depends.inc new file mode 100644 index 0000000..55611a8 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/acl/acl-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of acl +DEPENDS += "attr" diff --git a/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc b/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc index 062ea3e..17f97b7 100644 --- a/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc +++ b/meta-tizen/recipes-DevelopmentExtra/acl/acl.inc @@ -18,11 +18,6 @@ PROVIDES += "acl" RPROVIDES_acl += "acl" -DEPENDS = "" -#DEPENDS of acl -DEPENDS += "libattr" - - RDEPENDS = "" #RDEPENDS of libacl-devel # the RDEPENDS rules is ignore "libacl = 2.2.51" @@ -52,4 +47,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require acl-depends.inc require acl-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/attr/attr-depends.inc b/meta-tizen/recipes-DevelopmentExtra/attr/attr-depends.inc new file mode 100644 index 0000000..0620389 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/attr/attr-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of attr +DEPENDS += "autoconf" diff --git a/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc b/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc index e7aa9da..db2ea62 100644 --- a/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc +++ b/meta-tizen/recipes-DevelopmentExtra/attr/attr.inc @@ -26,11 +26,6 @@ PROVIDES += "libattr" RPROVIDES_libattr += "libattr" -DEPENDS = "" -#DEPENDS of attr -DEPENDS += "autoconf" - - RDEPENDS = "" #RDEPENDS of libattr-devel-static # the RDEPENDS rules is ignore "libattr-devel = 2.4.46" @@ -67,4 +62,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require attr-depends.inc require attr-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/bc/bc-depends.inc b/meta-tizen/recipes-DevelopmentExtra/bc/bc-depends.inc new file mode 100644 index 0000000..88e1c2a --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bc/bc-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of bc +DEPENDS += "automakebisonedflexreadline-devel" diff --git a/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc b/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc index 92672e4..279082e 100644 --- a/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc +++ b/meta-tizen/recipes-DevelopmentExtra/bc/bc.inc @@ -10,11 +10,6 @@ PROVIDES += "bc" RPROVIDES_bc += "bc" -DEPENDS = "" -#DEPENDS of bc -DEPENDS += "automake bison ed flex readline" - - RDEPENDS = "" PACKAGES = "" @@ -30,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require bc-depends.inc require bc-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-depends.inc b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-depends.inc new file mode 100644 index 0000000..7261cad --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of bzip2 +DEPENDS += "libtool" +DEPENDS += "pkg-config" diff --git a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc index 8821028..f4b12ab 100644 --- a/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc +++ b/meta-tizen/recipes-DevelopmentExtra/bzip2/bzip2.inc @@ -20,12 +20,6 @@ PROVIDES += "libbz2" RPROVIDES_libbz2 += "libbz2" -DEPENDS = "" -#DEPENDS of bzip2 -DEPENDS += "libtool" -DEPENDS += "pkg-config" - - RDEPENDS = "" #RDEPENDS of bzip2-devel # the RDEPENDS rules is ignore "libbz2 = 1.0.6glibc-devel" @@ -53,4 +47,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require bzip2-depends.inc require bzip2-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/db4/db4-depends.inc b/meta-tizen/recipes-DevelopmentExtra/db4/db4-depends.inc new file mode 100644 index 0000000..8866ca2 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/db4/db4-depends.inc @@ -0,0 +1,5 @@ +DEPENDS = "" +#DEPENDS of db4 +DEPENDS += "autoconf" +DEPENDS += "fdupes" +DEPENDS += "gcc" diff --git a/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc b/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc index 8a0a6dd..f1e5957 100644 --- a/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc +++ b/meta-tizen/recipes-DevelopmentExtra/db4/db4.inc @@ -25,13 +25,6 @@ PROVIDES += "db4-devel" RPROVIDES_db4-devel += "db4-devel" -DEPENDS = "" -#DEPENDS of db4 -DEPENDS += "autoconf" -DEPENDS += "fdupes" -DEPENDS += "gcc" - - RDEPENDS = "" #RDEPENDS of db4-devel # the RDEPENDS rules is ignore "db4 = 4.8.30.NC" @@ -64,4 +57,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require db4-depends.inc require db4-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/dbus/dbus-depends.inc b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus-depends.inc new file mode 100644 index 0000000..ca5a124 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus-depends.inc @@ -0,0 +1,10 @@ +DEPENDS = "" +#DEPENDS of dbus +DEPENDS += "doxygen" +DEPENDS += "expat" +DEPENDS += "libtool" +DEPENDS += "libzio" +DEPENDS += "pkg-config" +DEPENDS += "libsystemd-daemon" +DEPENDS += "libsystemd-login" +DEPENDS += "libcap-ng" diff --git a/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc index a4b07e4..6123764 100644 --- a/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc +++ b/meta-tizen/recipes-DevelopmentExtra/dbus/dbus.inc @@ -24,18 +24,6 @@ PROVIDES += "dbus-devel" RPROVIDES_dbus-devel += "dbus-devel" -DEPENDS = "" -#DEPENDS of dbus -DEPENDS += "doxygen" -DEPENDS += "expat" -DEPENDS += "libtool" -DEPENDS += "libzio" -DEPENDS += "pkg-config" -DEPENDS += "libsystemd-daemon" -DEPENDS += "libsystemd-login" -DEPENDS += "libcap-ng" - - RDEPENDS = "" #RDEPENDS of dbus-devel-doc # the RDEPENDS rules is ignore "dbus = 1.6.8" @@ -73,4 +61,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require dbus-depends.inc require dbus-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-depends.inc b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-depends.inc new file mode 100644 index 0000000..956e237 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of doxygen +DEPENDS += "gcc" +DEPENDS += "/usr/bin/perl" +DEPENDS += "/usr/bin/latex" +DEPENDS += "/usr/bin/dvips" +DEPENDS += "/usr/bin/gs" diff --git a/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc index 6c10d82..b87f19a 100644 --- a/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc +++ b/meta-tizen/recipes-DevelopmentExtra/doxygen/doxygen.inc @@ -13,16 +13,6 @@ PROVIDES += "doxygen" RPROVIDES_doxygen += "doxygen" -DEPENDS = "" -#DEPENDS of doxygen -# the DEPENDS rules is ignore "libstdc++ >= 2.96" -DEPENDS += "libstdc++" -DEPENDS += "/usr/bin/perl" -DEPENDS += "/usr/bin/latex" -DEPENDS += "/usr/bin/dvips" -DEPENDS += "/usr/bin/gs" - - RDEPENDS = "" #RDEPENDS of doxygen RDEPENDS_doxygen += "/sbin/chkconfig" @@ -46,4 +36,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require doxygen-depends.inc require doxygen-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-depends.inc b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-depends.inc new file mode 100644 index 0000000..de7aa8c --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils-depends.inc @@ -0,0 +1,8 @@ +DEPENDS = "" +#DEPENDS of elfutils +DEPENDS += "automake" +DEPENDS += "bison" +DEPENDS += "bzip2" +DEPENDS += "flex" +DEPENDS += "xz" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc index be238ff..a4001c4 100644 --- a/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc +++ b/meta-tizen/recipes-DevelopmentExtra/elfutils/elfutils.inc @@ -45,16 +45,6 @@ PROVIDES += "libebl" RPROVIDES_libebl += "libebl" -DEPENDS = "" -#DEPENDS of elfutils -DEPENDS += "automake" -DEPENDS += "bison" -DEPENDS += "bzip2" -DEPENDS += "flex" -DEPENDS += "xz" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of libebl-devel RDEPENDS_libebl-devel += "glibc-devel" @@ -126,4 +116,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require elfutils-depends.inc require elfutils-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/expat/expat-depends.inc b/meta-tizen/recipes-DevelopmentExtra/expat/expat-depends.inc new file mode 100644 index 0000000..4ff81b0 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/expat/expat-depends.inc @@ -0,0 +1,5 @@ +DEPENDS = "" +#DEPENDS of expat +DEPENDS += "autoconf" +DEPENDS += "automake" +DEPENDS += "libtool" diff --git a/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc b/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc index bfddef3..7efc95d 100644 --- a/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc +++ b/meta-tizen/recipes-DevelopmentExtra/expat/expat.inc @@ -18,13 +18,6 @@ PROVIDES += "expat-doc" RPROVIDES_expat-doc += "expat-doc" -DEPENDS = "" -#DEPENDS of expat -DEPENDS += "autoconf" -DEPENDS += "automake" -DEPENDS += "libtool" - - RDEPENDS = "" #RDEPENDS of expat-devel # the RDEPENDS rules is ignore "expat = 2.0.1" @@ -56,4 +49,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require expat-depends.inc require expat-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-depends.inc b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc index a859b9c..0f2864a 100644 --- a/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc +++ b/meta-tizen/recipes-DevelopmentExtra/fdupes/fdupes.inc @@ -10,8 +10,6 @@ PROVIDES += "fdupes" RPROVIDES_fdupes += "fdupes" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -27,4 +25,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require fdupes-depends.inc require fdupes-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/file/file-depends.inc b/meta-tizen/recipes-DevelopmentExtra/file/file-depends.inc new file mode 100644 index 0000000..d6263f0 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/file/file-depends.inc @@ -0,0 +1,5 @@ +DEPENDS = "" +#DEPENDS of file +DEPENDS += "findutils" +DEPENDS += "libtool" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/file/file.inc b/meta-tizen/recipes-DevelopmentExtra/file/file.inc index c644c7e..d6cd600 100644 --- a/meta-tizen/recipes-DevelopmentExtra/file/file.inc +++ b/meta-tizen/recipes-DevelopmentExtra/file/file.inc @@ -26,13 +26,6 @@ PROVIDES += "file" RPROVIDES_file += "file" -DEPENDS = "" -#DEPENDS of file -DEPENDS += "findutils" -DEPENDS += "libtool" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of file-devel RDEPENDS_file-devel += "glibc-devel" @@ -69,4 +62,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require file-depends.inc require file-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-depends.inc b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-depends.inc new file mode 100644 index 0000000..dc522c6 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47-depends.inc @@ -0,0 +1,14 @@ +DEPENDS = "" +#DEPENDS of gcc47 +DEPENDS += "bison" +DEPENDS += "flex" +DEPENDS += "gettext" +DEPENDS += "texinfo" +DEPENDS += "glibc-devel-32bit" +DEPENDS += "mpc-devel" +DEPENDS += "mpfr-devel" +DEPENDS += "perl" +DEPENDS += "texinfo" +DEPENDS += "zlib" +DEPENDS += "cloog-devel" +DEPENDS += "ppl-devel" diff --git a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc index fb2f635..53e2349 100644 --- a/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc +++ b/meta-tizen/recipes-DevelopmentExtra/gcc47/gcc47.inc @@ -366,22 +366,6 @@ PROVIDES += "cpp47" RPROVIDES_cpp47 += "cpp47" -DEPENDS = "" -#DEPENDS of gcc47 -DEPENDS += "bison" -DEPENDS += "flex" -DEPENDS += "gettext-tools" -DEPENDS += "makeinfo" -DEPENDS += "glibc-32bit" -DEPENDS += "mpc" -DEPENDS += "mpfr" -DEPENDS += "perl" -DEPENDS += "texinfo" -DEPENDS += "zlib" -DEPENDS += "cloog" -DEPENDS += "ppl" - - RDEPENDS = "" #RDEPENDS of libgfortran47 # the RDEPENDS rules is ignore "libquadmath0 >= 4.7.2-1" @@ -666,4 +650,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require gcc47-depends.inc require gcc47-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-depends.inc b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-depends.inc new file mode 100644 index 0000000..c1db248 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext-depends.inc @@ -0,0 +1,8 @@ +DEPENDS = "" +#DEPENDS of gettext +DEPENDS += "autoconf" +DEPENDS += "bison" +DEPENDS += "expat" +DEPENDS += "gcc" +DEPENDS += "libtool" +DEPENDS += "libunistring" diff --git a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc index af0007f..9d68e03 100644 --- a/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc +++ b/meta-tizen/recipes-DevelopmentExtra/gettext/gettext.inc @@ -22,17 +22,6 @@ PROVIDES += "gettext" RPROVIDES_gettext += "gettext" -DEPENDS = "" -#DEPENDS of gettext -# the DEPENDS rules is ignore "autoconf >= 2.5" -DEPENDS += "autoconf" -DEPENDS += "bison" -DEPENDS += "expat" -DEPENDS += "gcc" -DEPENDS += "libtool" -DEPENDS += "libunistring" - - RDEPENDS = "" #RDEPENDS of gettext-tools # the RDEPENDS rules is ignore "gettext-runtime = 0.18.1.1" @@ -56,4 +45,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require gettext-depends.inc require gettext-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/glib2/glib2-depends.inc b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2-depends.inc new file mode 100644 index 0000000..43ff5c1 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of glib2 +DEPENDS += "pkg-config" +DEPENDS += "gettext" +DEPENDS += "attr" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc index 15d2c0d..3af75eb 100644 --- a/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc +++ b/meta-tizen/recipes-DevelopmentExtra/glib2/glib2.inc @@ -18,14 +18,6 @@ PROVIDES += "glib2-static" RPROVIDES_glib2-static += "glib2-static" -DEPENDS = "" -#DEPENDS of glib2 -DEPENDS += "pkgconfig" -DEPENDS += "gettext-tools" -DEPENDS += "libattr" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of glib2-devel RDEPENDS_glib2-devel += "pkgconfig" @@ -58,4 +50,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require glib2-depends.inc require glib2-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/help2man/help2man-depends.inc b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man-depends.inc new file mode 100644 index 0000000..d71f22c --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of help2man +DEPENDS += "gettext" +DEPENDS += "perl-gettext" diff --git a/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc index fb65862..e0d22cb 100644 --- a/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc +++ b/meta-tizen/recipes-DevelopmentExtra/help2man/help2man.inc @@ -10,12 +10,6 @@ PROVIDES += "help2man" RPROVIDES_help2man += "help2man" -DEPENDS = "" -#DEPENDS of help2man -DEPENDS += "gettext-tools" -DEPENDS += "perl-gettext" - - RDEPENDS = "" #RDEPENDS of help2man RDEPENDS_help2man += "perl-gettext" @@ -34,4 +28,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require help2man-depends.inc require help2man-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-depends.inc b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc index f3a7d21..7a2a55d 100644 --- a/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc +++ b/meta-tizen/recipes-DevelopmentExtra/hwdata/hwdata.inc @@ -12,8 +12,6 @@ PROVIDES += "pciutils-ids" RPROVIDES_hwdata += "pciutils-ids" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -29,4 +27,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require hwdata-depends.inc require hwdata-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-depends.inc b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-depends.inc new file mode 100644 index 0000000..fcc87af --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of iso-codes +DEPENDS += "gettext" diff --git a/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc index ba0ec53..e372512 100644 --- a/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc +++ b/meta-tizen/recipes-DevelopmentExtra/iso-codes/iso-codes.inc @@ -14,12 +14,6 @@ PROVIDES += "iso-codes" RPROVIDES_iso-codes += "iso-codes" -DEPENDS = "" -#DEPENDS of iso-codes -# the DEPENDS rules is ignore "gettext-tools >= 0.16" -DEPENDS += "gettext-tools" - - RDEPENDS = "" #RDEPENDS of iso-codes-devel # the RDEPENDS rules is ignore "iso-codes = 3.13" @@ -43,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require iso-codes-depends.inc require iso-codes-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libcap/libcap-depends.inc b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap-depends.inc new file mode 100644 index 0000000..3c4a314 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of libcap +DEPENDS += "fdupes" +DEPENDS += "attr" diff --git a/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc index 6d840f8..5df910b 100644 --- a/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc +++ b/meta-tizen/recipes-DevelopmentExtra/libcap/libcap.inc @@ -18,12 +18,6 @@ PROVIDES += "libcap-devel" RPROVIDES_libcap-devel += "libcap-devel" -DEPENDS = "" -#DEPENDS of libcap -DEPENDS += "fdupes" -DEPENDS += "libattr" - - RDEPENDS = "" #RDEPENDS of libcap-devel RDEPENDS_libcap-devel += "glibc-devel" @@ -52,4 +46,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libcap-depends.inc require libcap-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-depends.inc b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-depends.inc new file mode 100644 index 0000000..0b6e486 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of libgcrypt +DEPENDS += "libgpg-error" +DEPENDS += "libtool" diff --git a/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc index 97b9a12..d58f010 100644 --- a/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc +++ b/meta-tizen/recipes-DevelopmentExtra/libgcrypt/libgcrypt.inc @@ -14,13 +14,6 @@ PROVIDES += "libgcrypt-devel" RPROVIDES_libgcrypt-devel += "libgcrypt-devel" -DEPENDS = "" -#DEPENDS of libgcrypt -# the DEPENDS rules is ignore "libgpg-error >= 1.8" -DEPENDS += "libgpg-error" -DEPENDS += "libtool" - - RDEPENDS = "" #RDEPENDS of libgcrypt-devel # the RDEPENDS rules is ignore "libgcrypt = 1.5.0" @@ -47,4 +40,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libgcrypt-depends.inc require libgcrypt-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-depends.inc b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-depends.inc new file mode 100644 index 0000000..b560205 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of libgpg-error +DEPENDS += "gettext" +DEPENDS += "libtool" diff --git a/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc index e998d79..52c8d41 100644 --- a/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc +++ b/meta-tizen/recipes-DevelopmentExtra/libgpg-error/libgpg-error.inc @@ -21,12 +21,6 @@ PROVIDES += "libgpg-error" RPROVIDES_libgpg-error += "libgpg-error" -DEPENDS = "" -#DEPENDS of libgpg-error -DEPENDS += "gettext-tools" -DEPENDS += "libtool" - - RDEPENDS = "" #RDEPENDS of libgpg-error-devel RDEPENDS_libgpg-error-devel += "glibc-devel" @@ -55,4 +49,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libgpg-error-depends.inc require libgpg-error-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-depends.inc b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-depends.inc new file mode 100644 index 0000000..e675b1e --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of libxml2 +DEPENDS += "pkg-config" +DEPENDS += "readline" +DEPENDS += "xz" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc index a3a66d2..a115c58 100644 --- a/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc +++ b/meta-tizen/recipes-DevelopmentExtra/libxml2/libxml2.inc @@ -22,14 +22,6 @@ PROVIDES += "libxml2-tools" RPROVIDES_libxml2-tools += "libxml2-tools" -DEPENDS = "" -#DEPENDS of libxml2 -DEPENDS += "pkg-config" -DEPENDS += "readline" -DEPENDS += "xz" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of libxml2-devel # the RDEPENDS rules is ignore "libxml2 = 2.8.0" @@ -71,4 +63,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libxml2-depends.inc require libxml2-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-depends.inc b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-depends.inc new file mode 100644 index 0000000..32ab9ce --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio-depends.inc @@ -0,0 +1,6 @@ +DEPENDS = "" +#DEPENDS of libzio +DEPENDS += "bzip2" +DEPENDS += "xz" +DEPENDS += "xz" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc index 8431458..b153d88 100644 --- a/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc +++ b/meta-tizen/recipes-DevelopmentExtra/libzio/libzio.inc @@ -14,14 +14,6 @@ PROVIDES += "libzio" RPROVIDES_libzio += "libzio" -DEPENDS = "" -#DEPENDS of libzio -DEPENDS += "bzip2" -DEPENDS += "xz" -DEPENDS += "xz" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of libzio-devel # the RDEPENDS rules is ignore "libzio = 0.99" @@ -45,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require libzio-depends.inc require libzio-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-depends.inc b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-depends.inc new file mode 100644 index 0000000..c22f0af --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of linux-glibc-devel +DEPENDS += "fdupes" diff --git a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc index c53845a..b0e64e5 100644 --- a/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc +++ b/meta-tizen/recipes-DevelopmentExtra/linux-glibc-devel/linux-glibc-devel.inc @@ -15,11 +15,6 @@ PROVIDES += "linux-kernel-headers" RPROVIDES_linux-glibc-devel += "linux-kernel-headers" -DEPENDS = "" -#DEPENDS of linux-glibc-devel -DEPENDS += "fdupes" - - RDEPENDS = "" PACKAGES = "" @@ -35,4 +30,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require linux-glibc-devel-depends.inc require linux-glibc-devel-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/lua/lua-depends.inc b/meta-tizen/recipes-DevelopmentExtra/lua/lua-depends.inc new file mode 100644 index 0000000..fb6ea7c --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/lua/lua-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of lua +DEPENDS += "pkg-config" +DEPENDS += "readline" diff --git a/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc b/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc index f4a3360..9f1892a 100644 --- a/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc +++ b/meta-tizen/recipes-DevelopmentExtra/lua/lua.inc @@ -22,12 +22,6 @@ PROVIDES += "lua-doc" RPROVIDES_lua-doc += "lua-doc" -DEPENDS = "" -#DEPENDS of lua -DEPENDS += "pkg-config" -DEPENDS += "readline" - - RDEPENDS = "" #RDEPENDS of lua-devel # the RDEPENDS rules is ignore "lua = 5.1.4" @@ -59,4 +53,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require lua-depends.inc require lua-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-depends.inc b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-depends.inc new file mode 100644 index 0000000..9e26a27 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of ncurses +DEPENDS += "gcc" diff --git a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc index f179dfb..5d4f402 100644 --- a/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc +++ b/meta-tizen/recipes-DevelopmentExtra/ncurses/ncurses.inc @@ -46,11 +46,6 @@ PROVIDES += "terminfo" RPROVIDES_terminfo += "terminfo" -DEPENDS = "" -#DEPENDS of ncurses -DEPENDS += "gcc" - - RDEPENDS = "" #RDEPENDS of ncurses-devel # the RDEPENDS rules is ignore "ncurses = 5.9-0" @@ -100,4 +95,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require ncurses-depends.inc require ncurses-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/nss/nss-depends.inc b/meta-tizen/recipes-DevelopmentExtra/nss/nss-depends.inc new file mode 100644 index 0000000..d46b2ba --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/nss/nss-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of nss +DEPENDS += "gcc" +DEPENDS += "nspr" +DEPENDS += "pkg-config" +DEPENDS += "zlib" +DEPENDS += "sqlite3" diff --git a/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc b/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc index af2a447..aa0901c 100644 --- a/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc +++ b/meta-tizen/recipes-DevelopmentExtra/nss/nss.inc @@ -34,15 +34,6 @@ PROVIDES += "nss" RPROVIDES_nss += "nss" -DEPENDS = "" -#DEPENDS of nss -DEPENDS += "gcc" -DEPENDS += "nspr" -DEPENDS += "pkg-config" -DEPENDS += "zlib" -DEPENDS += "sqlite3" - - RDEPENDS = "" #RDEPENDS of libsoftokn3 # the RDEPENDS rules is ignore "libfreebl3 = 3.13.6-0" @@ -100,4 +91,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require nss-depends.inc require nss-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/openssl/openssl-depends.inc b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc index 5a90e5b..60fd4ed 100644 --- a/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc +++ b/meta-tizen/recipes-DevelopmentExtra/openssl/openssl.inc @@ -14,8 +14,6 @@ PROVIDES += "openssl-devel" RPROVIDES_openssl-devel += "openssl-devel" -DEPENDS = "" - RDEPENDS = "" #RDEPENDS of openssl-devel # the RDEPENDS rules is ignore "openssl = 1.0.1c" @@ -39,4 +37,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require openssl-depends.inc require openssl-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-depends.inc b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-depends.inc new file mode 100644 index 0000000..2479b05 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext-depends.inc @@ -0,0 +1,4 @@ +DEPENDS = "" +#DEPENDS of perl-gettext +DEPENDS += "perl" +DEPENDS += "perl" diff --git a/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc index d1d7c3b..b5b4bc2 100644 --- a/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc +++ b/meta-tizen/recipes-DevelopmentExtra/perl-gettext/perl-gettext.inc @@ -10,12 +10,6 @@ PROVIDES += "perl-gettext" RPROVIDES_perl-gettext += "perl-gettext" -DEPENDS = "" -#DEPENDS of perl-gettext -DEPENDS += "perl" -DEPENDS += "perl-macros" - - RDEPENDS = "" #RDEPENDS of perl-gettext # the RDEPENDS rules is ignore "perl = 5.16.0" @@ -35,4 +29,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require perl-gettext-depends.inc require perl-gettext-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/perl/perl-depends.inc b/meta-tizen/recipes-DevelopmentExtra/perl/perl-depends.inc new file mode 100644 index 0000000..6ab9ce0 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/perl/perl-depends.inc @@ -0,0 +1,7 @@ +DEPENDS = "" +#DEPENDS of perl +DEPENDS += "db4" +DEPENDS += "gdbm" +DEPENDS += "bzip2" +DEPENDS += "ncurses" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc b/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc index ec836f6..88c4ace 100644 --- a/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc +++ b/meta-tizen/recipes-DevelopmentExtra/perl/perl.inc @@ -78,15 +78,6 @@ PROVIDES += "perl-version" RPROVIDES_perl += "perl-version" -DEPENDS = "" -#DEPENDS of perl -DEPENDS += "db4" -DEPENDS += "gdbm" -DEPENDS += "bzip2" -DEPENDS += "ncurses" -DEPENDS += "zlib" - - RDEPENDS = "" #RDEPENDS of perl-doc # the RDEPENDS rules is ignore "perl = 5.16.2" @@ -114,4 +105,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require perl-depends.inc require perl-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-depends.inc b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc index 42de492..655d7b6 100644 --- a/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc +++ b/meta-tizen/recipes-DevelopmentExtra/pkg-config/pkg-config.inc @@ -15,8 +15,6 @@ PROVIDES += "pkg-config" RPROVIDES_pkg-config += "pkg-config" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -32,4 +30,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require pkg-config-depends.inc require pkg-config-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/smack/smack-depends.inc b/meta-tizen/recipes-DevelopmentExtra/smack/smack-depends.inc new file mode 100644 index 0000000..9a266b3 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/smack/smack-depends.inc @@ -0,0 +1,5 @@ +DEPENDS = "" +#DEPENDS of smack +DEPENDS += "automake" +DEPENDS += "autoconf" +DEPENDS += "libtool" diff --git a/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc b/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc index bccfcb8..9893e66 100644 --- a/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc +++ b/meta-tizen/recipes-DevelopmentExtra/smack/smack.inc @@ -18,13 +18,6 @@ PROVIDES += "smack-utils" RPROVIDES_smack-utils += "smack-utils" -DEPENDS = "" -#DEPENDS of smack -DEPENDS += "automake" -DEPENDS += "autoconf" -DEPENDS += "libtool" - - RDEPENDS = "" #RDEPENDS of smack-devel # the RDEPENDS rules is ignore "smack = 1.0-1" @@ -56,4 +49,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require smack-depends.inc require smack-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-depends.inc b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-depends.inc new file mode 100644 index 0000000..65a4d0c --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo-depends.inc @@ -0,0 +1,9 @@ +DEPENDS = "" +#DEPENDS of texinfo +DEPENDS += "automake" +DEPENDS += "help2man" +DEPENDS += "bzip2" +DEPENDS += "libzio" +DEPENDS += "ncurses" +DEPENDS += "perl-gettext" +DEPENDS += "zlib" diff --git a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc index 86126c0..5cadcb5 100644 --- a/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc +++ b/meta-tizen/recipes-DevelopmentExtra/texinfo/texinfo.inc @@ -26,17 +26,6 @@ PROVIDES += "texinfo:/usr/bin/makeinfo" RPROVIDES_makeinfo += "texinfo:/usr/bin/makeinfo" -DEPENDS = "" -#DEPENDS of texinfo -DEPENDS += "automake" -DEPENDS += "help2man" -DEPENDS += "bzip2" -DEPENDS += "libzio" -DEPENDS += "ncurses" -DEPENDS += "perl-gettext" -DEPENDS += "zlib" - - RDEPENDS = "" PACKAGES = "" @@ -60,4 +49,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require texinfo-depends.inc require texinfo-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/uthash/uthash-depends.inc b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash-depends.inc new file mode 100644 index 0000000..758b1b4 --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash-depends.inc @@ -0,0 +1 @@ +DEPENDS = "" diff --git a/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc index 8ab7acf..3a9d688 100644 --- a/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc +++ b/meta-tizen/recipes-DevelopmentExtra/uthash/uthash.inc @@ -14,8 +14,6 @@ PROVIDES += "uthash-devel" RPROVIDES_uthash-devel += "uthash-devel" -DEPENDS = "" - RDEPENDS = "" PACKAGES = "" @@ -31,4 +29,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require uthash-depends.inc require uthash-extraconf.inc diff --git a/meta-tizen/recipes-DevelopmentExtra/zlib/zlib-depends.inc b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib-depends.inc new file mode 100644 index 0000000..cb307bd --- /dev/null +++ b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib-depends.inc @@ -0,0 +1,3 @@ +DEPENDS = "" +#DEPENDS of zlib +DEPENDS += "pkg-config" diff --git a/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc index 81b59cd..298dc97 100644 --- a/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc +++ b/meta-tizen/recipes-DevelopmentExtra/zlib/zlib.inc @@ -32,11 +32,6 @@ PROVIDES += "minizip-devel" RPROVIDES_minizip-devel += "minizip-devel" -DEPENDS = "" -#DEPENDS of zlib -DEPENDS += "pkgconfig" - - RDEPENDS = "" #RDEPENDS of zlib-devel RDEPENDS_zlib-devel += "glibc-devel" @@ -85,4 +80,5 @@ BBCLASSEXTEND =+ "native" require recipes-BaseSystem/tizenBuildUtils/tizenBuildUtils.inc +require zlib-depends.inc require zlib-extraconf.inc -- 2.7.4