]> git.pld-linux.org Git - packages/MathReader.git/blob - MathReader.spec
93018d58c600a03a62e682510b4ce82f85df7448
[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 # Source0-size: 9356911
11 Source1:        %{name}_%{version}_Linux-AMD64.sh
12 # Source1-md5:  54c0db30f9a78269c03c970aaa841b66
13 # Source1-size: 10186360
14 Source2:        %{name}_%{version}_Linux-AXP.sh
15 # Source2-md5:  9ab612c9543c69838dd38445dd0e8b05
16 # Source2-size: 10534517
17 Source3:        %{name}_%{version}_Linux-IA64.sh
18 # Source3-md5:  6ea3a14eac68391da213a25d62c629d4
19 # Source3-size: 12019319
20 # based on http://www.wolfram.com/products/mathreader/licenseagreement.html
21 Source4:        %{name}-license.txt
22 Source5:        %{name}.desktop
23 Group:          Applications/Math
24 URL:            http://www.wolfram.com/products/mathreader/
25 ExclusiveArch:  %{ix86} alpha amd64 ia64
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 MathReader is a viewer for notebook documents created with
30 Mathematica, the world's only fully integrated technical computing
31 system. MathReader lets you display and print Mathematica notebooks,
32 animate graphics, play sounds, and copy information from notebooks to
33 other documents. MathReader can be used by most web browsers as a
34 helper application for viewing notebook documents.
35
36 %description -l pl
37 MathReader jest przegl±dark± dla dokumentów utworzonych w programie
38 Mathematica, jedynym w ¶wiecie w pe³ni zintegrowanym systemie
39 technicznych obliczeñ. MathReader pozwala wy¶wietlaæ i drukowaæ
40 notatki, odtwarzaæ animacje, odgrywaæ d¼wiêki i kopiowaæ informacje z
41 notatek programu Mathematica do innych dokumentów. MathReader mo¿e byæ
42 te¿ u¿ywany przez wiêkszo¶æ przegl±darek WWW jako aplikacja pomocnicza
43 do przegl±dania dokumentów.
44
45 %prep
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %ifarch %{ix86}
51 %define _source %{SOURCE0}
52 %endif
53 %ifarch amd64
54 %define _source %{SOURCE1}
55 %endif
56 %ifarch alpha
57 %define _source %{SOURCE2}
58 %endif
59 #%%ifarch ia64
60 #%%define       _source %{SOURCE3}
61 #%%endif
62
63 sh %{_source} auto \
64         -targetdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
65         -execdir=$RPM_BUILD_ROOT%{_bindir}
66 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
67 ln -sf %{_libdir}/%{name}/Executables/{MathReader,mathreader} $RPM_BUILD_ROOT%{_bindir}
68 install %{SOURCE4} .
69 install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc %{name}-license.txt
77 %attr(755,root,root) %{_bindir}/%{name}
78 %dir %{_libdir}/%{name}
79 %attr(755,root,root) %{_libdir}/%{name}/Executables
80 %{_libdir}/%{name}/Configuration
81 %{_libdir}/%{name}/Documentation
82 %dir %{_libdir}/%{name}/SystemFiles
83 %{_libdir}/%{name}/SystemFiles/CharacterEncodings
84 %dir %{_libdir}/%{name}/SystemFiles/FrontEnd
85 %dir %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries
86 %ifarch %{ix86}
87 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux
88 %endif
89 %ifarch amd64
90 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-x86-64
91 %endif
92 %ifarch alpha
93 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-AXP
94 %endif
95 %{_libdir}/%{name}/SystemFiles/FrontEnd/StyleSheets
96 %{_libdir}/%{name}/SystemFiles/FrontEnd/SystemResources
97 %{_libdir}/%{name}/SystemFiles/FrontEnd/TextResources
98 %{_libdir}/%{name}/SystemFiles/Fonts
99 %{_libdir}/%{name}/SystemFiles/Installation
100 %{_libdir}/%{name}/SystemFiles/SpellingDictionaries
101 %{_desktopdir}/%{name}.desktop
This page took 0.039526 seconds and 2 git commands to generate.