Hello community, here is the log from the commit of package avogadro for openSUSE:Factory checked in at Tue Jun 7 14:22:35 CEST 2011.
-------- --- avogadro/avogadro.changes 2010-10-19 15:12:19.000000000 +0200 +++ /mounts/work_src_done/STABLE/avogadro/avogadro.changes 2011-06-06 12:45:55.000000000 +0200 @@ -1,0 +2,33 @@ +Mon Jun 6 10:45:56 UTC 2011 - [email protected] + +- Spec file clean up + +------------------------------------------------------------------- +Fri May 20 03:42:46 UTC 2011 - [email protected] + +- removed the obsolete patches due to the new upstream version. +- no more crash on openSUSE 11.4 when starting. +- new upstream version (bugfix release) + * Fixed building of translations on Linux and Mac OS X. + * Fixed issues with newer versions of SIP + * Import Avogadro automatically in the Python terminal + * Some fixes/adjustments for newer versions of Open Babel + * Fixed a bug in the bounds for cubes, now isosurfaces align to molecules in all cases + * Added picking support in wireframe - enables editing of atoms in this mode + * Fixed some crashes when drawing with adjust hydrogens on + * Ensure the GAMESS input generator updates when atoms are added, removed or updated + * Added some missing entries in the GAMESS input dialog + * Fixes to the NWChem input generator + * Add LARGE keyword to MOPAC input files to give full output of MOs + * Fixed autobonding in animations when rendering in POV-Ray for video + * Removed some old CMake code that was no longer needed + * Made Linguist optional for Avogadro builds + * Fixes for compilation on Windows + * Fixed a few memory leaks + +------------------------------------------------------------------- +Tue Oct 19 13:11:24 UTC 2010 - [email protected] + +- removed proprietary test files from the tarball bnc#645306 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- avogadro-1.0.1-find_python_27.patch avogadro-1.0.1-fix_plugin_dir.patch avogadro-1.0.1-fix_sip.patch avogadro-1.0.1.tar.bz2 New: ---- avogadro-1.0.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ avogadro.spec ++++++ --- /var/tmp/diff_new_pack.v0zYVY/_old 2011-06-07 14:21:06.000000000 +0200 +++ /var/tmp/diff_new_pack.v0zYVY/_new 2011-06-07 14:21:06.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package avogadro (Version 1.0.1) +# spec file for package avogadro # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ Name: avogadro -Version: 1.0.1 +Version: 1.0.3 Release: 1 License: GPLv2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -30,18 +30,12 @@ BuildRequires: boost-devel python-numpy-devel python-sip-devel BuildRequires: gcc-c++ libopenbabel-devel >= 2.2.3 python-qt4-devel BuildRequires: cmake libeigen2-devel libqt4-devel >= 4.5.1 python-devel -BuildRequires: fdupes xorg-x11-libX11-devel xorg-x11-libXext-devel +BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel Group: Productivity/Editors/Other Summary: Avogadro is a Molecular design tool Url: http://avogadro.sourceforge.net/wiki/Main_Page Source0: http://mesh.dl.sourceforge.net/sourceforge/avogadro/%{name}-%{version}.tar.bz2 Source1: %name.png -# PATCH-FIX-OPENSUSE avogadro-1.0.1-fix_plugin_dir.patch [email protected] - fix a bug with duplicating part of a path in cmake -Patch0: %{name}-1.0.1-fix_plugin_dir.patch -# PATCH-FIX-UPSTREAM avogadro-1.0.1-find_python_27.patch [email protected] - fix detection of python 2.7 -Patch1: %{name}-1.0.1-find_python_27.patch -# PATCH-FIX-UPSTREAM avogadro-1.0.1-fix_sip.patch [email protected] - fix use of API call removed in recent python-sip -Patch2: %{name}-1.0.1-fix_sip.patch %{py_requires} %description @@ -79,22 +73,19 @@ %prep %setup -q -%patch0 -%patch1 -%patch2 - %build -mkdir build -export SUSE_ASNEEDED=0 +mkdir -p build cd build +export SUSE_ASNEEDED=0 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DLIB_INSTALL_DIR=%{_libdir} \ + -DENABLE_GLSL=ON \ %ifarch x86_64 -DLIB_SUFFIX=64 \ %endif - -DENABLE_GLSL=ON \ -DENABLE_RPATH=OFF \ -DENABLE_UPDATE_CHECKER=OFF \ + -DENABLE_ZMATRIX_TOOL=ON \ + -DENABLE_PYTHON=ON \ .. %{__make} %{?jobs:-j %jobs} @@ -103,6 +94,8 @@ cd build %makeinstall +mkdir -p %{buildroot}/%{_datadir}/qt4/mkspecs/ +mv %{buildroot}/usr/features %{buildroot}/%{_datadir}/qt4/mkspecs/ # Create the system menu entry mkdir -p %{buildroot}%{_datadir}/applications cat > %{buildroot}%{_datadir}/applications/%name.desktop << EOF @@ -117,10 +110,14 @@ Type=Application X-SuSE-translate=false EOF + # icon install -D -m644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/pixmaps/%name.png - -%fdupes -s %{buildroot} +%ifarch x86_64 + mkdir -p %{buildroot}/%{python_sitelib} + find %{buildroot} -name 'Avogadro.so' | xargs mv -t %{buildroot}/%{python_sitelib}/ + find %{buildroot}/%{_lib} -name "python*" |xargs rm -rf +%endif %post -n libavogadro1 -p /sbin/ldconfig @@ -153,7 +150,6 @@ %{_libdir}/avogadro/1_0/*/*.so # installed with python support %{python_sitelib}/Avogadro.so -#%{py_sitedir}/Avogadro.py %dir %{_datadir}/libavogadro/engineScripts %dir %{_datadir}/libavogadro/extensionScripts %{_datadir}/libavogadro/engineScripts/wireframe.py ++++++ avogadro-1.0.1.tar.bz2 -> avogadro-1.0.3.tar.bz2 ++++++ ++++ 292021 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
