]>
Commit | Line | Data |
---|---|---|
1 | Summary: MayaVi is easy to use scientific data visualizer | |
2 | Summary(pl.UTF-8): MayaVi to łatwe w użyciu narzędzie do wizualizacji danych naukowych | |
3 | Name: MayaVi | |
4 | Version: 1.5 | |
5 | Release: 1 | |
6 | License: BSD | |
7 | Group: Applications/Graphics | |
8 | Source0: http://dl.sourceforge.net/mayavi/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 494a29e38b9e808157bae9daaf9fe044 | |
10 | URL: http://mayavi.sourceforge.net/ | |
11 | BuildRequires: python | |
12 | BuildRequires: python-devel | |
13 | Requires: python-tkinter | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
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. | |
21 | ||
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. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | python setup.py build | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | python setup.py install \ | |
37 | --root $RPM_BUILD_ROOT | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc doc/guide/*.html doc/CREDITS.txt doc/NEWS.txt doc/README.txt doc/TODO.txt | |
45 | %attr(755,root,root) %{_bindir}/* | |
46 | %{py_sitescriptdir}/mayavi | |
47 | %{py_sitescriptdir}/vtkPipeline |