]> git.pld-linux.org Git - packages/avogadro.git/blobdiff - avogadro.spec
- missing BRs
[packages/avogadro.git] / avogadro.spec
index ff0c06e9588821ca054e8ced7f4bd6db3a93afdd..ad59c031135827df101007c6f93af9814ada04c3 100644 (file)
@@ -1,24 +1,30 @@
 
-%define                qtver   4.6.3
+%define                qtver   4.7.0
 
 Summary:       An advanced molecular editor for chemical purposes
 Name:          avogadro
-Version:       1.0.0
-Release:       0.1
+Version:       1.0.1
+Release:       4
 License:       GPL v2
 Group:         Applications/Editors
 Source0:       http://downloads.sourceforge.net/avogadro/%{name}-%{version}.tar.bz2
+# Source0-md5: 0d5c391197101f0aab7be6b59f81e6fd
 # fix build with sip 4.10
 URL:           http://avogadro.openmolecules.net/
-Patch0:                %{name}-sip.patch
+Patch0:                %{name}-python2.7.patch
 Patch1:                %{name}-linguist.patch
+Patch2:                %{name}-cmake.patch
+Patch3:                %{name}-sipfix.patch
+BuildRequires: QtNetwork-devel
+BuildRequires: QtOpenGL-devel
 BuildRequires: boost-devel >= 1.35
+BuildRequires: boost-python-devel
 BuildRequires: cmake >= 2.8.0
 BuildRequires: desktop-file-utils
 BuildRequires: docbook-utils
 BuildRequires: eigen >= 1:2.0.12
 BuildRequires: glew-devel >= 1.5.0
-#BuildRequires:        numpy
+BuildRequires: python-numpy-devel
 BuildRequires: openbabel-devel >= 2.2.2
 BuildRequires: qt4-build >= %{qtver}
 BuildRequires: qt4-qmake >= %{qtver}
@@ -51,8 +57,10 @@ libraries.
 
 %prep
 %setup -q
-%patch0 -p1
+%patch0 -p0
 %patch1 -p0
+%patch2 -p1
+%patch3 -p0
 
 %build
 install -d build
@@ -95,6 +103,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files libs
 %defattr(644,root,root,755)
-%{py_sitedir}/Avogadro.so
+%{_datadir}/python*/site-packages/Avogadro.so
 %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/*.so.*
This page took 0.11178 seconds and 4 git commands to generate.