rpms/openvrml/devel openvrml.spec,1.80,1.81

Braden McDaniel braden at fedoraproject.org
Fri Oct 16 02:56:14 UTC 2009


Author: braden

Update of /cvs/pkgs/rpms/openvrml/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22861/devel

Modified Files:
	openvrml.spec 
Log Message:
Moved libopenvrml.so.* to libopenvrml subpackage; moved libopenvrml-gl.so.* to libopenvrml-gl subpackage; moved node implementations to openvrml-nodes subpackage; made openvrml a metapackage.


Index: openvrml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openvrml/devel/openvrml.spec,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -p -r1.80 -r1.81
--- openvrml.spec	15 Oct 2009 06:08:20 -0000	1.80
+++ openvrml.spec	16 Oct 2009 02:56:14 -0000	1.81
@@ -1,8 +1,8 @@
 # -*- rpm-spec -*-
 Name:           openvrml
 Version:        0.18.3
-Release:        7%{?dist}
-Summary:        VRML/X3D runtime library
+Release:        8%{?dist}
+Summary:        VRML/X3D player and runtime library
 License:        LGPLv3+
 Group:          System Environment/Libraries
 Source:         http://downloads.sourceforge.net/openvrml/%{name}-%{version}.tar.gz
@@ -24,26 +24,44 @@ BuildRequires:  gtkglext-devel
 BuildRequires:  libgnomeui-devel >= 2.14
 BuildRequires:  curl-devel
 BuildRequires:  java-devel
+Requires:       openvrml-player%{?_isa} = %{version}-%{release}
+Requires:       openvrml-mozilla-plugin%{?_isa} = %{version}-%{release}
+Requires:       openvrml-nodes%{?_isa} = %{version}-%{release}
+Requires:       openvrml-java%{?_isa} = %{version}-%{release}
+Requires:       openvrml-javascript%{?_isa} = %{version}-%{release}
 
 %description
-OpenVRML is a VRML/X3D support library, including a runtime and facilities
-for reading and displaying VRML and X3D models.
+Metapackage that aggregates the stand-alone player, the Web browser
+plug-in, the node implementations, and the Java and JavaScript
+scripting engines.
 
+%package -n libopenvrml
+Summary:        VRML/X3D runtime library
+Group:          System Environment/Libraries
+%description -n libopenvrml
+The core runtime library and parsing facilities for OpenVRML.
 
-%package devel
+%package -n lib%{name}-devel
 Summary:        Headers for developing C++ programs with OpenVRML
 Group:          Development/Libraries
-Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       libopenvrml%{?_isa} = %{version}-%{release}
 Requires:       pkgconfig >= 0.18.0
 Requires:       boost-devel%{?_isa} >= 1.37.0
-%description devel
+%description -n libopenvrml-devel
 Headers that programmers will need to develop C++ programs using
-OpenVRML.
+libopenvrml.
+
+%package nodes
+Summary:        OpenVRML node implementations.
+Group:          System Environment/Libraries
+Requires:       libopenvrml%{?_isa} = %{version}-%{release}
+%description nodes
+Node implementations for OpenVRML.
 
 %package javascript
 Summary:        Script node JavaScript support for OpenVRML
 Group:          System Environment/Libraries
-Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       libopenvrml%{?_isa} = %{version}-%{release}
 Requires:       xulrunner%{?_isa} >= 1.9.1
 %description javascript
 A JavaScript scripting engine for OpenVRML using Mozilla SpiderMonkey.
@@ -51,26 +69,26 @@ A JavaScript scripting engine for OpenVR
 %package java
 Summary:        Script node Java support for OpenVRML
 Group:          System Environment/Libraries
-Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       libopenvrml%{?_isa} = %{version}-%{release}
 Requires:       java-1.6.0-openjdk%{?_isa}
 %description java
 A Java scripting engine for OpenVRML.
 
-%package gl
+%package -n libopenvrml-gl
 Summary:        OpenGL renderer for OpenVRML
 Group:          System Environment/Libraries
-Requires:       %{name}%{?_isa} = %{version}-%{release}
-%description gl
+Requires:       libopenvrml%{?_isa} = %{version}-%{release}
+%description -n libopenvrml-gl
 OpenGL renderer for OpenVRML.
 
-%package gl-devel
+%package -n libopenvrml-gl-devel
 Summary:        OpenVRML OpenGL renderer headers
 Group:          Development/Libraries
-Requires:       %{name}-gl%{?_isa} = %{version}-%{release}
-Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
+Requires:       libopenvrml-gl%{?_isa} = %{version}-%{release}
+Requires:       libopenvrml-devel%{?_isa} = %{version}-%{release}
 Requires:       pkgconfig >= 0.18.0
 Requires:       mesa-libGLU-devel%{?_isa}
-%description gl-devel
+%description -n libopenvrml-gl-devel
 Headers that programmers will need to develop C++ programs using the
 OpenVRML OpenGL renderer.
 
@@ -127,32 +145,26 @@ CXXFLAGS="%optflags -fvisibility=hidden 
 %{__rm} %{buildroot}%{_libdir}/mozilla/plugins/openvrml.la
 %{__rm} %{buildroot}%{_libdir}/openvrml/node/*.la
 %{__rm} %{buildroot}%{_libdir}/openvrml/script/*.la
-%{__cp} AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS %{buildroot}%{_docdir}/%{name}-%{version}
 
 %clean
 %{__rm} -rf %{buildroot}
 
-%post -p /sbin/ldconfig
+%files
+
+%post -n libopenvrml -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n libopenvrml -p /sbin/ldconfig
 
-%files
-%doc %{_docdir}/%{name}-%{version}/AUTHORS
-%doc %{_docdir}/%{name}-%{version}/COPYING.LESSER
-%doc %{_docdir}/%{name}-%{version}/ChangeLog
-%doc %{_docdir}/%{name}-%{version}/NEWS
-%doc %{_docdir}/%{name}-%{version}/README
-%doc %{_docdir}/%{name}-%{version}/THANKS
+%files -n libopenvrml
+%doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS
 %dir %{_datadir}/openvrml
 %dir %{_datadir}/openvrml/component
-%{_datadir}/openvrml/component/*.xml
 %{_libdir}/libopenvrml.so.*
 %dir %{_libdir}/openvrml
 %dir %{_libdir}/openvrml/node
-%{_libdir}/openvrml/node/*.so
 %dir %{_libdir}/openvrml/script
 
-%files devel
+%files -n libopenvrml-devel
 %doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS
 %dir %{_includedir}/%{name}
 %{_includedir}/%{name}/openvrml-common.h
@@ -162,24 +174,28 @@ CXXFLAGS="%optflags -fvisibility=hidden 
 %{_libdir}/libopenvrml.so
 %{_libdir}/pkgconfig/openvrml.pc
 
+%files nodes
+%{_datadir}/openvrml/component/*.xml
+%{_libdir}/openvrml/node/*.so
+
 %files javascript
 %{_libdir}/openvrml/script/javascript.so
 
 %files java
-%{_libdir}/openvrml/script/java.so
 %dir %{_datadir}/openvrml/java
 %{_datadir}/openvrml/java/script.jar
+%{_libdir}/openvrml/script/java.so
 %{_javadocdir}/%{name}-%{version}
 
-%post gl -p /sbin/ldconfig
+%post -n libopenvrml-gl -p /sbin/ldconfig
 
-%postun gl -p /sbin/ldconfig
+%postun -n libopenvrml-gl -p /sbin/ldconfig
 
-%files gl
+%files -n libopenvrml-gl
 %doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS
 %{_libdir}/libopenvrml-gl.so.*
 
-%files gl-devel
+%files -n libopenvrml-gl-devel
 %doc AUTHORS COPYING.LESSER ChangeLog NEWS README THANKS
 %{_includedir}/%{name}/openvrml-gl-common.h
 %{_includedir}/%{name}/openvrml-gl-config.h
@@ -213,10 +229,13 @@ CXXFLAGS="%optflags -fvisibility=hidden 
 %doc %{_docdir}/%{name}-%{version}/manual
 
 %changelog
-* Thu Oct 15 2009  Braden McDaniel  <braden at endoframe.com>
+* Thu Oct 15 2009  Braden McDaniel  <braden at endoframe.com> - 0.18.3-8
 - Copy README, etc. to %%{_docdir} in %%install so that we can use absolute
   paths with %%doc; the relative form invokes an rm -rf that blows away the
   Doxygen docs.
+- Moved libopenvrml.so.* to libopenvrml subpackage.
+- Moved libopenvrml-gl.so.* to libopenvrml-gl subpackage.
+- Moved node implementations to openvrml-nodes subpackage.
 
 * Wed Oct 14 2009  Braden McDaniel  <braden at endoframe.com>
 - Moved jar file and javadoc to openvrml-java subpackage.




More information about the fedora-extras-commits mailing list