]> git.pld-linux.org Git - packages/MayaVi.git/commitdiff
- build package in %build
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 28 Jun 2004 23:52:56 +0000 (23:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- proper installing
- attr fix
- builds, doesn't work (I am not familiar with python - any takers?)

Changed files:
    MayaVi.spec -> 1.9

MayaVi.spec

index 5ccf1c8538ee4baba0060058297c20c2c49bcd0f..9ecda85fd33144c8bb1c9b4e1b9281df13a53c92 100644 (file)
@@ -22,18 +22,19 @@ danych naukowych. Jest napisane w Pythonie i u
 (Visualization Toolkit). GUI napisane jest przy u¿yciu Tkinter.
 
 %prep
-%setup  -q
+%setup -q
 
 %build
+python setup.py build
 
 %install
-python setup.py install --prefix $RPM_BUILD_ROOT%{_usr}
+python setup.py install --root $RPM_BUILD_ROOT 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{_bindir}/*
+%attr(755,root,root) %{_bindir}/*
 %{py_scriptdir}/site-packages/mayavi
 %{py_scriptdir}/site-packages/vtkPipeline
This page took 0.119234 seconds and 4 git commands to generate.