From 1c5c14a191ecad5e6c873323e2a7ac6abdb8ee06 Mon Sep 17 00:00:00 2001 From: Sebastian Dziallas Date: Jun 03 2009 19:34:37 +0000 Subject: fix files section and remove python parts --- diff --git a/avogadro.spec b/avogadro.spec index 50a971e..c6d7dc4 100644 --- a/avogadro.spec +++ b/avogadro.spec @@ -1,9 +1,6 @@ -%{!?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.5 -Release: 1%{?dist} +Release: 3%{?dist} Summary: An advanced molecular editor for chemical purposes Group: Applications/Editors @@ -16,10 +13,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 +51,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} @@ -93,7 +86,6 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%{_datadir}/libavogadro %{_includedir}/%{name} %{_libdir}/*.so @@ -102,11 +94,17 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %{_libdir}/%{name} %{_libdir}/*.so.* -%{python_sitelib}/Avogadro.py -%{python_sitelib}/_Avogadro.so %changelog +* Wed Jun 03 2009 Sebastian Dziallas 0.9.5-3 +- remove remaining python parts +- fix files section finally + +* 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