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