Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
geogebra32
geogebra32.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geogebra32.spec of Package geogebra32
Name: geogebra32 Summary: Free mathematics software for learning and teaching Version: 3.2.47.0 Release: 1 %if 0%{?mandriva_version} Group: Sciences/Mathematics %else %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} Group: Applications/Productivity %else Group: Productivity/Scientific/Math %endif %endif Url: http://www.geogebra.org License: GPLv2+ ; CC-BY-SAv3+ ; CC-BY-NC-SAv3+ Source: geogebra-%{version}.tar.gz Source1: %{name}.desktop %if 0%{?suse_version} BuildRequires: update-desktop-files %else %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: desktop-file-utils %endif %endif BuildRequires: unzip Requires: java >= 1.5.0 Requires: geogebra-mime-data %if !0%{?fedora} && !0%{?rhel_version} && !0%{?centos_version} Recommends: java-plugin >= 1.5.0 %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides GeoGebra 3.2. 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 Authors: -------- Markus Hohenwarter (Austria & USA): Project leader since 2001 Michael Borcherds (UK): Lead Developer since 2007 Yves Kreis (Luxembourg): Developer since 2005 %prep %setup -q -n geogebra-%{version} %build # %install %{__install} -d -m755 %{buildroot}%{_datadir}/%{name} %{__install} -d -m755 %{buildroot}%{_datadir}/%{name}/unsigned %{__install} -m644 *.jar %{buildroot}%{_datadir}/%{name} %{__install} -m644 geogebra %{buildroot}%{_datadir}/%{name} %{__chmod} 755 %{buildroot}%{_datadir}/%{name}/geogebra %{__install} -m644 unsigned/*.jar %{buildroot}%{_datadir}/%{name}/unsigned %{__install} -d -m755 %{buildroot}%{_datadir}/applications %{__install} -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/ for SIZE in 16x16 22x22 32x32 48x48 64x64 128x128 256x256; do %{__install} -d -m755 %{buildroot}%{_datadir}/icons/hicolor/$SIZE/apps %{__install} -m644 icons/hicolor/$SIZE/apps/geogebra.png %{buildroot}%{_datadir}/icons/hicolor/$SIZE/apps/%{name}.png done %{__install} -d -m755 %{buildroot}%{_docdir}/%{name} %{__install} -m644 license.txt %{buildroot}%{_docdir}/%{name}/COPYING %{__install} -d -m755 %{buildroot}%{_bindir} # startscript cat > %{buildroot}%{_bindir}/%{name} << EOF #!/bin/bash #--------------------------------------------- # Script to start GeoGebra #--------------------------------------------- #--------------------------------------------- # Prefer jre-sun, if exists if [ -e /etc/alternatives/jre_sun/bin/java ]; then export JAVACMD='/etc/alternatives/jre_sun/bin/java' fi #--------------------------------------------- # Export name of this script export GG_SCRIPTNAME=\$(basename \$0) #--------------------------------------------- # Run exec %{_datadir}/%{name}/geogebra "\$@" EOF %{__chmod} 755 %{buildroot}%{_bindir}/%{name} %if 0%{?suse_version} %suse_update_desktop_file %{name} %else %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %endif %endif %clean rm -rf %{buildroot} %post %if 0%{?mandriva_version} %{update_menus} %update_desktop_database %update_icon_cache hicolor %endif %postun %if 0%{?mandriva_version} %{clean_menus} %clean_desktop_database %update_icon_cache hicolor %endif %files %defattr(-,root,root) %dir %{_datadir}/icons/hicolor %dir %{_datadir}/icons/hicolor/16x16 %dir %{_datadir}/icons/hicolor/22x22 %dir %{_datadir}/icons/hicolor/32x32 %dir %{_datadir}/icons/hicolor/48x48 %dir %{_datadir}/icons/hicolor/64x64 %dir %{_datadir}/icons/hicolor/128x128 %dir %{_datadir}/icons/hicolor/256x256 %dir %{_datadir}/icons/hicolor/16x16/apps %dir %{_datadir}/icons/hicolor/22x22/apps %dir %{_datadir}/icons/hicolor/32x32/apps %dir %{_datadir}/icons/hicolor/48x48/apps %dir %{_datadir}/icons/hicolor/64x64/apps %dir %{_datadir}/icons/hicolor/128x128/apps %dir %{_datadir}/icons/hicolor/256x256/apps %{_docdir}/%{name} %{_datadir}/%{name} %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/*.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor