]>
Commit | Line | Data |
---|---|---|
56cc8230 | 1 | Summary: Excelent tool to making visualization of data. |
2 | Summary(pl): Doskonale narzedzie do vizualizacji danych | |
3 | Name: dx | |
4 | Version: 4.1.0 | |
5 | Release: 1 | |
458ea976 | 6 | Group: Applications |
56cc8230 | 7 | Copyright: IPL |
4f56f054 MP |
8 | Source0: http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz |
9 | Source1: http://opendx.npaci.edu/source/%{name}samples-4.0.8.tar.gz | |
10 | Patch0: %{name}-DESTDIR.patch | |
55f0f1c5 | 11 | Patch1: %{name}-acfix.patch |
56cc8230 | 12 | URL: http://www.opendx.org |
56cc8230 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %define _prefix /usr/X11R6 | |
16 | %define _mandir %{_prefix}/man | |
17 | ||
18 | %description | |
19 | OpenDX is a uniquely powerful, full-featured software package for the | |
4f56f054 MP |
20 | visualization of scientific, engineering and analytical data: Its open |
21 | system design is built on a standard interface environments. And its | |
22 | sophisticated data model provides users with great flexibility in | |
23 | creating visualizations. | |
56cc8230 | 24 | |
25 | %description -l pl | |
26 | ||
27 | %prep | |
28 | %setup -q | |
55f0f1c5 AF |
29 | %patch0 -p1 |
30 | %patch1 -p1 | |
56cc8230 | 31 | |
32 | %build | |
33 | autoheader;autoconf;automake; | |
34 | ||
56cc8230 | 35 | %configure --prefix=%{_prefix} \ |
36 | --datadir=%{_datadir} \ | |
37 | --mandir=%{_mandir} | |
38 | ||
4f56f054 | 39 | %{__make} |
56cc8230 | 40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
44 | install -d $RPM_BUILD_ROOT%{_docdir}/%{name} | |
45 | install -d $RPM_BUILD_ROOT%{_includedir}/%{name} | |
46 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name} | |
47 | ||
48 | ||
4f56f054 | 49 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
56cc8230 | 50 | |
51 | ||
52 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ | |
53 | README ChangeLog | |
54 | ||
56cc8230 | 55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
4f56f054 MP |
60 | %attr(755,root,root) %{_bindir}/* |
61 | %{_includedir}/* | |
62 | %{_includedir}/dx/* | |
63 | %{_libdir}/* | |
56cc8230 | 64 | %doc /usr/share/doc/dx/* |
65 | %doc /usr/share/doc/dx/html/* | |
4f56f054 MP |
66 | %{_datadir}/dx/fonts/* |
67 | %{_datadir}/dx/bin/* | |
68 | %{_datadir}/dx/help/* | |
69 | %{_datadir}/dx/ui/* |