# spec2yocto
-
## Installation
-### Go to your work directory:
-
- cd /your/work/directory
-
### Define the YOCTO_WORKDIR environment variable:
export YOCTO_WORKDIR=<path_to_your_workdir>
-### Clone this project
-
- git clone https://github.com/eurogiciel-oss/yoctoTizen.git
-
### Copy .spec2yoctorc to your home directory
- cp yoctoTizen/proto-meta-Tizen_generic/.spec2yoctorc ~/
+ cp tizen/proto-meta-Tizen_generic/.spec2yoctorc ~/
### Create a symbolic link to spec2yocto.py in a directory of your ${PATH}
- ln -s /bindir/spec2yocto ${YOCTO_WORKDIR}/yoctoTizen/tools/spec2yocto.py <path_to_your_bindir>/spec2yocto
+ 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
### Create a symbolic link to roto-meta-Tizen_generic/rpm_tizen_macro/ in /usr/share/spec2yocto/macro
- sudo ln -s /home/kthierry/yocto/yoctoTizen/proto-meta-Tizen_generic/rpm_tizen_macro/ /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
- ./tools/gitCloneAll.sh
+This will clone all the tizen projects used in the Tizen Yocto images
+
+ .tizen/tools/gitCloneAll.sh
## Using spec2yocto
-TO DO
+For example, to generate the recipes:
+
+ spec2yocto createRecipes
+
+For more commands, you can display the help:
+
+ spec2yocto -h
## License