CMake errors Lightspark compilation

Hi everybody !
Lightspark uses cmake to compile himself but i have some errors i have never see:

Make Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
JPEG_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/abuild/rpmbuild/BUILD/lightspark-0.5.3
   used as include directory in directory /home/abuild/rpmbuild/BUILD/lightspark-0.5.3/src
   used as include directory in directory /home/abuild/rpmbuild/BUILD/lightspark-0.5.3/src/plugin
   used as include directory in directory /home/abuild/rpmbuild/BUILD/lightspark-0.5.3/src/backends/interfaces
   used as include directory in directory /home/abuild/rpmbuild/BUILD/lightspark-0.5.3/src/backends/interfaces/audio
   used as include directory in directory /home/abuild/rpmbuild/BUILD/lightspark-0.5.3/src/backends/interfaces/audio/pulse

Can you explain me how to solve those kind of errors ?
Thanks a lot

Hi
Have a look here at the spec file;
http://pmbs.links2linux.org/package/show?package=lightspark&project=home%3Amalcolmlewis


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 1 day 3:40, 5 users, load average: 0.05, 0.08, 0.06
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thanks you very much malcolm you care me.
@+

[EDIT] I have copy all your files + a little update from git but i have a problem: OBS says could not parse name from lightspark.spec so it exactly your spec file !

Hi
Just check that the version of your updated git tarball match the
version and the source0 lines.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 2 days 1:12, 3 users, load average: 0.11, 0.07, 0.06
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Hi
I’ve updated to the latest git release, check the link I posted for
updated files and build.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 2 days 3:16, 3 users, load average: 0.00, 0.30, 0.39
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Is your rpm available on the packman repo ? It is useless to compile spark if i can integrate your rpm in my omn Opensuse based distro (suse studio)

Hi
You might find it, else manually connect or upload the rpm?
http://pmbs.links2linux.org/download/home:/malcolmlewis/Multimedia_openSUSE_12.1/


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.1 (x86_64) Kernel 3.1.0-1.2-desktop
up 1 day 0:31, 3 users, load average: 0.08, 0.13, 0.12
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Thanks a lot malcolm it works perfectly