Spec URL: http://www.ece.ucdavis.edu/~ewwork/repo/5/SPECS/glitz.spec SRPM URL: http://www.ece.ucdavis.edu/~ewwork/repo/5/SRPMS/glitz-0.5.6-1.src.rpm Description: Glitz is an OpenGL image compositing library. Glitz provides Porter/Duff compositing of images and implicit mask generation for geometric primitives including trapezoids, triangles, and rectangles. This had been tested with mock and rpmlint. This package is required to build Xgl.
Some comments: * IMO, it should be considered to split this package into 2 subpackages: glitz and glitz-glx, because the package internally consists of libglitz and several backends, with libglitz-glx being one them. Splitting it would allow more fine-grained deps, and thereby would help avoid unnecessary deps of apps/libs based on glitz. * The deps of the devel package don't seem to be correct: - libglitz doesn't seem to depend on any X or GL library. - libglitz-glx seems to depend libX11-devel and libGL-devel, but not on further libX*-devel, in particular it doesn't not depend on libXt-devel. * The package ships manpages, but doesn't install them. May-be it's worth considering to install them. * The configure script carries several options defaulting to true: --disable-glx Disable glitz's GLX backend --disable-agl Disable glitz's AGL backend --enable-egl Enable glitz's EGL backend --disable-wgl Disable glitz's WGL backend This will render building this package outside of a chroot-environment non-deterministic, should one of these GL backends land in Fedora. I.e. I recommend to add --enable-glx --disable-agl --disable-egl --disable-wgl to %configure
I will be gone this weekend, but I will work on these issues in the near future and update the packages for re-evaluation. Thanks for the feedback.
Updated the SPEC with your recommendations. SPEC file: http://www.ece.ucdavis.edu/~ewwork/repo/testing/SPECS/glitz.spec SRPM file: http://www.ece.ucdavis.edu/~ewwork/repo/testing/SRPMS/glitz-0.5.6-2.src.rpm
Some issues: - glitz-devel contains pkg-config files, it therefore should Requires: pkgconfig - glitz-glx-devel contains pkg-config files, it therefore should Requires: pkgconfig - glitz-glx-devel depends on glitz-devel, it therefore must Requires: glitz-devel or Requires: glitz-devel = %{version}-%{release} - man3 manpages are programming manuals. They should be part of the *-devel packages.
Updated package. SPEC files: http://www.ece.ucdavis.edu/~ewwork/repo/testing/SPECS/glitz.spec SRPM file: http://www.ece.ucdavis.edu/~ewwork/repo/testing/SRPMS/glitz-0.5.6-3.src.rpm
APPROVED.