Search
j0ke.net Open Build Service
>
Projects
>
graphics
:
openvrml
>
openvrml
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 44
[-]
[+]
Changed
openvrml.spec
@@ -20,15 +20,21 @@ BuildRequires: freetype-devel >= 2.1.2 %endif -%if 0%{?suse_version} +%if 0%{?suse_version} && 0%{?sles_version} != 11 BuildRequires: mozilla-xulrunner181-devel Requires: mozilla-xulrunner181 BuildRequires: Mesa-devel %else +%if 0%{?sles_version} == 11 +BuildRequires: mozilla-xulrunner190-devel +Requires: mozilla-xulrunner190 +BuildRequires: Mesa-devel +%else BuildRequires: gecko-devel >= 1.9 Requires: gecko-libs >= 1.9 BuildRequires: libGLU-devel %endif +%endif %if 0%{?suse_version} BuildRequires: xorg-x11-libXmu-devel @@ -56,14 +62,20 @@ Requires: libpng-devel Requires: libjpeg-devel Requires: fontconfig-devel -%if 0%{?suse_version} +%if 0%{?suse_version} && 0%{?sles_version} != 11 Requires: freetype2-devel Requires: mozilla-xulrunner181-devel Requires: libglade2-devel %else +%if 0%{?sles_version} == 11 +Requires: freetype2-devel +Requires: mozilla-xulrunner190-devel +Requires: libglade2-devel +%else Requires: freetype-devel Requires: gecko-devel >= 1.9 %endif +%endif %description devel Headers that programmers will need to develop C++ programs using @@ -141,7 +153,11 @@ --disable-script-node-java \ --docdir=%{_prefix}/share/doc/packages \ CPPFLAGS="-DNDEBUG" \ + %if 0%{?sles_version} == 11 + LDFLAGS="-L%{_libdir}/xulrunner-1.9.0" \ + %else LDFLAGS="-L%{_libdir}/xulrunner-1.8.1" \ + %endif BOOST_LIB_SUFFIX="-mt" || cat config.log %{__make} %{?_smp_mflags}