--- /dev/null
+Summary: Excelent tool to making visualization of data.
+Summary(pl): Doskonale narzedzie do vizualizacji danych
+Name: dx
+Version: 4.1.0
+Release: 1
+Group: -
+Group(de): -
+Group(fr): -
+Group(pl): -
+Group(tr): -
+Copyright: IPL
+Vendor: PLD
+Source0: http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
+Source1: http://opendx.npaci.edu/source/dxsamples-4.0.8.tar.gz
+Patch0: dx-DESTDIR.patch
+URL: http://www.opendx.org
+#BuildPrereq:
+#Requires:
+#Prereq:
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
+
+%description
+OpenDX is a uniquely powerful, full-featured software package for the
+visualization of scientific, engineering and analytical data: Its open system
+design is built on a standard interface environments. And its sophisticated
+data model provides users with great flexibility in creating visualizations.
+
+%description -l pl
+
+%prep
+%setup -q
+%patch -p1
+
+%build
+autoheader;autoconf;automake;
+
+LDFLAGS="-s" ; export LDFLAGS
+%configure --prefix=%{_prefix} \
+ --datadir=%{_datadir} \
+ --mandir=%{_mandir}
+
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
+install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
+
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
+ README ChangeLog
+
+%pre
+
+%preun
+
+%post
+
+%postun
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) /usr/X11R6/bin/*
+/usr/X11R6/include/*
+/usr/X11R6/include/dx/*
+/usr/X11R6/lib/*
+%doc /usr/share/doc/dx/*
+%doc /usr/share/doc/dx/html/*
+/usr/X11R6/share/dx/fonts/*
+/usr/X11R6/share/dx/bin/*
+/usr/X11R6/share/dx/help/*
+/usr/X11R6/share/dx/ui/*
+
+
+
+%changelog