From 76e310343e480559ce40899572f29652e55113bd Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:41:38 +0100 Subject: [PATCH] automatic version update by autodist [release 4.2.60.0-1mamba;Sat Oct 05 2013] --- README.md | 6 + ....47.0-geogebrathumbnail-desktop-mime.patch | 11 ++ geogebra-4.0.41.0-geogebra_script.patch | 0 geogebra-desktopfile | 25 +++ geogebra.spec | 158 ++++++++++++++++++ geogebra.xml | 25 +++ 6 files changed, 225 insertions(+) create mode 100644 geogebra-3.2.47.0-geogebrathumbnail-desktop-mime.patch create mode 100644 geogebra-4.0.41.0-geogebra_script.patch create mode 100644 geogebra-desktopfile create mode 100644 geogebra.spec create mode 100644 geogebra.xml diff --git a/README.md b/README.md index 02a645f..4d6c2d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # geogebra +GeoGebra is a free mathematics software for learning and teaching +Features: + * Interactive graphics, algebra and spreadsheet + * From elementary school to university level + * Free learning materials + diff --git a/geogebra-3.2.47.0-geogebrathumbnail-desktop-mime.patch b/geogebra-3.2.47.0-geogebrathumbnail-desktop-mime.patch new file mode 100644 index 0000000..31d2854 --- /dev/null +++ b/geogebra-3.2.47.0-geogebrathumbnail-desktop-mime.patch @@ -0,0 +1,11 @@ +--- geogebra-portable-3.2.47.0/GeoGebraThumbnail/src/geogebrathumbnail.desktop 2009-09-27 02:05:23.000000000 +0200 ++++ geogebra-portable-3.2.47.0/GeoGebraThumbnail/src/geogebrathumbnail.desktop.fix 2011-11-01 13:54:07.000000000 +0100 +@@ -3,7 +3,7 @@ + Name=GeoGebra Files + Name[es]=Archivos de GeoGebra + X-KDE-ServiceTypes=ThumbCreator +-MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool ++MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool; + X-KDE-Library=geogebrathumbnail + CacheThumbnail=true + IgnoreMaximumSize=true diff --git a/geogebra-4.0.41.0-geogebra_script.patch b/geogebra-4.0.41.0-geogebra_script.patch new file mode 100644 index 0000000..e69de29 diff --git a/geogebra-desktopfile b/geogebra-desktopfile new file mode 100644 index 0000000..7bc141b --- /dev/null +++ b/geogebra-desktopfile @@ -0,0 +1,25 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GeoGebra +GenericName=Dynamic mathematics software +GenericName[cs]=Dynamický matematický software +GenericName[de]=Dynamische Mathematiksoftware +GenericName[es]=Programa de matemáticas dinámico +GenericName[fr]=Logiciel de Mathématiques dynamiques +GenericName[hi]=सक्रिय गणितीय सॉफ्टवेर +GenericName[it]=Software di matematica dinamica +GenericName[pt_BR]=Programa de Matemática Dinâmica +Comment=Create interactive mathematical constructions and applets. +Comment[cs]=Vytvořte interaktivní konstrukce a aplety. +Comment[de]=Erstelle interaktive Konstruktionen und Applets. +Comment[fr]=Créer des constructions mathématiques et des appliquettes. +Comment[hi]=संवादात्मक गणितीय निर्माण और एप्लेट बनाएँ +Comment[it]=Creazione di costruzioni matematiche e applet interattive. +Comment[pt_BR]=Crie construções matemáticas interativas e applets. +Exec=GG_PATH=@JARDIR@ geogebra %F +Icon=@NAME@ +Terminal=false +Type=Application +Categories=Application;Education;Math +StartupNotify=false +MimeType=application/vnd.geogebra.file;application/vnd.geogebra.tool; diff --git a/geogebra.spec b/geogebra.spec new file mode 100644 index 0000000..2508cf8 --- /dev/null +++ b/geogebra.spec @@ -0,0 +1,158 @@ +Name: geogebra +Version: 4.2.60.0 +Release: 1mamba +Summary: A free mathematics software for learning and teaching +Group: Graphical Desktop/Applications/Educational +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.geogebra.at/ +Source0: http://geogebra.googlecode.com/files/GeoGebra-Linux-i586-Portable-%{version}.tar.gz +Source1: http://dev.geogebra.org/svn/branches/ggb32/geogebra/unix/usr/share/mime/packages/geogebra.xml +Source2: http://www.geogebra.org/download/GeoGebra_hicolor_icons.tar.gz +Source3: http://www.geogebra.org/download/GeoGebra_Thumbnail_KDE.tar.gz +Source4: geogebra-desktopfile +Patch0: %{name}-4.0.41.0-geogebra_script.patch +Patch1: %{name}-3.2.47.0-geogebrathumbnail-desktop-mime.patch +License: GPL +Requires: java +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GeoGebra is a free mathematics software for learning and teaching +Features: + * Interactive graphics, algebra and spreadsheet + * From elementary school to university level + * Free learning materials + +%package thumbnail-kde +Summary: KDE Thumbnail Creator for GeoGebra files +Group: Graphical Desktop/Applications/Educational +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description thumbnail-kde +This package provides GeoGebraThumbnail, a KDE thumbnail-plugin that generates small images (thumbnails) for GeoGebra files, to be displayed, for example, on Konqueror and Dolphin file managers. + +%prep +%setup -q -n GeoGebra-Linux-i586-Portable-%{version} -a2 -a3 +%patch0 -p1 +%patch1 -p1 + +%build +cd GeoGebraThumbnail +%cmake_kde4 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%makeinstall -C GeoGebraThumbnail/build + +install -D -m 755 geogebra/geogebra %{buildroot}%{_bindir}/%{name} +sed -i "s,@GG_PATH@,%{_datadir}/%{name}," %{buildroot}%{_bindir}/%{name} + +install -d %{buildroot}%{_datadir}/%{name} +install -m 644 geogebra/*.jar geogebra/*.txt %{buildroot}%{_datadir}/%{name}/ + +# install hicolor icons +install -d %{buildroot}%{_datadir}/icons/ +cp -R hicolor %{buildroot}%{_datadir}/icons/ + +# install mime info file +install -D -m 644 %{S:1} %{buildroot}%{_datadir}/mime/packages/%{name}.xml + +# install desktop file and icon +install -D -m 644 %{S:4} %{buildroot}%{_datadir}/applications/%{name}.desktop +sed -i "s,@NAME@,%{name},;s,@JARDIR@,%{_datadir}/%{name}," \ + %{buildroot}%{_datadir}/applications/%{name}.desktop +#install -D -m 644 %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null +exit 0 + +%posttrans +update-desktop-database -q &>/dev/null +update-mime-database %{_datadir}/mime &>/dev/null +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null +exit 0 + +%postun +if [ $1 -eq 0 ]; then + update-desktop-database -q &>/dev/null + update-mime-database %{_datadir}/mime &>/dev/null + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null +fi +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_datadir}/geogebra/ +%{_datadir}/mime/packages/%{name}.xml +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/*/apps/geogebra.png +%{_datadir}/icons/hicolor/*/mimetypes/application-vnd.geogebra.file.png +%{_datadir}/icons/hicolor/*/mimetypes/application-vnd.geogebra.tool.png +%{_datadir}/icons/hicolor/scalable/apps/geogebra.svgz +%{_datadir}/icons/hicolor/scalable/mimetypes/application-vnd.geogebra.file.svgz +%{_datadir}/icons/hicolor/scalable/mimetypes/application-vnd.geogebra.tool.svgz + +%files thumbnail-kde +%defattr(-,root,root) +%{_kde4_libdir}/kde4/geogebrathumbnail.so +%{_kde4_servicesdir}/geogebrathumbnail.desktop + +%changelog +* Sat Oct 05 2013 Automatic Build System 4.2.60.0-1mamba +- automatic version update by autodist + +* Sat Sep 14 2013 Automatic Build System 4.2.57.0-1mamba +- automatic version update by autodist + +* Sun Sep 01 2013 Automatic Build System 4.2.56.0-1mamba +- automatic version update by autodist + +* Sun Aug 11 2013 Automatic Build System 4.2.55.0-1mamba +- automatic version update by autodist + +* Fri Jun 28 2013 Automatic Build System 4.2.51.0-1mamba +- automatic version update by autodist + +* Sun May 26 2013 Automatic Build System 4.2.47.0-1mamba +- automatic version update by autodist + +* Sun May 19 2013 Automatic Build System 4.2.41.0-1mamba +- automatic version update by autodist + +* Fri May 03 2013 Automatic Build System 4.2.36.0-1mamba +- automatic version update by autodist + +* Wed Apr 24 2013 Automatic Build System 4.2.31.0-1mamba +- automatic version update by autodist + +* Mon Apr 22 2013 Automatic Build System 4.2.30.0-1mamba +- automatic version update by autodist + +* Fri Oct 05 2012 Davide Madrisan 4.0.41.0-1mamba +- update to 4.0.41.0 + +* Tue Nov 01 2011 Davide Madrisan 3.2.47.0-3mamba +- geogebrathumbnail-desktop: add missing trailing semicolon to MymeType + +* Sat Oct 29 2011 Davide Madrisan 3.2.47.0-2mamba +- add a mime info file and an appropriate MimeType line in the desktop file +- add mime icons (.png and .svgz) + +* Wed Oct 26 2011 Davide Madrisan 3.2.47.0-1mamba +- update to 3.2.47.0 + +* Wed Oct 26 2011 Davide Madrisan 2.6a-2mamba +- repackaged for openmamba + +* Tue Jul 26 2005 Alessandro Ramazzina 2.6a-1qilnx +- package created by autospec diff --git a/geogebra.xml b/geogebra.xml new file mode 100644 index 0000000..bac2942 --- /dev/null +++ b/geogebra.xml @@ -0,0 +1,25 @@ + + + + GeoGebra worksheet + Pracovní list GeoGebry + GeoGebra-Arbeitsblatt + Archivo GeoGebra + Feuille de travail GeoGebra + जीओ-जेब्रा कार्य-पत्र + Foglio di lavoro GeoGebra + Planilha GeoGebra + + + + GeoGebra tool + Nástroj GeoGebry + GeoGebra-Werkzeug + Herramienta GeoGebra + Outil GeoGebra + जीओ-जेब्रा साधन + Strumento GeoGebra + Ferramenta GeoGebra + + +