]> git.pld-linux.org Git - packages/MathReader.git/blame - MathReader.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/MathReader.git] / MathReader.spec
CommitLineData
a119dfe0 1Summary: Mathematica Notebook Reader
377b3d3c 2Summary(pl.UTF-8): Przeglądarka plików z programu Mathematica
a119dfe0 3Name: MathReader
05fe9fc5 4Version: 5.0.1
f3947e9e 5Release: 3
e0e9d2b7 6License: almost free, distributable
9f364104 7Group: Applications/Math
a119dfe0 8# from http://www.wolfram.com/products/mathreader/download.cgi
05fe9fc5 9Source0: %{name}_%{version}_Linux.sh
e0e9d2b7 10# Source0-md5: 35b7144eff51e017a03bf5c68d743548
05fe9fc5 11Source1: %{name}_%{version}_Linux-AMD64.sh
e0e9d2b7 12# Source1-md5: 54c0db30f9a78269c03c970aaa841b66
05fe9fc5 13Source2: %{name}_%{version}_Linux-AXP.sh
e0e9d2b7 14# Source2-md5: 9ab612c9543c69838dd38445dd0e8b05
05fe9fc5 15Source3: %{name}_%{version}_Linux-IA64.sh
16# Source3-md5: 6ea3a14eac68391da213a25d62c629d4
e0e9d2b7 17# based on http://www.wolfram.com/products/mathreader/licenseagreement.html
05fe9fc5 18Source4: %{name}-license.txt
19Source5: %{name}.desktop
a119dfe0 20URL: http://www.wolfram.com/products/mathreader/
9f364104
JB
21BuildRequires: rpmbuild(macros) >= 1.213
22ExclusiveArch: %{ix86} alpha %{x8664} ia64
a119dfe0 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26MathReader is a viewer for notebook documents created with
27Mathematica, the world's only fully integrated technical computing
28system. MathReader lets you display and print Mathematica notebooks,
29animate graphics, play sounds, and copy information from notebooks to
30other documents. MathReader can be used by most web browsers as a
31helper application for viewing notebook documents.
32
723373f3
JR
33%description -l pl.UTF-8
34MathReader jest przeglądarką dla dokumentów utworzonych w programie
35Mathematica, jedynym w świecie w pełni zintegrowanym systemie
36technicznych obliczeń. MathReader pozwala wyświetlać i drukować
37notatki, odtwarzać animacje, odgrywać dźwięki i kopiować informacje z
38notatek programu Mathematica do innych dokumentów. MathReader może być
39też używany przez większość przeglądarek WWW jako aplikacja pomocnicza
40do przeglądania dokumentów.
6d7de094 41
a119dfe0 42%prep
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
e0e9d2b7 47%ifarch %{ix86}
48%define _source %{SOURCE0}
49%endif
9f364104 50%ifarch %{x8664}
e0e9d2b7 51%define _source %{SOURCE1}
52%endif
53%ifarch alpha
54%define _source %{SOURCE2}
55%endif
56#%%ifarch ia64
05fe9fc5 57#%%define _source %{SOURCE3}
e0e9d2b7 58#%%endif
59
e0e9d2b7 60sh %{_source} auto \
a119dfe0 61 -targetdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
62 -execdir=$RPM_BUILD_ROOT%{_bindir}
86e39dd6 63install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
2bbac864 64ln -sf %{_libdir}/%{name}/Executables/{MathReader,mathreader} $RPM_BUILD_ROOT%{_bindir}
05fe9fc5 65install %{SOURCE4} .
66install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
a119dfe0 67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files
72%defattr(644,root,root,755)
e0e9d2b7 73%doc %{name}-license.txt
a119dfe0 74%attr(755,root,root) %{_bindir}/%{name}
31f27dbe
JB
75%dir %{_libdir}/%{name}
76%attr(755,root,root) %{_libdir}/%{name}/Executables
77%{_libdir}/%{name}/Configuration
78%{_libdir}/%{name}/Documentation
79%dir %{_libdir}/%{name}/SystemFiles
80%{_libdir}/%{name}/SystemFiles/CharacterEncodings
81%dir %{_libdir}/%{name}/SystemFiles/FrontEnd
82%dir %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries
9b806561 83%ifarch %{ix86}
31f27dbe 84%attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux
9b806561 85%endif
9f364104 86%ifarch %{x8664}
9b806561 87%attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-x86-64
88%endif
762265ba 89%ifarch alpha
90%attr(755,root,root) %{_libdir}/%{name}/SystemFiles/FrontEnd/Binaries/Linux-AXP
91%endif
a119dfe0 92%{_libdir}/%{name}/SystemFiles/FrontEnd/StyleSheets
31f27dbe
JB
93%{_libdir}/%{name}/SystemFiles/FrontEnd/SystemResources
94%{_libdir}/%{name}/SystemFiles/FrontEnd/TextResources
a119dfe0 95%{_libdir}/%{name}/SystemFiles/Fonts
31f27dbe
JB
96%{_libdir}/%{name}/SystemFiles/Installation
97%{_libdir}/%{name}/SystemFiles/SpellingDictionaries
089ebb5a 98%{_desktopdir}/%{name}.desktop
This page took 0.063867 seconds and 4 git commands to generate.