Hello community, here is the log from the commit of package gnumeric checked in at Wed Jan 10 17:43:39 CET 2007. -------- --- GNOME/gnumeric/gnumeric.changes 2006-11-18 17:03:53.000000000 +0100 +++ /mounts/work_src_done/STABLE/gnumeric/gnumeric.changes 2007-01-04 12:06:12.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 4 12:05:59 CET 2007 - sbrabec@suse.cz + +- Prefix changed to /usr. +- Spec file cleanup. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnumeric.spec ++++++ --- /var/tmp/diff_new_pack.X19672/_old 2007-01-10 17:43:24.000000000 +0100 +++ /var/tmp/diff_new_pack.X19672/_new 2007-01-10 17:43:24.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnumeric (Version 1.6.3) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,25 +11,24 @@ # norootforbuild Name: gnumeric -BuildRequires: docbook-utils gnutls-devel goffice-devel indent libgnomedb-devel libgnomeprintui-devel libidl libtiff-devel libwnck-devel mDNSResponder-devel perl-XML-Parser psiconv-devel python-devel python-gtk-devel scrollkeeper update-desktop-files -%define prefix /opt/gnome -%define sysconfdir /etc%{prefix} +BuildRequires: docbook-utils gnutls-devel goffice-devel indent intltool libgnomedb-devel libgnomeprintui-devel libidl libtiff-devel libwnck-devel mDNSResponder-devel perl-XML-Parser psiconv-devel python-devel python-gtk-devel scrollkeeper shared-mime-info update-desktop-files License: GNU General Public License (GPL) Group: Productivity/Office/Spreadsheets -Autoreqprov: on Provides: gnumeric2 Obsoletes: gnumeric2 Summary: Spreadsheet Application Version: 1.6.3 -Release: 23 +Release: 36 Source: ftp://ftp.gnome.org/pub/gnome/sources/gnumeric/1.6/gnumeric-%{version}.tar.bz2 URL: http://www.gnumeric.org/ Patch: gnumeric-pro-fonts.patch -Patch1: %name-desktop.patch +Patch1: %{name}-desktop.patch Patch4: gnumeric-doc.patch Patch5: gnumeric-autobuild-error.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -PreReq: gconf2 shared-mime-info +Autoreqprov: on + +%gconf_schemas_prereq %description Gnumeric is a spreadsheet application with advanced features and @@ -94,92 +93,88 @@ %patch1 %patch4 -p1 %patch5 - -%build rm po/no.* sed -i "/en_GB/s/ no / /" configure.in -autoconf -CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ - ./configure --prefix=%prefix \ - --libdir=%prefix/%_lib \ - --mandir=%prefix/share/man \ - --libexecdir=%prefix/lib/gnumeric \ - --sysconfdir=%sysconfdir \ - --localstatedir=%{_localstatedir} \ +# FIXME: Following files are apparently compiled without RPM_OPT_FLAGS: +# boot.c,perl-loader.c,perl-gnumeric.c,xsinit.c,boot.c,perl-gnumeric.c,xsinit.c,perl-loader.c + +%build +autoreconf -f -i +# needed for gnumeric-1.6.3: +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +# FIXME: Build as root modifies system! +# gnumeric-1.6.3: --disable-scrollkeeper does not work properly. +%configure\ + --disable-scrollkeeper\ + --libexecdir=%{_prefix}/lib/gnumeric\ --enable-ssindex -make -s %{?jobs:-j%jobs} +make %{?jobs:-j%jobs} %install -export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT -unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL -mkdir -p $RPM_BUILD_ROOT/usr/share/mc/templates -mv $RPM_BUILD_ROOT/opt/gnome/share/mc/templates/*.desktop \ - $RPM_BUILD_ROOT/usr/share/mc/templates -rm -r $RPM_BUILD_ROOT/opt/gnome/share/mc -#gzip -9nf $RPM_BUILD_ROOT%{prefix}/share/man/man?/*.? # gnumeric.keys contains strange MIME types. Ignore them. DESTDIR=$RPM_BUILD_ROOT mime-info-to-mime || true +# Library doesn't install headers, remove development file. +rm $RPM_BUILD_ROOT%{_libdir}/*.*a %find_lang %{name} %find_lang gnumeric-functions %{name}.lang -# cheat to make scrollkeeper cruft go away -rm -rf $RPM_BUILD_ROOT/var/scrollkeeper -# Library doesn't install headers, remove development file. -rm $RPM_BUILD_ROOT%{prefix}/%_lib/*.*a -ln -s %{prefix}/share/gnome/help/gnumeric \ - $RPM_BUILD_ROOT%{prefix}/share/gnumeric/%{version}/doc +%find_gconf_schemas +cat %{name}.lang %{name}.schemas_list >%{name}.lst +rm -r $RPM_BUILD_ROOT%{_libdir}/gnumeric/*/plugins/*/*.*a $RPM_BUILD_ROOT%{_datadir}/mime-info %clean rm -rf $RPM_BUILD_ROOT +%pre -f %{name}.schemas_pre + %post %run_ldconfig -usr/bin/update-mime-database /usr/share/mime >/dev/null -export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source` -opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/gnumeric-dialogs.schemas >/dev/null -opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/gnumeric-general.schemas >/dev/null -opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/gnumeric-plugins.schemas >/dev/null -touch var/adm/SuSEconfig/run-scrollkeeper-update +if test -x usr/bin/update-mime-database ; then + usr/bin/update-mime-database usr/share/mime >/dev/null +fi + +%posttrans -f %{name}.schemas_posttrans + +%preun -f %{name}.schemas_preun %postun %run_ldconfig -usr/bin/update-mime-database /usr/share/mime >/dev/null -touch var/adm/SuSEconfig/run-scrollkeeper-update +if test -x usr/bin/update-mime-database ; then + usr/bin/update-mime-database usr/share/mime >/dev/null +fi -%files -f %{name}.lang +%files -f %{name}.lst %defattr(-, root, root) %doc AUTHORS BEVERAGES BUGS COPYING HACKING MAINTAINERS NEWS README ChangeLog OChangeLog* -%{sysconfdir}/gconf/schemas/gnumeric-dialogs.schemas -%{sysconfdir}/gconf/schemas/gnumeric-general.schemas -%{sysconfdir}/gconf/schemas/gnumeric-plugins.schemas -%{prefix}/bin/* -%{prefix}/%_lib/bonobo/servers/*.server -%{prefix}/%_lib/*.so -%dir %{prefix}/%_lib/gnumeric -%dir %{prefix}/%_lib/gnumeric/*[^t] -%dir %{prefix}/%_lib/gnumeric/*/plugins -%dir %{prefix}/%_lib/gnumeric/*/plugins/* -%{prefix}/%_lib/gnumeric/*/plugins/*/*.so -%{prefix}/%_lib/gnumeric/*/plugins/*/*.la -%{prefix}/%_lib/gnumeric/*/plugins/*/*.xml -%{prefix}/%_lib/gnumeric/*/plugins/*/*.py -%{prefix}/%_lib/gnumeric/*/plugins/*/*.pl -%{prefix}/%_lib/gnumeric/*/plugins/gnome-glossary/glossary-po-header -%{prefix}/share/applications/*.desktop -%{prefix}/share/gnumeric -%{prefix}/share/mime-info/*.* -%{prefix}/share/man/man?/*.* -%{prefix}/share/pixmaps/*.png -%{prefix}/share/pixmaps/*.ico -%{prefix}/share/pixmaps/gnumeric -%dir /usr/share/mc -%dir /usr/share/mc/templates -/usr/share/mc/templates/gnumeric.desktop -%dir %{prefix}/share/omf/gnumeric -%{prefix}/share/omf/gnumeric/gnumeric-C.omf -/usr/share/mime/packages/*.xml +%{_bindir}/* +%{_libdir}/bonobo/servers/*.server +%{_libdir}/*.so +%dir %{_libdir}/gnumeric +%dir %{_libdir}/gnumeric/*[^t] +%dir %{_libdir}/gnumeric/*/plugins +%dir %{_libdir}/gnumeric/*/plugins/* +%{_libdir}/gnumeric/*/plugins/*/*.so +%{_libdir}/gnumeric/*/plugins/*/*.xml +%{_libdir}/gnumeric/*/plugins/*/*.py +%{_libdir}/gnumeric/*/plugins/*/*.pl +%{_libdir}/gnumeric/*/plugins/gnome-glossary/glossary-po-header +%{_datadir}/applications/*.desktop +%{_datadir}/gnumeric +%{_datadir}/pixmaps/*.png +%{_datadir}/pixmaps/*.ico +%{_datadir}/pixmaps/gnumeric +# Own directories to not depend on mc +%dir %{_datadir}/mc +%dir %{_datadir}/mc/templates +%{_datadir}/mc/templates/gnumeric.desktop +%{_datadir}/mime/packages/*.xml +%{_datadir}/omf/gnumeric +%{_mandir}/man?/*.* %changelog -n gnumeric +* Thu Jan 04 2007 - sbrabec@suse.cz +- Prefix changed to /usr. +- Spec file cleanup. * Sat Nov 18 2006 - stbinner@suse.de - fix Name entry of .desktop file (remove GenericName dupe part) * Fri Oct 27 2006 - jhargadon@suse.de ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org