1 %define realname MathReader
2 Summary: Mathematica Notebook Reader
3 Summary(pl): Przegl±darka plików z programu Mathematica
7 License: almost free, distributable
8 # from http://www.wolfram.com/products/mathreader/download.cgi
9 Source0: %{realname}-%{version}-Linux-PPC.tar.gz
10 # Source0-md5: 9743cf3c81d3f83661034ae2cf5b6e78
11 Source1: %{realname}.desktop
12 Group: Applications/Math
13 URL: http://www.wolfram.com/products/mathreader/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 MathReader is a viewer for notebook documents created with
19 Mathematica, the world's only fully integrated technical computing
20 system. MathReader lets you display and print Mathematica notebooks,
21 animate graphics, play sounds, and copy information from notebooks to
22 other documents. MathReader can be used by most web browsers as a
23 helper application for viewing notebook documents.
26 MathReader jest przegl±dark± dla dokumentów utworzonych w programie
27 Mathematica, jedynym w ¶wiecie w pe³ni zintegrowanym systemie
28 technicznych obliczeñ. MathReader pozwala wy¶wietlaæ i drukowaæ
29 notatki, odtwarzaæ animacje, odgrywaæ d¼wiêki i kopiowaæ informacje z
30 notatek programu Mathematica do innych dokumentów. MathReader mo¿e byæ
31 te¿ u¿ywany przez wiêkszo¶æ przegl±darek WWW jako aplikacja pomocnicza
32 do przegl±dania dokumentów.
35 %setup -q -n %{realname}-%{version}-Linux-PPC
38 rm -rf $RPM_BUILD_ROOT
45 $RPM_BUILD_ROOT%{_libdir}
47 $RPM_BUILD_ROOT%{_bindir}
50 sh MathReaderInstaller
52 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
53 ln -sf %{_libdir}/%{realname}/Executables/{MathReader,mathreader} $RPM_BUILD_ROOT%{_bindir}
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc Files/SystemFiles/Installation/TextResources/English/LicenseAgreement.txt
62 %attr(755,root,root) %{_bindir}/%{realname}
63 %dir %{_libdir}/%{realname}
64 %attr(755,root,root) %{_libdir}/%{realname}/Executables
65 %{_libdir}/%{realname}/Configuration
66 %{_libdir}/%{realname}/Documentation
67 %dir %{_libdir}/%{realname}/SystemFiles
68 %{_libdir}/%{realname}/SystemFiles/CharacterEncodings
69 %dir %{_libdir}/%{realname}/SystemFiles/FrontEnd
70 %dir %{_libdir}/%{realname}/SystemFiles/FrontEnd/Binaries
72 %attr(755,root,root) %{_libdir}/%{realname}/SystemFiles/FrontEnd/Binaries/Linux-PPC
74 %{_libdir}/%{realname}/SystemFiles/FrontEnd/StyleSheets
75 %{_libdir}/%{realname}/SystemFiles/FrontEnd/SystemResources
76 %{_libdir}/%{realname}/SystemFiles/FrontEnd/TextResources
77 %{_libdir}/%{realname}/SystemFiles/Fonts
78 %{_libdir}/%{realname}/SystemFiles/SpellingDictionaries
79 %{_desktopdir}/%{realname}.desktop