]> git.pld-linux.org Git - packages/MathReader.git/blob - MathReader.spec
ea2816787f520e4c47a9254df4a103d2cfb1c4aa
[packages/MathReader.git] / MathReader.spec
1 Summary:        Mathematica Notebook Reader
2 Summary(pl):    Przegl±darka plików z programu Mathematica
3 Name:           MathReader
4 Version:        5.0.1
5 Release:        2
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)
23
24 %description
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.
31
32 %description -l pl
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.
40
41 %prep
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %ifarch %{ix86}
47 %define _source %{SOURCE0}
48 %endif
49 %ifarch amd64
50 %define _source %{SOURCE1}
51 %endif
52 %ifarch alpha
53 %define _source %{SOURCE2}
54 %endif
55 #%%ifarch ia64
56 #%%define       _source %{SOURCE3}
57 #%%endif
58
59 sh %{_source} auto \
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}
64 install %{SOURCE4} .
65 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
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
82 %ifarch %{ix86}
83 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux
84 %endif
85 %ifarch amd64
86 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-x86-64
87 %endif
88 %ifarch alpha
89 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-AXP
90 %endif
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
This page took 0.051742 seconds and 2 git commands to generate.