2 # - version for PPC/alpha/IA64/AMD64
3 # - talk with wolfram about redistribute it ;)
6 %define ppc_version 4.2.1
7 Summary: Mathematica Notebook Reader
8 Summary(pl): Przegl±darka plików z programu Mathematica
13 Version: %{ppc_version}
16 License: almost free, distributable
17 # from http://www.wolfram.com/products/mathreader/download.cgi
18 Source0: %{name}_%{_version}_Linux.sh
19 # Source0-md5: 35b7144eff51e017a03bf5c68d743548
20 Source1: %{name}_%{_version}_Linux-AMD64.sh
21 # Source1-md5: 54c0db30f9a78269c03c970aaa841b66
22 Source2: %{name}_%{_version}_Linux-AXP.sh
23 # Source2-md5: 9ab612c9543c69838dd38445dd0e8b05
24 Source3: %{name}-%{ppc_version}-Linux-PPC.tar.gz
25 # Source3-md5: 9743cf3c81d3f83661034ae2cf5b6e78
26 Source4: %{name}_%{_version}_Linux-IA64.sh
27 # Source4-md5: 6ea3a14eac68391da213a25d62c629d4
28 # based on http://www.wolfram.com/products/mathreader/licenseagreement.html
29 Source5: %{name}-license.txt
30 Group: Applications/Math
31 URL: http://www.wolfram.com/products/mathreader/
32 ExclusiveArch: %{ix86} ppc alpha amd64 ia64
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 MathReader is a viewer for notebook documents created with
37 Mathematica, the world's only fully integrated technical computing
38 system. MathReader lets you display and print Mathematica notebooks,
39 animate graphics, play sounds, and copy information from notebooks to
40 other documents. MathReader can be used by most web browsers as a
41 helper application for viewing notebook documents.
44 MathReader jest przegl±dark± dla dokumentów utworzonych w programie
45 Mathematica, jedynym w ¶wiecie w pe³ni zintegrowanym systemie
46 technicznych obliczeñ. MathReader pozwala wy¶wietlaæ i drukowaæ
47 notatki, odtwarzaæ animacje, odgrywaæ d¼wiêki i kopiowaæ informacje z
48 notatek programu Mathematica do innych dokumentów. MathReader mo¿e byæ
49 te¿ u¿ywany przez wiêkszo¶æ przegl±darek WWW jako aplikacja pomocnicza
50 do przegl±dania dokumentów.
55 rm -rf $RPM_BUILD_ROOT
58 %define _source %{SOURCE0}
61 %define _source %{SOURCE1}
64 %define _source %{SOURCE2}
67 #%%define _source %{SOURCE4}
72 -targetdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
73 -execdir=$RPM_BUILD_ROOT%{_bindir}
77 install -d $RPM_BUILD_ROOT%{_bindir}
78 ln -sf %{_libdir}/%{name}/Executables/* $RPM_BUILD_ROOT%{_bindir}
82 rm -rf $RPM_BUILD_ROOT
85 %defattr(644,root,root,755)
86 %doc %{name}-license.txt
87 %attr(755,root,root) %{_bindir}/%{name}
88 %dir %{_libdir}/%{name}
89 %attr(755,root,root) %{_libdir}/%{name}/Executables
90 %{_libdir}/%{name}/Configuration
91 %{_libdir}/%{name}/Documentation
92 %dir %{_libdir}/%{name}/SystemFiles
93 %{_libdir}/%{name}/SystemFiles/CharacterEncodings
94 %dir %{_libdir}/%{name}/SystemFiles/FrontEnd
95 %dir %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries
96 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux
97 %{_libdir}/%{name}/SystemFiles/FrontEnd/StyleSheets
98 %{_libdir}/%{name}/SystemFiles/FrontEnd/SystemResources
99 %{_libdir}/%{name}/SystemFiles/FrontEnd/TextResources
100 %{_libdir}/%{name}/SystemFiles/Fonts
101 %{_libdir}/%{name}/SystemFiles/Installation
102 %{_libdir}/%{name}/SystemFiles/SpellingDictionaries