# Note that this is NOT a relocatable package %define ver 1.3.3 %define rel 0 Summary: GTK+ XML Viewer Name: gxmlviewer Version: %ver Release: %rel Copyright: GPL Group: X11/Utilities Source: gxmlviewer-%{PACKAGE_VERSION}.tar.gz URL: http://sourceforge.net/projects/gxmlviewer/ BuildRoot: /var/tmp/gxmlviewer-%{PACKAGE_VERSION}-root %description A GTK+ based XML file viewer. %package -n gxmlviewer-bonobo Summary: XML Viewer Bonobo Control Requires: bonobo >= 0.36 Group: GNOME/Internet/Controls %description -n gxmlviewer-bonobo A Bonobo control for viewing XML files. %package extras Summary: XML Viewer extra utilities Group: Console/Utilities %description extras Some extra tools created by the gxmlviewer project such as xmlformatter. %package plugin Summary: gxmlviewer plugin for netscape 4.7x Group: Internet %description plugin Netscape 4.7x plugin for gxmlviewer. Allows gxmlviewer to be launced within a netscape browser. %prep %setup %build %configure if [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) make else make fi %install rm -rf $RPM_BUILD_ROOT %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %{_prefix}/bin/gxmlviewer %files -n gxmlviewer-bonobo %{_prefix}/bin/xmlview-control %{_prefix}/share/oaf/GNOME_XMLView.oaf %files extras %{_prefix}/bin/xmlformatter %files plugin %{_prefix}/lib/netscape/plugins/npgxmlviewer.so %changelog