1 Summary: GeoGebra is dynamic mathematics software
6 Group: X11/Applications/Science
7 Source0: http://www.geogebra.org/webstart/unpacked/%{version}/unpacked/%{name}.jar
8 # Source0-md5: e275dd6a7a46ce65dbc39e4f7dbf27b6
9 Source1: http://www.geogebra.org/webstart/unpacked/%{version}/unpacked/%{name}_cas.jar
10 # Source1-md5: 05b38af666109b1971b935c4779b340e
11 Source2: http://www.geogebra.org/webstart/unpacked/%{version}/unpacked/%{name}_export.jar
12 # Source2-md5: 2b9f74784f1234d4d1c4f7d4c4cdffc4
13 Source3: http://www.geogebra.org/webstart/unpacked/%{version}/unpacked/%{name}_gui.jar
14 # Source3-md5: 91a3039fd613b07b18d545c444778a9f
15 Source4: http://www.geogebra.org/webstart/unpacked/%{version}/unpacked/%{name}_main.jar
16 # Source4-md5: 08434d4739809da3b426554f57100d30
17 Source5: http://www.geogebra.org/webstart/unpacked/%{version}/unpacked/%{name}_properties.jar
18 # Source5-md5: 0e36d2c1f7e03ecdf3c22af80fa02ae9
20 # source11 taken from archlinux
21 Source11: %{name}.desktop
22 Source12: http://aur.archlinux.org/packages/geogebra/geogebra/%{name}.png
23 # Source12-md5: e324ee3a2bb438cee625e3f29770a315
24 URL: http://www.geogebra.org
25 Requires: jre >= 1.4.2
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 GeoGebra is dynamic mathematics software for all levels of education
31 that joins arithmetic, geometry, algebra and calculus. It offers
32 multiple representations of objects in its graphics, algebra, and
33 spreadsheet views that are all dynamically linked.
38 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT%{_javadir}/geogebra
41 install -d $RPM_BUILD_ROOT%{_bindir}
42 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
44 install %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} $RPM_BUILD_ROOT%{_javadir}/geogebra
45 install %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}
46 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
47 install %{SOURCE12} $RPM_BUILD_ROOT%{_pixmapsdir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/%{name}
55 %dir %{_javadir}/%{name}
56 %{_javadir}/%{name}/*.jar
57 %{_desktopdir}/%{name}.desktop
58 %{_pixmapsdir}/%{name}.png