From e7d5d68933652c6dc732de1b46e008ee000bde46 Mon Sep 17 00:00:00 2001 From: Sebastian Dziallas Date: Jun 03 2009 17:06:23 +0000 Subject: fix file section and disable optional components --- diff --git a/avogadro.spec b/avogadro.spec index 50a971e..eb5f969 100644 --- a/avogadro.spec +++ b/avogadro.spec @@ -3,7 +3,7 @@ Name: avogadro Version: 0.9.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An advanced molecular editor for chemical purposes Group: Applications/Editors @@ -16,10 +16,6 @@ BuildRequires: cmake >= 2.6.0 BuildRequires: qt4-devel >= 4.4.0 BuildRequires: eigen2-devel >= 2.0.0 BuildRequires: openbabel-devel >= 2.2.0 -BuildRequires: boost-devel >= 1.34 -BuildRequires: numpy >= 1.2.0 -BuildRequires: sip-devel >= 4.7.9 -BuildRequires: glew-devel >= 1.5.0 BuildRequires: desktop-file-utils BuildRequires: docbook-utils BuildRequires: python @@ -58,7 +54,7 @@ Avogadros libraries. %build mkdir -p %{_target_platform} pushd %{_target_platform} -%{cmake} %{?BUILD_TESTS} -DCMAKE_BUILD_TYPE=Release -DENABLE_GLSL=ON -DENABLE_PYTHON=ON -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. +%{cmake} %{?BUILD_TESTS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .. popd make %{?_smp_mflags} -C %{_target_platform} @@ -102,11 +98,15 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_libdir}/%{name} %{_libdir}/*.so.* -%{python_sitelib}/Avogadro.py +%{python_sitelib}/Avogadro.* %{python_sitelib}/_Avogadro.so %changelog +* Wed Jun 03 2009 Sebastian Dziallas 0.9.5-2 +- disable python and glsl for now +- fix files section + * Wed Jun 03 2009 Sebastian Dziallas 0.9.5-1 - update to new release