]>
Commit | Line | Data |
---|---|---|
a119dfe0 | 1 | Summary: Mathematica Notebook Reader |
377b3d3c | 2 | Summary(pl.UTF-8): Przeglądarka plików z programu Mathematica |
a119dfe0 | 3 | Name: MathReader |
05fe9fc5 | 4 | Version: 5.0.1 |
f3947e9e | 5 | Release: 3 |
e0e9d2b7 | 6 | License: almost free, distributable |
9f364104 | 7 | Group: Applications/Math |
a119dfe0 | 8 | # from http://www.wolfram.com/products/mathreader/download.cgi |
05fe9fc5 | 9 | Source0: %{name}_%{version}_Linux.sh |
e0e9d2b7 | 10 | # Source0-md5: 35b7144eff51e017a03bf5c68d743548 |
05fe9fc5 | 11 | Source1: %{name}_%{version}_Linux-AMD64.sh |
e0e9d2b7 | 12 | # Source1-md5: 54c0db30f9a78269c03c970aaa841b66 |
05fe9fc5 | 13 | Source2: %{name}_%{version}_Linux-AXP.sh |
e0e9d2b7 | 14 | # Source2-md5: 9ab612c9543c69838dd38445dd0e8b05 |
05fe9fc5 | 15 | Source3: %{name}_%{version}_Linux-IA64.sh |
16 | # Source3-md5: 6ea3a14eac68391da213a25d62c629d4 | |
e0e9d2b7 | 17 | # based on http://www.wolfram.com/products/mathreader/licenseagreement.html |
05fe9fc5 | 18 | Source4: %{name}-license.txt |
19 | Source5: %{name}.desktop | |
a119dfe0 | 20 | URL: http://www.wolfram.com/products/mathreader/ |
9f364104 JB |
21 | BuildRequires: rpmbuild(macros) >= 1.213 |
22 | ExclusiveArch: %{ix86} alpha %{x8664} ia64 | |
a119dfe0 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
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. | |
32 | ||
723373f3 JR |
33 | %description -l pl.UTF-8 |
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. | |
6d7de094 | 41 | |
a119dfe0 | 42 | %prep |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
e0e9d2b7 | 47 | %ifarch %{ix86} |
48 | %define _source %{SOURCE0} | |
49 | %endif | |
9f364104 | 50 | %ifarch %{x8664} |
e0e9d2b7 | 51 | %define _source %{SOURCE1} |
52 | %endif | |
53 | %ifarch alpha | |
54 | %define _source %{SOURCE2} | |
55 | %endif | |
56 | #%%ifarch ia64 | |
05fe9fc5 | 57 | #%%define _source %{SOURCE3} |
e0e9d2b7 | 58 | #%%endif |
59 | ||
e0e9d2b7 | 60 | sh %{_source} auto \ |
a119dfe0 | 61 | -targetdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \ |
62 | -execdir=$RPM_BUILD_ROOT%{_bindir} | |
86e39dd6 | 63 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}} |
2bbac864 | 64 | ln -sf %{_libdir}/%{name}/Executables/{MathReader,mathreader} $RPM_BUILD_ROOT%{_bindir} |
05fe9fc5 | 65 | install %{SOURCE4} . |
66 | install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir} | |
a119dfe0 | 67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
e0e9d2b7 | 73 | %doc %{name}-license.txt |
a119dfe0 | 74 | %attr(755,root,root) %{_bindir}/%{name} |
31f27dbe JB |
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 | |
9b806561 | 83 | %ifarch %{ix86} |
31f27dbe | 84 | %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux |
9b806561 | 85 | %endif |
9f364104 | 86 | %ifarch %{x8664} |
9b806561 | 87 | %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-x86-64 |
88 | %endif | |
762265ba | 89 | %ifarch alpha |
90 | %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-AXP | |
91 | %endif | |
a119dfe0 | 92 | %{_libdir}/%{name}/SystemFiles/FrontEnd/StyleSheets |
31f27dbe JB |
93 | %{_libdir}/%{name}/SystemFiles/FrontEnd/SystemResources |
94 | %{_libdir}/%{name}/SystemFiles/FrontEnd/TextResources | |
a119dfe0 | 95 | %{_libdir}/%{name}/SystemFiles/Fonts |
31f27dbe JB |
96 | %{_libdir}/%{name}/SystemFiles/Installation |
97 | %{_libdir}/%{name}/SystemFiles/SpellingDictionaries | |
089ebb5a | 98 | %{_desktopdir}/%{name}.desktop |