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 2
[-]
[+]
Added
openvrml.spec
@@ -0,0 +1,324 @@ +Name: openvrml +Version: 0.16.6 +Release: 1 +Summary: VRML97 runtime library. +License: LGPL +Group: System Environment/Libraries +Packager: The OpenVRML Development Team <openvrml-develop@lists.sf.net> +Source: http://prdownloads.sf.net/openvrml/%{name}-%{version}.tar.gz +URL: http://openvrml.org +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: pkgconfig >= 0.12.0 +BuildRequires: boost-devel >= 1.32.0 +BuildRequires: zlib-devel >= 1.1.3 +BuildRequires: libpng-devel >= 1.0.12 +BuildRequires: libjpeg-devel >= 6b +BuildRequires: fontconfig-devel >= 2.0 +BuildRequires: freetype2-devel >= 2.1.2 +BuildRequires: freeglut-devel +BuildRequires: xorg-x11-Mesa-devel +BuildRequires: gtk2-devel +BuildRequires: freeglut +BuildRequires: gcc-c++ +BuildRequires: libglade2-devel libglade2 curl-devel curl SDL SDL-devel libgnomeui libgnomeui-devel libjs1 js js-devel +Requires: zlib >= 1.1.3 +Requires: libpng >= 1.0.12 +Requires: libjpeg >= 6b +Requires: fontconfig >= 2.0 +Requires: freetype2 >= 2.1.2 +Requires: freeglut + +%if 0%{?suse_version} == 1000 +BuildRequires: mozilla-devel >= 1.6 +Requires: mozilla >= 1.6 +%else +BuildRequires: mozilla-nspr-devel mozilla-nss-devel +Requires: mozilla-nspr mozilla-nss +%endif + +%description +OpenVRML is a VRML support library, including a runtime and facilities for +reading and writing VRML models. + + +%package devel +Summary: Headers and static library for developing C++ programs with OpenVRML +Group: Development/Libraries +Requires: %{name} +Requires: boost-devel >= 1.32.0 +%description devel +Headers and static library that programmers will need to develop C++ programs +using OpenVRML + +%package gl +Summary: OpenGL renderer for OpenVRML +Group: System Environment/Libraries +Requires: %{name} = %{version} +Requires: freeglut +%description gl +OpenGL renderer for OpenVRML. + +%package gl-devel +Summary: OpenVRML OpenGL renderer headers and static library. +Group: Development/Libraries +Requires: %{name}-gl = %{version} +Requires: freeglut-devel +%description gl-devel +Headers and static library that programmers will need to develop C++ programs +using the OpenVRML OpenGL renderer. + +%package mozilla-plugin +Summary: VRML browser plug-in for Mozilla-based browsers. +Group: Applications/Internet +License: GPL +Requires: %{name}-gl = %{version} +Requires: gtk2 +Requires: mozilla >= 1.6 +%description mozilla-plugin +VRML browser plug-in for Mozilla-based browsers. + +%prep +%setup + +%build +%configure --with-x --disable-exception-specs --disable-examples --disable-script-node-java --with-libjs CPPFLAGS="-DNDEBUG" +%{__make} %{?_smp_mflags} + +%install +%makeinstall +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/openvrml.la + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files +%doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS +%{_libdir}/libopenvrml.so.* + +%files devel +%doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS +%doc doc/manual +%{_includedir}/%{name}/openvrml-common.h +%{_includedir}/%{name}/openvrml-config.h +%{_includedir}/%{name}/openvrml/*.h +%{_libdir}/libopenvrml.la +%{_libdir}/libopenvrml.a +%{_libdir}/libopenvrml.so +%{_libdir}/pkgconfig/openvrml.pc + +%files gl +%doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS +#%{_libdir}/libopenvrml-gl.so.* + +%files gl-devel +%doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS +%{_includedir}/%{name}/openvrml-gl-common.h +%{_includedir}/%{name}/openvrml-gl-config.h +%{_includedir}/%{name}/openvrml/gl +%{_libdir}/libopenvrml-gl.la +%{_libdir}/libopenvrml-gl.a +%{_libdir}/libopenvrml-gl.so +%{_libdir}/pkgconfig/openvrml-gl.pc + +%files mozilla-plugin +%doc AUTHORS COPYING ChangeLog NEWS README THANKS +%{_libdir}/mozilla/plugins/openvrml.so +%{_libdir}/mozilla/plugins/openvrml.xpt +%{_libexecdir}/openvrml-player +%{_datadir}/idl/%{name}-%{version}/openvrml.idl + + +%changelog +* Thu Aug 10 2006 Braden McDaniel <braden@endoframe.com> +- Use %{__make} instead of make. +- Use %{__rm} instead of rm. +- Include openvrml-common.h and openvrml-config.h in openvrml-devel. +- Include openvrml-gl-common.h and openvrml-gl-config.h in + openvrml-gl-devel. + +* Wed Jul 26 2006 Braden McDaniel <braden@endoframe.com> +- Require boost-devel 1.33.1. +- Added dependency on boost-devel to openvrml-devel. +- Updated Mesa package names for Fedora Core 5. + +* Sun Feb 12 2006 Braden McDaniel <braden@endoframe.com> +- configure with --disable-exception-specs. + +* Tue Apr 20 2005 Braden McDaniel <braden@endoframe.com> +- Removed dejagnu build prerequisite. + +* Mon Mar 21 2005 Braden McDaniel <braden@endoframe.com> +- No longer emit lookat package. +- configure with --disable-examples. + +* Wed Jan 26 2005 Braden McDaniel <braden@endoframe.com> +- configure with --disable-script-node-java. The Script node Java binding + is not currently usable. + +* Fri Jan 07 2005 Braden McDaniel <braden@endoframe.com> +- Added %{_libexecdir}/openvrml-player to the openvrml-mozilla-plugin package. + +* Fri Dec 29 2004 Braden McDaniel <braden@endoframe.com> +- Fixed name of xorg-x11-devel prerequisite for the openvrml-gl-devel package. + +* Fri Dec 24 2004 Braden McDaniel <braden@endoframe.com> +- Require mozilla >= 1.6. The plug-in now must link with libxpcom. +- Removed GtkGLExt dependency; added GTK+ 2.x dependency. GtkGLExt is + now included in the distribution. + +* Thu Dec 03 2004 Braden McDaniel <braden@endoframe.com> +- Use %makeinstall macro. +- Install COPYING (GPL) with lookat documentation rather than COPYING.LESSER + (LGPL). + +* Tue Nov 30 2004 Braden McDaniel <braden@endoframe.com> +- Added dejagnu >= 1.4 as a build prerequisite. + +* Fri Nov 26 2004 Braden McDaniel <braden@endoframe.com> +- Changed Mozilla plug-in RPM name to openvrml-mozilla-plugin. +- Refer to the plug-in in comments as "for Mozilla-based browsers" rather than + "for Mozilla". + +* Sun Nov 21 2004 Braden McDaniel <braden@endoframe.com> +- Changed openvrml-gl-devel dependency on XFree86-devel to xorg-X11-devel. +- Removed openvrml-mozilla dependency on mozilla. Other browsers (e.g., + Firefox) could use the plug-in, too. + +* Sat May 15 2004 Braden McDaniel <braden@endoframe.com> +- Use "License" instead of "Copyright". +- Require xorg-x11 packages instead of XFree86. +- Removed "Prefix" specification. +- Use "%configure" macro. +- Install script.jar. +- Use %{_libdir}, etc. macros. +- Install openvrml.idl. + +* Sun May 09 2004 Braden McDaniel <braden@endoframe.com> +- Corrected description of lookat RPM to reflect the change to using SDL. +- Define NDEBUG when configuring. +