Summary: Mathematica Documentation Name: mathematica-doc Version: 5.2 Release: 1 License: Commercial Vendor: Wolfram Research, Inc. URL: http://www.wolfram.com/ Group: Documentation Source0: mathematica-%{version}.tar.gz NoSource: 0 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Prevent stripping %define __spec_install_post /usr/lib/rpm/brp-compress # Turn off debuginfo package %define debug_package %{nil} AutoProv: no AutoReq: no Requires: mathematica = %{version} %define mma_home /opt/mathematica-%{version} %description Mathematica on-line documentation %prep %setup -q -n mathematica-%{version} %build # empty %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{mma_home}} # Brute-force install cp -a Documentation \ $RPM_BUILD_ROOT%{mma_home}/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %dir %{mma_home} %{mma_home}/Documentation/ %changelog * Wed Apr 11 2006 Rex Dieter 5.2-1 - first try .