]> git.pld-linux.org Git - packages/MathReader.git/blob - MathReader.spec
4b1aae971b6a898231a08cd6919602eb00032b75
[packages/MathReader.git] / MathReader.spec
1 # TODO:
2 # - version for PPC/alpha/IA64/AMD64
3 # - talk with wolfram about redistribute it ;)
4 Summary:        Mathematica Notebook Reader
5 Summary(pl):    Przegl±darka plików z programu Mathematica
6 Name:           MathReader
7 Version:        5.0.1
8 Release:        1
9 License:        Almost Free... look at http://www.wolfram.com/products/mathreader/licenseagreement.html
10 # from http://www.wolfram.com/products/mathreader/download.cgi
11 Source0:        %{name}_%{version}_Linux.sh
12 Group:          Applications/Math
13 URL:            http://www.wolfram.com/products/mathreader/
14 ExclusiveArch:  %{ix86}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
24
25 %prep
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 sh %{SOURCE0} auto \
31         -targetdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
32         -execdir=$RPM_BUILD_ROOT%{_bindir}
33
34 install -d $RPM_BUILD_ROOT%{_bindir}
35 ln -sf %{_libdir}/%{name}/Executables/* $RPM_BUILD_ROOT%{_bindir}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux
43 %attr(755,root,root) %{_libdir}/%{name}/Executables
44 %attr(755,root,root) %{_bindir}/%{name}
45 %{_libdir}/%{name}/SystemFiles/SpellingDictionaries
46 %{_libdir}/%{name}/SystemFiles/Installation
47 %{_libdir}/%{name}/SystemFiles/FrontEnd/TextResources
48 %{_libdir}/%{name}/SystemFiles/FrontEnd/SystemResources
49 %{_libdir}/%{name}/SystemFiles/FrontEnd/StyleSheets
50 %{_libdir}/%{name}/SystemFiles/Fonts
51 %{_libdir}/%{name}/SystemFiles/CharacterEncodings
52 %{_libdir}/%{name}/Documentation
53 %{_libdir}/%{name}/Configuration
This page took 0.063085 seconds and 2 git commands to generate.