Summary(pl.UTF-8): Doskonałe narzędzie do wizualizacji danych
Name: dx
Version: 4.4.4
-Release: 4.1
+Release: 14
License: IPL
Group: Applications
Source0: http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
Patch4: %{name}-include.patch
Patch5: %{name}-ac.patch
Patch6: %{name}-ImageMagic.patch
+Patch7: %{name}-open.patch
+Patch8: %{name}-gcc43.patch
URL: http://www.opendx.org/
BuildRequires: ImageMagick-devel >= 1:6.2.4.0
BuildRequires: OpenGL-devel
+BuildRequires: OpenGL-GLU-devel
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: bison
BuildRequires: libtiff-devel
BuildRequires: motif-devel
BuildRequires: netcdf-devel
+BuildRequires: xorg-lib-libXinerama-devel
+BuildRequires: xorg-lib-libXpm-devel
+Requires: openssh-clients
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define specflags_ia32 -fomit-frame-pointer
+%define skip_post_check_so libDXL.so.*
%description
OpenDX is a uniquely powerful, full-featured software package for the
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
+%patch8 -p1
%build
%{__libtoolize}
--disable-dependency-tracking \
--enable-smp-linux \
--enable-new-keylayout \
- --without-javadx
+ --without-javadx \
+ --with-rsh=%{_bindir}/ssh
cd %{name}samples-4.4.0
%{__aclocal}
--without-javadx
cd ..
-%{__make}
+%{__make} -j1
-%{__make} -C %{name}samples-4.4.0
+%{__make} -j1 -C %{name}samples-4.4.0
%install
rm -rf $RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_examplesdir}/dx/samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
ln -s %{_libdir}/dx $RPM_BUILD_ROOT%{_datadir}/dx/lib_linux
ln -s %{_libdir}/dx/bin_linux $RPM_BUILD_ROOT%{_datadir}/dx
-rm -rf $RPM_BUILD_ROOT%{_datadir}/{bin,dx/{bin/dx,man,include,doc}}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/{bin,dx/{bin/dx,man,include,doc}}
%clean
rm -rf $RPM_BUILD_ROOT