Name: geogebra
Version: 3.2.46.0
Release: %mkrel 1
Summary: Dynamic mathematics software that joins geometry, algebra, tables, graphing, statistics and calculus.
License: GPLv2+ ; CC-BY-SAv3+ ; CC-BY-NC-SAv3+
Group: Sciences/Mathematics
Url: http://www.geogebra.org
Source0: http://www.geogebra.org/webstart/installer/%{name}-%{version}-src.tar.gz
Source1: %{name}.desktop
Source2: %{name}
BuildRequires: unzip
Requires: java >= 1.5.0
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
This package provides GeoGebra.
GeoGebra is free and multi-platform dynamic mathematics software for all levels of education that joins geometry, algebra, tables, graphing, statistics and calculus in one easy-to-use package. It has received several educational software awards in Europe and the USA.
Quick Facts:
- Graphics, algebra and tables are connected and fully dynamic
- Easy-to-use interface, yet many powerful features
- Authoring tool to create interactive learning materials as web pages
- Available in many languages for our millions of users around the world
- Free and open source software
%prep
%setup -q -n %{name}-%{version}
%build
%install
rm -rf %{buildroot}
%{__install} -d -m755 %{buildroot}%{_docdir}/%{name}
%{__install} -d -m755 %{buildroot}%{_datadir}/%{name}/unsigned
%{__install} -m644 *.jar %{buildroot}%{_datadir}/%{name}
%{__install} -m644 unsigned/*.jar %{buildroot}%{_datadir}/%{name}/unsigned
%{__install} -d -m755 %{buildroot}%{_datadir}/mime/packages
%{__install} -m644 geogebra.xml %{buildroot}%{_datadir}/mime/packages/%{name}.xml
%{__install} -d -m755 %{buildroot}%{_datadir}/applications
%{__install} -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/
%{__install} -d -m755 %{buildroot}%{_bindir}
%{__install} -m755 %{SOURCE2} %{buildroot}%{_bindir}/%{name}
for SIZE in 16x16 22x22 32x32 48x48 64x64 128x128 256x256 scalable
do
%{__install} -d -m755 %{buildroot}%{_datadir}/icons/hicolor/$SIZE/apps
%{__install} -m644 icons/hicolor/$SIZE/apps/* %{buildroot}%{_datadir}/icons/hicolor/$SIZE/apps/
%{__install} -d -m755 %{buildroot}%{_datadir}/icons/hicolor/$SIZE/mimetypes
%{__install} -m644 icons/hicolor/$SIZE/mimetypes/* %{buildroot}%{_datadir}/icons/hicolor/$SIZE/mimetypes/
done
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc ../license.txt
%{_datadir}/%{name}
%{_datadir}/mime/packages/%{name}.xml
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/icons/hicolor/scalable/*/*.svg*
%changelog
Commentaires récents
il y a 1 an 17 semaines