]> git.pld-linux.org Git - packages/MathReader4.git/blob - MathReader4.spec
- updated Categories
[packages/MathReader4.git] / MathReader4.spec
1 %define         realname        MathReader
2 Summary:        Mathematica Notebook Reader
3 Summary(pl):    Przegl±darka plików z programu Mathematica
4 Name:           MathReader4
5 Version:        4.2.1
6 Release:        1
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/
14 ExclusiveArch:  ppc
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 %description -l pl
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.
33
34 %prep
35 %setup -q -n %{realname}-%{version}-Linux-PPC
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 PAGER=/bin/cat
40 export PAGER
41
42 (
43 cat <<EOF
44 a
45 $RPM_BUILD_ROOT%{_libdir}
46 y
47 $RPM_BUILD_ROOT%{_bindir}
48 EOF
49 ) | \
50 sh MathReaderInstaller
51
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}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
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
71 %ifarch ppc
72 %attr(755,root,root) %{_libdir}/%{realname}/SystemFiles/FrontEnd/Binaries/Linux-PPC
73 %endif
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
This page took 0.072412 seconds and 3 git commands to generate.