]>
Commit | Line | Data |
---|---|---|
f469b841 | 1 | Summary: MayaVi is easy to use scientific data visualizer |
5f8d446f | 2 | Summary(pl.UTF-8): MayaVi to łatwe w użyciu narzędzie do wizualizacji danych naukowych |
01c485fb | 3 | Name: MayaVi |
b0438ab9 | 4 | Version: 1.5 |
01c485fb | 5 | Release: 1 |
34e8de58 | 6 | License: BSD |
f469b841 | 7 | Group: Applications/Graphics |
0f427657 | 8 | Source0: http://dl.sourceforge.net/mayavi/%{name}-%{version}.tar.gz |
b0438ab9 | 9 | # Source0-md5: 494a29e38b9e808157bae9daaf9fe044 |
01c485fb | 10 | URL: http://mayavi.sourceforge.net/ |
34e8de58 | 11 | BuildRequires: python |
12 | BuildRequires: python-devel | |
13 | Requires: python-tkinter | |
01c485fb | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
f469b841 JB |
17 | MayaVi is a free, easy to use scientific data visualizer. It is |
18 | written in Python and uses the amazing Visualization Toolkit (VTK) for | |
19 | the graphics. It provides a GUI written using Tkinter. MayaVi is free | |
20 | and distributed under the GNU GPL. It is also cross platform. | |
01c485fb | 21 | |
5f8d446f JR |
22 | %description -l pl.UTF-8 |
23 | MayaVi to wolnodostępne, łatwe w użyciu narzędzie do wizualizacji | |
24 | danych naukowych. Jest napisane w Pythonie i używa do grafiki VTK | |
25 | (Visualization Toolkit). GUI napisane jest przy użyciu Tkinter. | |
01c485fb | 26 | |
f469b841 | 27 | %prep |
e4875ceb | 28 | %setup -q |
01c485fb | 29 | |
01c485fb | 30 | %build |
e4875ceb | 31 | python setup.py build |
01c485fb | 32 | |
f469b841 | 33 | %install |
3572a84b JB |
34 | rm -rf $RPM_BUILD_ROOT |
35 | ||
36 | python setup.py install \ | |
37 | --root $RPM_BUILD_ROOT | |
01c485fb | 38 | |
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
34e8de58 | 44 | %doc doc/guide/*.html doc/CREDITS.txt doc/NEWS.txt doc/README.txt doc/TODO.txt |
e4875ceb | 45 | %attr(755,root,root) %{_bindir}/* |
644f27a6 JB |
46 | %{py_sitescriptdir}/mayavi |
47 | %{py_sitescriptdir}/vtkPipeline |