1 Summary: Mathematica Notebook Reader
2 Summary(pl): Przegl±darka plików z programu Mathematica
6 License: almost free, distributable
7 # from http://www.wolfram.com/products/mathreader/download.cgi
8 Source0: %{name}_%{version}_Linux.sh
9 # Source0-md5: 35b7144eff51e017a03bf5c68d743548
10 Source1: %{name}_%{version}_Linux-AMD64.sh
11 # Source1-md5: 54c0db30f9a78269c03c970aaa841b66
12 Source2: %{name}_%{version}_Linux-AXP.sh
13 # Source2-md5: 9ab612c9543c69838dd38445dd0e8b05
14 Source3: %{name}_%{version}_Linux-IA64.sh
15 # Source3-md5: 6ea3a14eac68391da213a25d62c629d4
16 # based on http://www.wolfram.com/products/mathreader/licenseagreement.html
17 Source4: %{name}-license.txt
18 Source5: %{name}.desktop
19 Group: Applications/Math
20 URL: http://www.wolfram.com/products/mathreader/
21 ExclusiveArch: %{ix86} alpha amd64 ia64
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 MathReader is a viewer for notebook documents created with
26 Mathematica, the world's only fully integrated technical computing
27 system. MathReader lets you display and print Mathematica notebooks,
28 animate graphics, play sounds, and copy information from notebooks to
29 other documents. MathReader can be used by most web browsers as a
30 helper application for viewing notebook documents.
33 MathReader jest przegl±dark± dla dokumentów utworzonych w programie
34 Mathematica, jedynym w ¶wiecie w pe³ni zintegrowanym systemie
35 technicznych obliczeñ. MathReader pozwala wy¶wietlaæ i drukowaæ
36 notatki, odtwarzaæ animacje, odgrywaæ d¼wiêki i kopiowaæ informacje z
37 notatek programu Mathematica do innych dokumentów. MathReader mo¿e byæ
38 te¿ u¿ywany przez wiêkszo¶æ przegl±darek WWW jako aplikacja pomocnicza
39 do przegl±dania dokumentów.
44 rm -rf $RPM_BUILD_ROOT
47 %define _source %{SOURCE0}
50 %define _source %{SOURCE1}
53 %define _source %{SOURCE2}
56 #%%define _source %{SOURCE3}
60 -targetdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
61 -execdir=$RPM_BUILD_ROOT%{_bindir}
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
63 ln -sf %{_libdir}/%{name}/Executables/{MathReader,mathreader} $RPM_BUILD_ROOT%{_bindir}
65 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %doc %{name}-license.txt
73 %attr(755,root,root) %{_bindir}/%{name}
74 %dir %{_libdir}/%{name}
75 %attr(755,root,root) %{_libdir}/%{name}/Executables
76 %{_libdir}/%{name}/Configuration
77 %{_libdir}/%{name}/Documentation
78 %dir %{_libdir}/%{name}/SystemFiles
79 %{_libdir}/%{name}/SystemFiles/CharacterEncodings
80 %dir %{_libdir}/%{name}/SystemFiles/FrontEnd
81 %dir %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries
83 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux
86 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-x86-64
89 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-AXP
91 %{_libdir}/%{name}/SystemFiles/FrontEnd/StyleSheets
92 %{_libdir}/%{name}/SystemFiles/FrontEnd/SystemResources
93 %{_libdir}/%{name}/SystemFiles/FrontEnd/TextResources
94 %{_libdir}/%{name}/SystemFiles/Fonts
95 %{_libdir}/%{name}/SystemFiles/Installation
96 %{_libdir}/%{name}/SystemFiles/SpellingDictionaries
97 %{_desktopdir}/%{name}.desktop