# spec2yocto ## Installation ### Define the YOCTO_WORKDIR environment variable: export YOCTO_WORKDIR= ### Copy .spec2yoctorc to your home directory cp tizen/proto-meta-Tizen_generic/.spec2yoctorc ~/ ### Create a symbolic link to spec2yocto.py in a directory of your ${PATH} ln -sf ~/bin/spec2yocto ${YOCTO_WORKDIR}/yoctoTizen/tools/spec2yocto.py You can, of course, replace the "~/bin" with another directory of your choice. ### Create a spec2yocto directory in /usr/share sudo mkdir /usr/share/spec2yocto ### Create a symbolic link to roto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro sudo ln -sf ${YOCTO_WORKDIR}/tizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /usr/share/spec2yocto/macro ## Usage ### Execute gitCloneAll.sh (optional) This project already contains all the necessary spec files to generate the recipes however those spec files may not be the most recent ones. If you want to generate the recipes from the latest spec files you can use this command which will clone all the tizen projects used in the Tizen Yocto images (note that it will take a while): .tizen/tools/gitCloneAll.sh Alternatively you can also fetch a specific project: .tizen/tools/gitCloneAll.sh ## Using spec2yocto For example, to generate the recipes: spec2yocto createRecipes For more commands, you can display the help: spec2yocto -h ## License GPL v2