Version: 4.1.0
Release: 1
Group: -
+###### Unknown 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
+Vendor: PLD
+Source0: http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
+Source1: http://opendx.npaci.edu/source/%{name}samples-4.0.8.tar.gz
+Patch0: %{name}-DESTDIR.patch
URL: http://www.opendx.org
#BuildPrereq:
#Requires:
-#Prereq:
+#Prereq:
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%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.
+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
%build
autoheader;autoconf;automake;
-LDFLAGS="-s" ; export LDFLAGS
%configure --prefix=%{_prefix} \
--datadir=%{_datadir} \
--mandir=%{_mandir}
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/%{name}
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
%files
%defattr(644,root,root,755)
-%attr(755,root,root) /usr/X11R6/bin/*
-/usr/X11R6/include/*
-/usr/X11R6/include/dx/*
-/usr/X11R6/lib/*
+%attr(755,root,root) %{_bindir}/*
+%{_includedir}/*
+%{_includedir}/dx/*
+%{_libdir}/*
%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
+%{_datadir}/dx/fonts/*
+%{_datadir}/dx/bin/*
+%{_datadir}/dx/help/*
+%{_datadir}/dx/ui/*