diff --git a/.cvsignore b/.cvsignore index 3ac39c5..7f14fa1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -avogadro-0.9.6.tar.bz2 +avogadro-0.9.8.tar.bz2 diff --git a/avogadro.spec b/avogadro.spec index 33541a8..236cca1 100644 --- a/avogadro.spec +++ b/avogadro.spec @@ -1,6 +1,9 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Name: avogadro -Version: 0.9.6 -Release: 2%{?dist} +Version: 0.9.8 +Release: 1%{?dist} Summary: An advanced molecular editor for chemical purposes Group: Applications/Editors @@ -10,12 +13,15 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake >= 2.6.0 -BuildRequires: qt4-devel >= 4.4.0 -BuildRequires: eigen2-devel >= 2.0.0 -BuildRequires: openbabel-devel >= 2.2.0 +BuildRequires: qt4-devel >= 4.5.1 +BuildRequires: eigen2-devel >= 2.0.3 +BuildRequires: openbabel-devel >= 2.2.2 +BuildRequires: boost-devel >= 1.35 +BuildRequires: glew-devel >= 1.5.0 BuildRequires: desktop-file-utils BuildRequires: docbook-utils -BuildRequires: python +BuildRequires: sip-devel +BuildRequires: numpy %description An advanced molecular editor designed for @@ -51,7 +57,7 @@ Avogadros libraries. %build mkdir -p %{_target_platform} pushd %{_target_platform} -%{cmake} %{?BUILD_TESTS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. +%{cmake} %{?BUILD_TESTS} -DENABLE_GLSL=ON -DENABLE_PYTHON=ON -DENABLE_UPDATE_CHECKER=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. popd make %{?_smp_mflags} -C %{_target_platform} @@ -86,17 +92,23 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) +%{_datadir}/lib%{name} %{_includedir}/%{name} %{_libdir}/*.so %files libs %defattr(-,root,root,-) +%{python_sitelib}/Avogadro.so %{_libdir}/%{name} %{_libdir}/*.so.* %changelog +* Sat Sep 26 2009 Sebastian Dziallas 0.9.8-1 +- update to new upstream release +- enable python and glsl support again + * Fri Jul 24 2009 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index e301373..9f8e4d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4b12a8c750837e12c884ac3cb80ce766 avogadro-0.9.6.tar.bz2 +ff3a982c3196789a3aa6c7c4b16733dd avogadro-0.9.8.tar.bz2