1 Summary: Excellent tool for making visualization of data
2 Summary(pl): Doskona³e narzêdzie do wizualizacji danych
8 Source0: http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
9 # Source0-md5: 8fe6a09faea4aa713a1540f51371b719
10 Source1: http://opendx.npaci.edu/source/%{name}samples-%{version}.tar.gz
11 # Source1-md5: e8f43722ca0a66282608bded7c0e4f93
12 Source2: %{name}.desktop
13 Patch0: %{name}-DESTDIR.patch
14 Patch1: %{name}-nolibs.patch
15 Patch2: dxsamples-DESTDIR.patch
16 Patch3: dxsamples-unused_bin.patch
17 URL: http://www.opendx.org/
18 BuildRequires: ImageMagick-devel >= 1:6.2.4.0
19 BuildRequires: OpenGL-devel-base
20 BuildRequires: autoconf >= 2.57
21 BuildRequires: automake
24 BuildRequires: hdf-devel
25 BuildRequires: libjpeg-devel
26 BuildRequires: libtool
27 BuildRequires: libtiff-devel
28 BuildRequires: motif-devel
29 BuildRequires: netcdf-devel
30 Requires: %{name}-libs = %{version}-%{release}
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define specflags_ia32 -fomit-frame-pointer
36 OpenDX is a uniquely powerful, full-featured software package for the
37 visualization of scientific, engineering and analytical data: Its open
38 system design is built on a standard interface environments. And its
39 sophisticated data model provides users with great flexibility in
40 creating visualizations.
43 OpenDX jest w pe³ni funkcjonalnym, o unikalnych mo¿liwo¶ciach,
44 pakietem do wizualizacji danych naukowych, in¿ynierskich i
45 analitycznych. Zosta³ zaprojektowany w sposób otwarty, w oparciu o
46 standardowe ¶rodowiska interfejsów. Jego przemy¶lany model danych
47 daje u¿ytkownikom du¿± elastyczno¶æ w tworzeniu wizualizacji.
50 Summary: OpenDX shared libraries
51 Summary(pl): Biblioteki wspó³dzielone OpenDX
55 OpenDX shared libraries.
57 %description libs -l pl
58 Biblioteki wspó³dzielone OpenDX.
61 Summary: OpenDX development files
62 Summary(pl): Pliki nag³ówkowe OpenDX
63 Group: Development/Libraries
64 Requires: %{name}-libs = %{version}-%{release}
67 OpenDX development files.
69 %description devel -l pl
70 Pliki nag³ówkowe OpenDX oraz inne pliki, potrzebne do budowania.
73 Summary: OpenDX static libraries
74 Summary(pl): Biblioteki statyczne OpenDX
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}-%{release}
79 OpenDX static libraries.
81 %description static -l pl
82 Biblioteki statyczne OpenDX.
85 Summary: OpenDX documentation
86 Summary(pl): Dokumentacja OpenDX
90 Online help and html documentation for OpenDX.
92 %description doc -l pl
93 Podrêczna pomoc oraz dokumentacja html dla OpenDX.
96 Summary: OpenDX Examples
97 Summary(pl): Przyk³ady dla OpenDX
100 %description examples
103 %description examples -l pl
104 Przyk³ady dla OpenDX.
120 --prefix=%{_datadir} \
123 --disable-dependency-tracking \
125 --enable-new-keylayout \
128 cd %{name}samples-%{version}
134 --prefix=%{_examplesdir} \
140 %{__make} -C %{name}samples-%{version}
143 rm -rf $RPM_BUILD_ROOT
146 DESTDIR=$RPM_BUILD_ROOT
148 %{__make} -C %{name}samples-%{version} install \
149 DESTDIR=$RPM_BUILD_ROOT
151 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir},%{_desktopdir},%{_pixmapsdir}}
152 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
154 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
155 install src/uipp/ui/icon50.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/dx.xpm
156 mv $RPM_BUILD_ROOT%{_datadir}/bin/dx $RPM_BUILD_ROOT%{_bindir}
157 mv $RPM_BUILD_ROOT%{_datadir}/dx/man/manl $RPM_BUILD_ROOT%{_mandir}
158 mv $RPM_BUILD_ROOT%{_datadir}/dx/include/* $RPM_BUILD_ROOT%{_includedir}
159 mv $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux $RPM_BUILD_ROOT%{_libdir}/dx
160 mv $RPM_BUILD_ROOT%{_datadir}/dx/bin_linux $RPM_BUILD_ROOT%{_libdir}/dx
161 mv $RPM_BUILD_ROOT%{_examplesdir}/dx/samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
162 ln -s %{_libdir}/dx $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux
163 ln -s %{_libdir}/dx/bin_linux $RPM_BUILD_ROOT%{_datadir}/dx
164 rm -rf $RPM_BUILD_ROOT%{_datadir}/{bin,dx/{bin/dx,man,include,doc}}
167 rm -rf $RPM_BUILD_ROOT
170 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_bindir}/*
174 %attr(755,root,root) %{_datadir}/dx/bin
175 %{_datadir}/dx/bin_linux
178 %{_datadir}/dx/lib_linux
185 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/dx/bin_linux
188 %attr(755,root,root) %{_libdir}/dx/lib*.so.*
191 %defattr(644,root,root,755)
198 %defattr(644,root,root,755)
202 %defattr(644,root,root,755)
206 %defattr(644,root,root,755)
207 %{_examplesdir}/%{name}-%{version}