]> git.pld-linux.org Git - packages/geogebra.git/blob - geogebra.spec
- 4.0.27.0
[packages/geogebra.git] / geogebra.spec
1 Summary:        GeoGebra is dynamic mathematics software
2 Name:           geogebra
3 Version:        4.0.27.0
4 Release:        1
5 License:        GPL
6 Group:          X11/Applications/Science
7 Source0:        http://geogebra.googlecode.com/files/GeoGebra-MacOS-Installer-%(echo %{version} | tr . -).zip
8 # Source0-md5:  d196b0440cba53d61e59049b26b70234
9 Source10:       %{name}
10 # source11 taken from archlinux
11 Source11:       %{name}.desktop
12 Source12:       http://aur.archlinux.org/packages/geogebra/geogebra/%{name}.png
13 # Source12-md5: e324ee3a2bb438cee625e3f29770a315
14 URL:            http://www.geogebra.org
15 BuildRequires:  unzip
16 Requires:       jre >= 1.4.2
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 GeoGebra is dynamic mathematics software for all levels of education
22 that joins arithmetic, geometry, algebra and calculus. It offers
23 multiple representations of objects in its graphics, algebra, and
24 spreadsheet views that are all dynamically linked.
25
26 %prep
27 %setup -q -n GeoGebra.app
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 install -d $RPM_BUILD_ROOT%{_javadir}/geogebra/unsigned
33 install -d $RPM_BUILD_ROOT%{_bindir}
34 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
35
36 install Contents/Resources/Java/*.jar $RPM_BUILD_ROOT%{_javadir}/geogebra
37 install Contents/Resources/Java/unsigned/*.jar $RPM_BUILD_ROOT%{_javadir}/geogebra
38
39 install %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}
40 install %{SOURCE11} $RPM_BUILD_ROOT%{_desktopdir}
41 install %{SOURCE12} $RPM_BUILD_ROOT%{_pixmapsdir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/%{name}
49 %dir %{_javadir}/%{name}
50 %{_javadir}/%{name}/*.jar
51 %{_desktopdir}/%{name}.desktop
52 %{_pixmapsdir}/%{name}.png
This page took 0.068022 seconds and 3 git commands to generate.